Monday, 2021-02-15

*** tosky has quit IRC00:09
*** yamamoto has quit IRC00:15
*** yamamoto_ has joined #openstack-qa00:15
*** yamamoto has joined #openstack-qa01:07
*** yamamoto_ has quit IRC01:10
*** jhesketh has joined #openstack-qa02:34
*** rcernin has quit IRC02:42
*** rcernin has joined #openstack-qa02:54
johnsomlxkong: we already have a full set of tests as part of our tempest API suite.03:52
johnsomI just want to adapt our existing tests to work with the new-ish “secure RBAC” roles. However all of the tempest credentials always have the “member” role, even when not requested.03:57
johnsomNew users via the CLI don’t have this role automatically.03:59
johnsomMy first dig in the code indicated that tempest creds with defined roles should not get this “member” role automatically, only those with roles undefined.04:00
*** vishalmanchanda has joined #openstack-qa04:22
*** rcernin has quit IRC04:51
*** rcernin has joined #openstack-qa04:56
*** dpaterson has quit IRC04:58
*** vdrok has quit IRC04:58
*** johnsom has quit IRC04:58
*** flaviof has quit IRC04:58
*** TheJulia has quit IRC04:58
*** jamespage has quit IRC04:58
*** masayukig has quit IRC04:58
*** vdrok has joined #openstack-qa04:58
*** dpaterson has joined #openstack-qa04:58
*** flaviof has joined #openstack-qa04:58
*** TheJulia has joined #openstack-qa04:58
*** masayukig has joined #openstack-qa04:58
*** johnsom has joined #openstack-qa04:59
*** jamespage has joined #openstack-qa04:59
lxkong> My first dig in the code indicated that tempest creds with defined roles should not get this “member” role automatically, only those with roles undefined.05:11
lxkongThat also what I read from the code05:11
openstackgerritSoniya Murlidhar Vyas proposed openstack/tempest master: Implementation of create_subnet() varies in manila-tempest-plugin  https://review.opendev.org/c/openstack/tempest/+/76647205:12
*** psahoo has joined #openstack-qa05:27
*** whoami-rajat__ has joined #openstack-qa05:32
*** gcheresh has joined #openstack-qa06:12
*** psahoo has quit IRC06:18
*** psahoo has joined #openstack-qa06:33
*** rcernin has quit IRC07:16
*** rcernin has joined #openstack-qa07:19
*** ccamposr has joined #openstack-qa07:21
*** ralonsoh has joined #openstack-qa07:22
*** rcernin has quit IRC07:23
*** rcernin has joined #openstack-qa07:36
fricklerjohnsom: IIUC auth.tempest_roles=member is what makes this always being set, c.f. https://opendev.org/openstack/tempest/src/branch/master/tempest/lib/common/dynamic_creds.py#L23807:40
*** sboyron_ has joined #openstack-qa07:40
*** eolivare has joined #openstack-qa07:41
*** jpena|off is now known as jpena08:31
*** rcernin has quit IRC08:32
*** dmellado has quit IRC08:32
*** dmellado has joined #openstack-qa08:33
*** lucasagomes has joined #openstack-qa09:00
*** arxcruz|ruck is now known as arxcruz|rover09:03
*** rpittau|afk is now known as rpittau09:03
*** jparker has quit IRC09:18
*** jparker has joined #openstack-qa09:19
*** rakhmerov has quit IRC09:20
*** mtreinish has quit IRC09:20
*** mtreinish has joined #openstack-qa09:20
*** zenkuro has joined #openstack-qa09:21
*** tosky has joined #openstack-qa09:24
*** rcernin has joined #openstack-qa09:28
*** gfidente has joined #openstack-qa09:29
*** dtantsur|afk is now known as dtantsur09:36
lxkongjohnsom, hmm, that was merged recently https://review.opendev.org/c/openstack/tempest/+/686306.09:41
* lxkong just updated his tempest repo09:42
*** yamamoto has quit IRC09:56
*** yamamoto has joined #openstack-qa09:57
*** yamamoto has quit IRC09:57
*** chaconpiza has joined #openstack-qa09:57
*** rcernin has quit IRC10:02
*** hemanth_n has joined #openstack-qa10:12
openstackgerritLee Yarwood proposed openstack/devstack master: nova: Default NOVA_USE_SERVICE_TOKEN to True  https://review.opendev.org/c/openstack/devstack/+/77557310:32
*** yamamoto has joined #openstack-qa10:36
*** yamamoto has quit IRC10:48
*** dviroel has joined #openstack-qa11:07
*** zenkuro has quit IRC11:09
*** zenkuro has joined #openstack-qa11:09
*** yamamoto has joined #openstack-qa12:20
*** yamamoto has quit IRC12:22
*** zenkuro has quit IRC12:22
*** zenkuro has joined #openstack-qa12:23
*** jpena is now known as jpena|lunch12:32
*** Luzi has joined #openstack-qa12:55
*** yamamoto has joined #openstack-qa12:57
*** yamamoto has quit IRC13:13
soniya29gmann, kopecmartin, we have got all patched merged regarding scenario manager except - https://review.opendev.org/c/openstack/tempest/+/766472, So scenario manager effort is ready for stable release, right?13:19
*** jpena|lunch is now known as jpena13:23
*** artom has joined #openstack-qa13:23
*** hemanth_n has quit IRC13:29
openstackgerritLee Yarwood proposed openstack/tempest master: compute: Add [compute-feature-enabled]ide_bus flag  https://review.opendev.org/c/openstack/tempest/+/77563013:46
*** zenkuro has quit IRC14:14
*** zenkuro has joined #openstack-qa14:14
*** nweinber has joined #openstack-qa14:17
kopecmartinsoniya29: more or less, there is still some work needed, see at the bottom of https://etherpad.opendev.org/p/tempest-scenario-manager14:27
soniya29kopecmartin, ohh yes, I wasn't aware of it :)14:30
soniya29kopecmartin, thanks for hinting me14:30
*** Luzi has quit IRC14:34
kopecmartinsoniya29: it was added just lately14:45
soniya29kopecmartin, okay14:46
*** tosky has quit IRC14:55
*** zenkuro has quit IRC14:56
*** zenkuro has joined #openstack-qa14:56
gmannsoniya29: yeah, that is few things I found we should fix.15:00
gmannafter that I will audit again but I think those are last bits15:00
*** psahoo has quit IRC15:11
*** vishalmanchanda has quit IRC15:22
dansmithgmann: kopecmartin: I've had this sitting for a while, hoping for validation of the service catalog approach: https://review.opendev.org/c/openstack/tempest/+/77052015:27
dansmithI realize just now it might be getting ignored because of the WIP, but I had that there until you guys could tell me what I was doing was okay. maybe should have been RFC :)15:28
dansmithgmann: also the linked devstack patch I would need as well, so appreciate a review of that also.15:29
*** iurygregory_ has joined #openstack-qa15:29
*** iurygregory has quit IRC15:30
*** iurygregory_ is now known as iurygregory15:30
gmanndansmith: sure, will check after my internal meeting. i remember to keep that open in tab but somehow it got closed :)15:47
dansmithgmann: heh, thanks15:47
*** tosky has joined #openstack-qa16:01
*** ysirndjuro has joined #openstack-qa16:09
*** ralonsoh has quit IRC16:44
*** ralonsoh has joined #openstack-qa16:44
openstackgerritDan Smith proposed openstack/tempest master: Add image task validation  https://review.opendev.org/c/openstack/tempest/+/77567916:47
johnsomOk, so confirmed that patch broke our ability to negative test RBAC:16:55
johnsomhttps://bugs.launchpad.net/tempest/+bug/191574016:55
openstackLaunchpad bug 1915740 in tempest "All dynamic credentials are forced into "member" role now causing negative test failures" [Undecided,New]16:55
johnsomThanks lxkong for pointing out that patch.16:55
gmannjohnsom: let me check which creds those test are using16:58
johnsomgmann We use this: https://github.com/openstack/octavia-tempest-plugin/blob/master/octavia_tempest_plugin/tests/test_base.py#L5216:59
johnsomThat patch means "lb_member2" will get our roles, plus the "member" role magically added.17:00
*** lucasagomes has quit IRC17:05
gmannjohnsom: 'member' role was added previously where devstack used to set the  CONF.auth.tempest_roles to 'member'17:07
johnsomgmann Wasn't that only if a specific set of roles were not provided?17:07
gmanndevstack still set that which i am removing https://review.opendev.org/c/openstack/devstack/+/77452417:07
gmannjohnsom:  yes but with devstack setting it get added as it set CONF.auth.tempest_roles to 'member'17:09
johnsomgmann Yeah, it seems like we are hitting the same problem.17:09
gmannjohnsom: can you point me the failure?17:10
johnsomPersonally I would lean towards going a step farther and not pulling in CONF.auth.tempest_roles at all if the test suite defines the roles list. But I think with your change it will at least let the tests work17:10
*** yamamoto has joined #openstack-qa17:10
gmannjohnsom: because i see no change in behavior by https://review.opendev.org/c/openstack/tempest/+/68630617:10
gmannjohnsom: yeah for new RBAC role like reader tests also we need to remove setting of  CONF.auth.tempest_roles17:11
gmannbut why test failing now is not clear to me yet.17:11
johnsomgmann This is new test code I'm working on.17:13
johnsomYeah, I see where the old code was also pulling in that config setting.17:13
gmannjohnsom: ok and what that exactly do? with these role? - https://github.com/openstack/octavia-tempest-plugin/blob/master/octavia_tempest_plugin/tests/test_base.py#L5217:13
gmannjohnsom: yeah, it was same way previously also17:14
gmannjohnsom: can you test it with (depends-on can be great) https://review.opendev.org/c/openstack/devstack/+/774524 ?17:14
gmannwe can see if any other hiding place assigning 'member'17:15
*** jpena is now known as jpena|brb17:15
*** yamamoto has quit IRC17:15
johnsomSure, NP. I added a chunk of code to our setup_credentials to dump the roles to the log after I had the negative tests blow up.17:16
johnsomhttps://www.irccloud.com/pastebin/mHBzl1qq/17:16
gmannjohnsom: nice, +1. probably we should log that from tempest itself17:17
johnsomI expected this rule to not have access in the test "rule:load-balancer:write and role:member", but it did and our "should not have access" test failed.17:19
gmannjohnsom: agree. if your test pass with 774524 then i can update the cmt message with ^^ scenario too17:20
johnsomgmann Yep, that lets the tests run as expected: Details: {'faultcode': 'Client', 'faultstring': 'Policy does not allow this request to be performed.', 'debuginfo': None}17:26
johnsomDo you want to link to my bug or should I close it?17:26
openstackgerritDan Smith proposed openstack/tempest master: Test glance distributed import  https://review.opendev.org/c/openstack/tempest/+/77052017:26
gmannjohnsom: great, I will use that bug i commented there.  let me update my commit msg17:27
johnsom+1 the patch too17:28
openstackgerritGhanshyam proposed openstack/devstack master: Stop configure 'member' role in tempest_roles  https://review.opendev.org/c/openstack/devstack/+/77452417:34
gmannjohnsom: ^^ added bug link17:35
johnsomYep, +117:35
*** jpena|brb is now known as jpena17:35
*** gfidente is now known as gfidente|afk17:44
*** rpittau is now known as rpittau|afk17:47
*** eolivare has quit IRC17:47
gmannfrickler: can you check this, unblock the neutron gate https://review.opendev.org/c/openstack/devstack/+/77410317:49
*** jpena is now known as jpena|off17:51
*** rcernin has joined #openstack-qa17:59
*** dpaterson has quit IRC18:01
*** johnsom has quit IRC18:01
*** rpittau|afk has quit IRC18:01
*** dpaterson has joined #openstack-qa18:02
*** johnsom has joined #openstack-qa18:02
*** rpittau|afk has joined #openstack-qa18:04
*** rcernin has quit IRC18:04
*** gcheresh has quit IRC18:21
*** dtantsur is now known as dtantsur|afk18:32
*** openstackgerrit has quit IRC18:38
*** rcernin has joined #openstack-qa18:59
*** sboyron_ has quit IRC19:10
*** rcernin has quit IRC19:12
*** rcernin has joined #openstack-qa19:48
*** rcernin has quit IRC20:05
*** rcernin has joined #openstack-qa20:21
*** whoami-rajat__ has quit IRC20:22
*** rh-jelabarre has quit IRC20:55
*** rcernin has quit IRC20:57
*** rh-jelabarre has joined #openstack-qa21:01
*** rh-jelabarre has quit IRC21:01
*** rh-jelabarre has joined #openstack-qa21:02
*** hamalq has joined #openstack-qa21:22
*** rcernin has joined #openstack-qa21:23
*** rcernin has quit IRC21:38
*** rcernin has joined #openstack-qa21:38
*** yamamoto has joined #openstack-qa22:15
*** slaweq has quit IRC22:18
*** yamamoto has quit IRC22:39
*** yamamoto has joined #openstack-qa22:40
*** clarkb has quit IRC22:42
*** nweinber has quit IRC23:03
*** gfidente|afk has quit IRC23:21
*** openstackgerrit has joined #openstack-qa23:30
openstackgerritJames Parker proposed openstack/whitebox-tempest-plugin master: Added emulator thread pinning tests  https://review.opendev.org/c/openstack/whitebox-tempest-plugin/+/68764323:30

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!