Thursday, 2018-06-14

openstackgerritMerged openstack/refstack master: Migrating from bower to yarn  https://review.openstack.org/57340401:34
*** lifeless_ has quit IRC04:22
*** lifeless has joined #refstack05:17
*** mtreinish has quit IRC06:19
*** kopecmartin has joined #refstack06:20
chandankumarkopecmartin: packstack gates are broken due to gnoochi error06:22
openstackgerritChandan Kumar proposed openstack/refstack-client master: Generate tempest.conf automatically using refstack-client  https://review.openstack.org/54127306:56
*** mtreinish has joined #refstack06:58
*** rmart04 has joined #refstack07:26
*** lifeless has quit IRC07:28
*** kopecmartin has quit IRC07:30
*** lifeless has joined #refstack07:35
*** tosky has joined #refstack07:37
*** kopecmartin has joined #refstack07:41
toskyok, so all packstack jobs are failing thanks to a gnocchi/puppet change07:52
toskyand it's not difficult to find the reason: https://review.openstack.org/#/c/569542/07:59
chandankumartosky: kopecmartin https://review.openstack.org/#/c/575340/ fix is up npw for packstack08:00
kopecmartinchandankumar, great08:02
toskyyep, just noticed08:03
toskyand voted08:03
toskyso we can wait, it's pointless to approve or submit new patches now08:30
*** chkumar246 has joined #refstack09:30
*** chandankumar has quit IRC09:33
*** chkumar246 has quit IRC09:35
*** chandankumar has joined #refstack09:39
kopecmartintosky, chandankumar btw, regarding this review https://review.openstack.org/#/c/570781/09:55
kopecmartinas i was playing with the DNM patch to test it09:55
kopecmartinwouldn't it be useful to set the path to the newly generated accounts.yaml to conf?09:56
kopecmartinI'm trying to image the real usecase09:56
toskykopecmartin: I thought you could pass a full path as file name09:58
kopecmartintosky, you can, .. and the file will be generated there, but what then? if you want to use it, you need to set it also to tempest.conf , right?10:00
chandankumarkopecmartin: it will just create the accounts.yaml file if user want to use it they can run second step to generate tempest.conf10:01
toskykopecmartin: uh, I didn't check that part: do you mean that it may not possible to specify the path to that file in tempest.conf?10:02
kopecmartinchandankumar, if i need to run it twice,  i can use tempest account-generator instead10:03
kopecmartintosky, it is possible, but in current design, you can't set --test-accounts and --create-accounts-file , that's logical10:03
kopecmartinbut what i'm thinking is, If i want from python-tempestconf (which is run from refstack-client) to generate accounts.yaml, it's because i want to use it10:04
toskyyes, most likely yes10:04
kopecmartinso why not just to set the path to that newly generated accounts.yaml file right after it's generated?10:05
kopecmartindoes it make sense?10:05
toskytotally10:05
chandankumarkopecmartin: yup10:05
kopecmartingreat, I'll edit the patch10:05
toskyI would have said that it was part of the workflow already, but I didn't though about it10:06
kopecmartinme neither,  .. and then i was playing with it for a while as a user would do ..10:06
kopecmartinsometimes I'm glad I'm a little lazy :D10:07
toskyso we need a test for this!10:07
* tosky runs10:07
*** rmart04 has quit IRC11:12
*** rmart04 has joined #refstack11:12
openstackgerritChandan Kumar proposed openstack/refstack-client master: Generate tempest.conf automatically using refstack-client  https://review.openstack.org/54127311:24
*** lifeless has quit IRC12:48
*** lifeless has joined #refstack12:49
openstackgerritChandan Kumar proposed openstack/refstack-client master: Generate tempest.conf automatically using refstack-client  https://review.openstack.org/54127312:50
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: Generate accounts.yaml  https://review.openstack.org/57078112:54
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: [DNM] Test --create-accounts-file argument  https://review.openstack.org/57269512:57
openstackgerritNir Magnezi proposed openstack/python-tempestconf master: DNM: Test Octavia  https://review.openstack.org/57506313:28
openstackgerritNir Magnezi proposed openstack/python-tempestconf master: Configure tempest for Octavia tests  https://review.openstack.org/57117713:31
openstackgerritNir Magnezi proposed openstack/python-tempestconf master: DNM: Test Octavia  https://review.openstack.org/57506313:31
chandankumararxcruz: please have a look at healthcheck api https://review.openstack.org/#/c/568869/13:36
openstackgerritChandan Kumar proposed openstack/refstack-client master: Generate tempest.conf automatically using refstack-client  https://review.openstack.org/54127313:47
arxcruzchandankumar: in a few, checking the object-storage problem14:01
arxcruzchandankumar: tosky kopecmartin I have a doubt14:01
arxcruzswift default operator_role is set to Member14:01
arxcruzHOWEVER14:01
arxcruzin the swift proxy config file, the operator role alowed is ResellerAdmin, admin and swiftoperator14:01
toskythis part gives me headaches every time14:02
arxcruzso, set operator_role in object-storage section to Member is making the test fail with access denied14:02
arxcruzyup, i can relate to that :)14:02
arxcruzsince you guys know more about packstack and other openstack installation14:02
arxcruzwhat's the best thing to do here ?14:02
chandankumartosky: arxcruz then we need to add condition and check which one is present14:04
chandankumarMember or admin, if both present, it again will be a problem14:04
chandankumararxcruz: tosky in which job it is failing?14:09
arxcruzchandankumar: https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset020-master/66bb1bf/tempest.html.gz14:10
arxcruzme and tiago are debugging the problem, but first thing we already notice was that14:10
arxcruzMember wasn't in the list for swift14:10
arxcruzchandankumar: tosky so, on packstack tests, the object-storage tests are being skipped because swift isn't configured14:21
arxcruzso we don't see this problem14:21
*** rmart04 has quit IRC15:04
openstackgerritLuigi Toscano proposed openstack/python-tempestconf master: DNM: Test Octavia  https://review.openstack.org/57506316:05
*** kopecmartin has quit IRC16:06
*** lifeless has quit IRC16:07
*** lifeless has joined #refstack16:08
arxcruzchandankumar: is there a swift-tempest-plugins repo ?16:34
arxcruzor something like that ?16:34
openstackgerritChandan Kumar proposed openstack/python-tempestconf master: Use healthcheck api to determine swift service  https://review.openstack.org/56886916:36
chandankumararxcruz: nope16:37
chandankumararxcruz: nova glance swift have no plugins16:38
arxcruzchandankumar: so, why we are checking for reseller_admin here https://github.com/openstack/python-tempestconf/blob/master/config_tempest/services/object_storage.py#L4216:39
arxcruzthe config is reseller_admin_role16:39
chandankumararxcruz: those are coming from tempest config default16:39
arxcruzchandankumar: there's no tempest config default for reseller_admin16:40
arxcruzit's reseller_admin_role16:40
chandankumararxcruz: https://github.com/openstack/tempest/blob/master/tempest/config.py#L89216:40
arxcruzchandankumar:  what operator has to do with reseller ?16:41
arxcruzhttps://github.com/openstack/tempest/blob/master/tempest/config.py#L89616:41
chandankumararxcruz: since these things are dependent on deployment tool they need to create it and dump in tempest deployer input file16:41
chandankumarwhich is a another mess on tripleo side16:41
arxcruzchandankumar: let's go back16:41
arxcruzthe config key object-storage.reseller_admin doesn't exist16:41
arxcruzthe key is object-storage.reseller_admin_role16:42
chandankumararxcruz: ah yes, it is a typo16:42
chandankumarlet me send a patch16:43
arxcruzchandankumar: tosky is that okay if i change the operator_role in python-tempestconf to admin? tripleo uses admin, SwiftOperator and ResellerAdmin while packstack uses admin and Member16:43
arxcruzchandankumar: no, hold on16:43
chandankumararxcruz: let's not hardcode stuff in tempestconf16:43
arxcruzthis will not fix the problem16:43
chandankumarwe should put it in tripleoclient side16:44
* chandankumar waits for tosky16:44
arxcruzchandankumar: Member role according tdasilva is a security risk, and will not be on tripleo16:45
arxcruzand also, they want to get rid of the defaults-override16:45
chandankumararxcruz: https://github.com/openstack-dev/devstack/blob/0d1bee17680d55c654e9b804d1b55e1437b65d06/lib/swift#L45916:46
toskyarxcruz: they == ?16:46
arxcruzchandankumar: do you see anyone installing openstack in production via devstack? ;) this is just a test16:46
arxcruztosky: according mwhahaha16:47
chandankumararxcruz: I am talking about this onbe https://github.com/openstack/python-tripleoclient/blob/master/tripleoclient/utils.py#L12616:47
toskyarxcruz: it's not like defaults-override is something that they control16:47
toskyarxcruz: that's not their business16:47
toskyit's not a tripleo stuff16:47
arxcruzdefault-override comes from tripleo-client16:47
arxcruzops16:47
chandankumararxcruz: nope16:47
arxcruzsorry16:47
arxcruzmy bad16:47
chandankumararxcruz: it is coming from tempestconf16:47
arxcruztempest-deployer-input16:47
arxcruzguys, can we do a quickly bj ?16:47
toskysh*t16:47
chandankumarutils.py is generating tempest deployer input file16:47
arxcruzit's really hard to keep typing16:47
* chandankumar not with computer from cell phone16:48
arxcruzhttps://bluejeans.com/u/acruz77/16:48
arxcruzso16:48
toskyarxcruz: I had this discussion already, and the only answer is "delete this"16:48
toskyof course I didn't have the time to work on that16:48
arxcruzhere's the thing16:48
toskythe solution is not to remove that file16:48
arxcruzwe have a problem16:48
arxcruzthe problem is16:48
toskybut no one aparts from me want to solve it in the proper way16:49
toskyanother thing that makes me really angry16:49
arxcruztripleo uses on swift admin, ResellerAdmin and swiftoperator as roles allowed to create containers16:49
arxcruzpackstack, and devstack uses Member and admin16:49
chandankumarlonger term plan was write misteral workflow to generate tempest.conf for tripleo16:49
arxcruztripleo says use Member in the installer is security risk16:49
chandankumarpackstack has swiftoperator role16:49
chandankumarcamelcassing16:50
arxcruzchandankumar: okay, so16:50
arxcruzso, the only role in common to all of three, devstack, packstac, and tripleo is the admin one16:50
chandankumarif member is security risk it needs to be fixed in tempest and devstack16:50
arxcruzcan I write a patch to set this as the default operator role in python-tempestconf16:50
toskyif it works for all 3, yes16:51
chandankumarsure16:51
arxcruz18:40:57        tdasilva | arxcruz: please don't change swift config to add Member, that could be construed as a security issue. my guess is that most users are "Members" and should not really have a "operator" type role16:51
arxcruztosky: do you agree with that ?16:51
toskysee above16:52
arxcruzoh, sorry16:52
arxcruz:)16:52
arxcruzso everybody agree right?16:52
toskyit's not that I should agree16:52
toskythe gates should agree16:52
toskynot me16:52
toskyand so far there was no solution16:52
arxcruzin that case the list_create_roles is useless16:53
arxcruztosky: i just don't want to do something before consulting my pals :)16:53
chandankumararxcruz: other solution is just add a small piece of code in tripleocient and job is done16:53
toskyit's not a small code16:54
arxcruzchandankumar: yeah, but again, they want to get rid of that deployer-input16:54
toskyarxcruz: and they won't solve anything16:54
toskybecause there are values that we can't discover16:55
toskyso they will still need to provide them16:55
arxcruztosky: ¯\_(ツ)_/¯16:55
chandankumararxcruz: we need a proper replacement of thst before getting rid16:55
toskyagain, interesting like they want to just kill kill and not fix16:55
arxcruzchandankumar: agree, but it's not my call, I'll not be the guy who will get rid of that file16:55
chandankumarthose are deployment specific values16:55
toskyfix in the proper way, which would solve the problem once and forever16:55
chandankumararxcruz: i will check with emilien in next meeting16:55
arxcruzchandankumar: ok16:56
toskychandankumar: and he will tell that I promised to work on that and I didn't do anything16:56
* chandankumar createa a card16:56
toskyso no hopes16:56
arxcruzchandankumar: i hear some talk about it from mwhahaha16:56
arxcruzthey asked if we use that, if not we should delete it16:56
arxcruzhe, mwhahaha asked*16:56
toskyarxcruz: and we use it16:56
toskyso...16:56
arxcruztosky: okay, i'll create in tripleo client16:57
toskyarxcruz: what? The role?16:57
toskyarxcruz: if admin already exists and works for all 3 installers, just use it16:57
toskythe deployer-input is *another* problem16:58
chandankumartosky: arxcruz on tripleo channel i am talking abiut that17:02
openstackgerritArx Cruz proposed openstack/python-tempestconf master: Updating object-storage.operator_role  https://review.openstack.org/57550117:14
*** lifeless has quit IRC19:37
*** lifeless has joined #refstack19:53
*** lifeless has quit IRC21:49
*** lifeless has joined #refstack21:51
*** tosky has quit IRC22:49
*** lifeless_ has joined #refstack23:42
*** lifeless has quit IRC23:43
*** markvoelker has quit IRC23:46

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!