Friday, 2021-04-30

openstackgerritGhanshyam proposed openstack/tempest master: Add 2 sec wait to check the import task status  https://review.opendev.org/c/openstack/tempest/+/78885600:49
gmanndansmith: I saw this race happening multiple times today in image import tests - https://review.opendev.org/c/openstack/tempest/+/78885600:50
*** rh-jelabarre has quit IRC01:05
*** hamalq has quit IRC01:30
openstackgerritMerged openstack/devstack master: Fix async race updating nova configs  https://review.opendev.org/c/openstack/devstack/+/78882002:24
*** jparoly has quit IRC02:26
openstackgerritHitesh Kumar proposed openstack/devstack-tools master: Migrate from testr to stestr  https://review.opendev.org/c/openstack/devstack-tools/+/78873502:46
*** rcernin has quit IRC03:03
*** rcernin has joined #openstack-qa03:34
*** rcernin has quit IRC03:38
*** redrobot6 has joined #openstack-qa03:52
*** redrobot has quit IRC03:55
*** redrobot6 is now known as redrobot03:55
*** rcernin has joined #openstack-qa04:08
*** ajitha has joined #openstack-qa04:50
*** Yarboa has quit IRC05:03
*** Yarboa has joined #openstack-qa05:06
*** ysandeep|away is now known as ysandeep05:30
*** ralonsoh has joined #openstack-qa05:37
*** gcheresh_ has joined #openstack-qa05:53
*** slaweq has joined #openstack-qa06:00
*** gcheresh_ has quit IRC06:03
*** Yarboa has quit IRC06:04
*** Yarboa has joined #openstack-qa06:06
*** gcheresh_ has joined #openstack-qa06:12
openstackgerritDr. Jens Harbott proposed openstack/devstack master: Keystone httpd stop listening on ports  https://review.opendev.org/c/openstack/devstack/+/31223006:20
*** Yarboa has quit IRC07:04
*** Yarboa has joined #openstack-qa07:04
*** sboyron has joined #openstack-qa07:04
*** eolivare has joined #openstack-qa07:09
*** ricolin has quit IRC07:18
*** rpittau|afk is now known as rpittau07:24
*** jpena has joined #openstack-qa07:35
*** rcernin has quit IRC07:56
*** gcheresh_ has quit IRC08:03
*** Yarboa has quit IRC08:04
*** Yarboa has joined #openstack-qa08:06
*** lucasagomes has joined #openstack-qa08:12
*** tosky has joined #openstack-qa08:21
*** elod is now known as elod_afk08:47
*** gfidente|off is now known as gfidente08:53
*** sboyron has quit IRC09:37
*** dtantsur|afk is now known as dtantsur10:01
*** sboyron has joined #openstack-qa10:14
*** brinzhang has quit IRC10:21
*** bulvia has joined #openstack-qa10:25
*** gcheresh_ has joined #openstack-qa10:27
*** dasp has quit IRC10:31
frickleryoctozepto: could you have a look at https://review.opendev.org/c/openstack/devstack/+/312230 again, pls? I intend to rebase the keystone-admin-endpoint stack on top of it so it won't conflict10:35
*** dtantsur is now known as dtantsur|brb11:05
*** dviroel is now known as dviroel|away11:20
*** bulvia has quit IRC11:22
*** bulvia has joined #openstack-qa11:28
*** jpena is now known as jpena|lunch11:30
*** dasp has joined #openstack-qa11:57
*** rh-jelabarre has joined #openstack-qa12:04
*** dtantsur|brb is now known as dtantsur12:28
*** nweinber has joined #openstack-qa12:33
*** jpena|lunch is now known as jpena12:34
*** eliadcohen has quit IRC12:42
*** eliadcohen has joined #openstack-qa12:45
*** dviroel|away is now known as dviroel12:54
*** paras333 has joined #openstack-qa13:10
*** ysandeep is now known as ysandeep|away13:11
*** gcheresh_ has quit IRC13:39
openstackgerritArchit Modi proposed openstack/whitebox-tempest-plugin master: WIP: rbd direct download  https://review.opendev.org/c/openstack/whitebox-tempest-plugin/+/78697913:58
*** bulvia has quit IRC14:02
*** whoami-rajat has joined #openstack-qa14:04
*** bulvia has joined #openstack-qa14:04
*** jparoly has joined #openstack-qa14:05
*** rpittau is now known as rpittau|afk14:10
dansmithgmann: okay, I'd sure rather see it wait for the proper status than just sleep and hope it happens14:11
dansmithgmann: I saw some of that too before I left, but it looked like it was only on the cinder jobs .. did you see it on other ones?14:12
yoctozeptofrickler: ack, looking now14:15
yoctozeptoah, independent14:15
yoctozeptomakes sense14:15
gmanndansmith: i saw only in nova-ceph-multistore.14:24
gmanndansmith:  i am fine for proper wait. i thought tasks status change is very next operation by glance after image active, so just sleep is fine.14:25
gmannlet me update14:25
dansmithgmann: I can update it for you if you want14:26
gmannon it.14:26
dansmithokay :)14:27
yoctozeptofrickler: done14:27
*** rcernin has joined #openstack-qa14:48
*** rcernin has quit IRC14:52
openstackgerritClark Boylan proposed openstack/devstack stable/wallaby: Fix async race updating nova configs  https://review.opendev.org/c/openstack/devstack/+/78896715:04
clarkbgmann: ^ that is a backport of the fix I made yesterday since the async stuff made it into wallaby (but doesn't seem to go further back)15:05
clarkband it looks like a bunch of dib changes were finally able to land so seems to be working too15:06
gmannclarkb: thanks, +2. in wallaby, parallel mode is false by default but it is needed.15:06
gmann+115:06
*** bulvia has quit IRC15:08
openstackgerritGhanshyam proposed openstack/tempest master: Add wait to check the import task status  https://review.opendev.org/c/openstack/tempest/+/78885615:21
openstackgerritGhanshyam proposed openstack/tempest master: Add wait to check the import task status  https://review.opendev.org/c/openstack/tempest/+/78885615:23
openstackgerritGhanshyam proposed openstack/tempest master: Fix hacking check for service client  https://review.opendev.org/c/openstack/tempest/+/78897815:35
openstackgerritGhanshyam proposed openstack/tempest master: Add wait to check the import task status  https://review.opendev.org/c/openstack/tempest/+/78885615:40
*** paras333 has quit IRC15:47
*** lucasagomes has quit IRC16:00
openstackgerritGhanshyam proposed openstack/devstack master: DNM: testing  https://review.opendev.org/c/openstack/devstack/+/78898116:13
*** dtantsur is now known as dtantsur|afk16:27
*** jpena is now known as jpena|off16:38
gmanndansmith: for this - https://review.opendev.org/c/openstack/tempest/+/788856/4/tempest/api/image/v2/test_images.py17:05
gmanndansmith: there might be multiple tasks per image right? I am thinking to poll all. in our test case it can be just one. is that fine?17:06
*** gcheresh_ has joined #openstack-qa17:08
dansmithgmann: there could be, yeah, and image/$id/tasks returns a list of all tasks for that image, but there should only be one task for this image17:14
dansmithbut yes, you can make the waiter wait for all tasks in the returned list to go to success, if that's what you mean17:15
gmannk17:15
gmannyeah17:15
dansmithgmann: so that whole tasks API is supposed to be gated on this: https://github.com/openstack/glance/blob/master/glance/policies/tasks.py#L8417:16
dansmithgmann: which is admin-only17:16
dansmithI'm worried we might have regressed that in wallaby with the rbac stuff, I'm working on figuring out17:16
dansmithgmann: we have to keep those granular ones at rule:default because those policy elements get used internally and thus it's impossible to set them to anything other than default, otherwise complex operations like import won't work17:16
dansmithgmann: so the tasks api itself is supposed to be checking tasks_api_access17:17
gmanndansmith: humm, i did not that separate policy but why we need this as there are granular policy present for each task operation ?17:17
dansmithgmann: because policy in glance is enforced at the db layer in most cases.. since import needs to create/update tasks on behalf of the user, they have to be non-admin otherwise the internal usage of the task DB objects will fail17:18
dansmithgmann: so they had to add a _different_ global admin-only setting on the api itself17:19
dansmithgmann: https://github.com/openstack/glance/blob/922e544ca2556994450e6972403ba4313318c5e0/glance/api/v2/tasks.py#L127-L12717:19
dansmithit's a giant mess and we discussed in PTG a whole policy re-write for xena to resolve this (and many other things)17:19
*** hamalq has joined #openstack-qa17:19
gmannyeah, also moving policy checks out of DB layer will make it clean, like we need to do for is_admin things in nova too17:20
dansmithwhat I'm not sure about is why you're not seeing that return 401 by default17:20
dansmithright17:20
*** hamalq has quit IRC17:20
gmanndansmith: I get :) - https://12d9c9014a31cd38106f-d99046410a2db92aeb18e96327c94fc0.ssl.cf1.rackcdn.com/788856/4/check/glance-multistore-cinder-import/885bb69/testr_results.html17:20
dansmithahhh, okay good :D17:21
*** hamalq has joined #openstack-qa17:21
*** gfidente is now known as gfidente|afk17:22
*** stephenfin is now known as stephenfin|PTOin17:27
*** stephenfin|PTOin is now known as stephenfin|PTO17:28
openstackgerritGhanshyam proposed openstack/tempest master: Add wait to check the import task status  https://review.opendev.org/c/openstack/tempest/+/78885618:02
*** eolivare has quit IRC18:04
*** lbragstad_ has quit IRC18:04
*** priteau has quit IRC18:04
*** stand has quit IRC18:04
*** elod_afk has quit IRC18:04
*** akahat|ruck has quit IRC18:04
*** icey has quit IRC18:04
*** eolivare has joined #openstack-qa18:07
*** lbragstad_ has joined #openstack-qa18:07
*** priteau has joined #openstack-qa18:07
*** stand has joined #openstack-qa18:07
*** elod_afk has joined #openstack-qa18:07
*** akahat|ruck has joined #openstack-qa18:07
*** icey has joined #openstack-qa18:07
*** gouthamr has quit IRC18:08
*** gouthamr has joined #openstack-qa18:10
*** sboyron has quit IRC18:39
*** eolivare has quit IRC18:40
*** dave-mccowan has quit IRC18:45
*** gcheresh_ has quit IRC18:48
*** rcernin has joined #openstack-qa18:48
*** rcernin has quit IRC18:53
*** slaweq has quit IRC19:18
*** jparoly has quit IRC19:34
*** dviroel is now known as dviroel|afk19:55
*** ralonsoh has quit IRC20:37
*** gcheresh_ has joined #openstack-qa20:42
*** rcernin has joined #openstack-qa20:48
*** nweinber has quit IRC20:52
*** jparker has quit IRC20:53
*** rcernin has quit IRC20:53
*** ajitha has quit IRC20:59
*** gcheresh_ has quit IRC21:00
openstackgerritArchit Modi proposed openstack/whitebox-tempest-plugin master: WIP: rbd direct download  https://review.opendev.org/c/openstack/whitebox-tempest-plugin/+/78697921:07
*** ramishra has quit IRC21:07
*** paras333 has joined #openstack-qa21:29
*** paras333 has quit IRC21:34
*** erbarr has quit IRC21:37
*** erbarr has joined #openstack-qa21:40
*** paras333 has joined #openstack-qa22:27
*** paras333 has quit IRC22:57
*** tosky has quit IRC23:31
*** Yarboa has quit IRC23:44
*** Yarboa has joined #openstack-qa23:44

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