Friday, 2021-09-03

opendevreviewMerged openstack/glance master: 'community' images need to be treated as public  https://review.opendev.org/c/openstack/glance/+/80022100:42
opendevreviewHanGuangyu proposed openstack/glance master: Make "killed" images list available using the CLI  https://review.opendev.org/c/openstack/glance/+/80613401:48
opendevreviewMerged openstack/glance master: Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870002:08
opendevreviewMerged openstack/glance master: Implement project personas for metadef objects  https://review.opendev.org/c/openstack/glance/+/80205402:08
opendevreviewMridula Joshi proposed openstack/glance master: Add doc support for delete-from-store API  https://review.opendev.org/c/openstack/glance/+/80618005:32
opendevreviewAbhishek Kekane proposed openstack/glance master: Implement project personas for metadef tags  https://review.opendev.org/c/openstack/glance/+/80205605:45
opendevreviewMridula Joshi proposed openstack/glance master: Add doc support for delete-from-store API  https://review.opendev.org/c/openstack/glance/+/80618006:06
opendevreviewMerged openstack/glance master: Implement project personas for metadef resource-types  https://review.opendev.org/c/openstack/glance/+/79967106:07
opendevreviewMerged openstack/glance master: Implement project personas for metadef properties  https://review.opendev.org/c/openstack/glance/+/80205506:32
opendevreviewAbhishek Kekane proposed openstack/glance master: Remove duplicate namespace utilities in functional tests  https://review.opendev.org/c/openstack/glance/+/80677506:34
opendevreviewAbhishek Kekane proposed openstack/glance master: Move global constants to test module setUp  https://review.opendev.org/c/openstack/glance/+/80677906:34
opendevreviewAbhishek Kekane proposed openstack/glance master: Remove duplicate _url() methods from functional test classes  https://review.opendev.org/c/openstack/glance/+/80679706:34
opendevreviewAbhishek Kekane proposed openstack/glance master: Remove duplicate _header() implementations in metadef tests  https://review.opendev.org/c/openstack/glance/+/80680106:34
opendevreviewAbhishek Kekane proposed openstack/glance master: Refresh Glance example configs for Xena milestone 3  https://review.opendev.org/c/openstack/glance/+/80724207:26
*** bhagyashris__ is now known as bhagyashris07:27
opendevreviewMerged openstack/glance-tempest-plugin master: setup.cfg: Replace dashes with underscores  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/78975907:33
opendevreviewAbhishek Kekane proposed openstack/glance master: Refresh Glance example configs for Xena milestone 3  https://review.opendev.org/c/openstack/glance/+/80724213:44
dansmithabhishekk: ninja for conf generation patch right?>13:55
lbragstaddansmith thanks for respinning all the metadef patches14:02
dansmithnp14:02
opendevreviewPranali Deore proposed openstack/glance-tempest-plugin master: Add protection testing for metadef namespaces  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80090214:11
opendevreviewPranali Deore proposed openstack/glance-tempest-plugin master: Implement API protection testing for metadef objects  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80279314:11
opendevreviewPranali Deore proposed openstack/glance-tempest-plugin master: Implement API protection testing for metadef resource types  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80279214:11
opendevreviewPranali Deore proposed openstack/glance-tempest-plugin master: Implement API protection testing for metadef properties  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80279414:11
opendevreviewPranali Deore proposed openstack/glance-tempest-plugin master: Implement API protection testing for metadef tags  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80279514:11
abhishekkdansmith, yes15:43
dansmithdone15:44
abhishekkgreat, now only releasenote patch is remaining15:44
abhishekkand refactoring done  by lance as well15:45
dansmithwhere is the release note patch?15:50
abhishekknot pushed yet15:54
abhishekkwill do it tonight15:54
dansmithah okay15:57
lbragstadwe're still going to try and get the glance-tempest-plugin patches in right? 16:10
lbragstadbut we have time for that since glance-tempest-plugin is branchless16:10
lbragstad?16:10
dansmithI would assume16:35
dansmithand hope since they're just tests16:35
lbragstadok - cool, just wanted to check16:35
abhishekklbragstad, yes, we will16:38
opendevreviewAbhishek Kekane proposed openstack/glance master: Xena milestone 3 release notes  https://review.opendev.org/c/openstack/glance/+/80736316:38
lbragstadqq on the glance-tempest-plugin16:38
lbragstadshould glance-secure-rbac-protection-functional be running tests on https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80090216:39
lbragstadsame question here - https://review.opendev.org/c/openstack/glance/+/80205616:40
lbragstadshould those patches be running the tests we have in glance-tempest-plugin?16:40
lbragstadbecause i think they're getting skipped since we're not telling tempest we want to test the new stuff16:40
lbragstadhttps://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_fd8/802056/20/check/glance-secure-rbac-protection-functional/fd8a61a/testr_results.html16:40
abhishekklbragstad, you mean to say at the moment  those tests are skipped for glance patches ?16:43
lbragstadi think so?16:43
lbragstadfor example - https://review.opendev.org/c/openstack/glance/+/79826616:43
dansmithlbragstad: that job only runs functional with rbac enabled, why would we need to run functional tests on the tempest-plugin patches?16:43
lbragstadskipped the tests https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_5a0/798266/30/gate/glance-secure-rbac-protection-functional/5a05263/testr_results.html16:43
lbragstadi thought that job was supposed to run https://github.com/openstack/glance-tempest-plugin/blob/master/glance_tempest_plugin/tests/rbac/v2/test_images.py16:44
abhishekkright16:45
lbragstadglance-tox-functional-py38-rbac-defaults is the functional tests in glance proper (i think)16:45
lbragstador at least based on what i learned yesterday 16:45
dansmith...right16:45
abhishekkyes, those are for secure RBAC16:45
lbragstadso - is there anything running the glance_tempest_plugin.tests.rbac.v2.test_images stuff?16:46
dansmithoh in glance you mean16:47
lbragstador in glance-tempest-plugin16:47
lbragstadi don't think https://github.com/openstack/glance-tempest-plugin/blob/master/.zuul.yaml#L1-L22 is doing what we thought it was16:47
lbragstadthat job should setup tempest, devstack, and glance so that it runs https://github.com/openstack/glance-tempest-plugin/blob/master/glance_tempest_plugin/tests/rbac/v2/test_images.py16:48
lbragstadbut i don't think that's actually happening16:48
dansmitheh?16:48
lbragstadbecause the tests are skipped16:48
lbragstadhttps://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_5a0/798266/30/gate/glance-secure-rbac-protection-functional/5a05263/testr_results.html16:48
dansmithokay, that's a tempest job not a functional one, and loading the plugin16:48
lbragstadyes 16:49
dansmithif they're skipped then maybe it's a tempest config thing?16:49
abhishekkhttps://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_eb3/800902/20/check/glance-legacy-rbac-protection-functional/eb3ced9/testr_results.html16:49
dansmithabhishekk: those are without secure-rbac enabled yeah?16:49
abhishekkhmm16:50
dansmithwho wrote the jobs for the tempest-plugin ?16:50
lbragstadme 16:50
lbragstad2a3d8bd0c9df4a6a50475262855e40b5a437bd1616:50
dansmithokay16:50
lbragstadb23fefad3e6b90e8985b6667b580be69ee0c953216:50
lbragstadand we had them working at the end of wallaby16:51
dansmithand you think you just didn't notice that they were skipping before?16:51
abhishekkstrange, If i click on glance-legacy-rbac-protection-functional https://zuul.opendev.org/t/openstack/build/eb3ced92383a4e888f983378cb52e19a it is redirecting me to legacy job16:51
lbragstadso - this is weird16:52
dansmithlbragstad: is it this? https://github.com/openstack/glance-tempest-plugin/blob/master/glance_tempest_plugin/tests/rbac/v2/base.py#L2916:52
lbragstadwe enable the glance devstack plugin 16:52
lbragstadwhich used to run on https://github.com/openstack/glance/blob/stable/wallaby/devstack/plugin.sh#L22-L2616:52
dansmithI don't see that message in the report16:52
lbragstadand we don't have the devstack plugin anymore in master?16:53
dansmithhuh? the plugin doesn't need to be in glance itself right?16:53
lbragstadi'm not sure - but that's what we were relying on to set the tempest config so the tests didn't skip 16:53
lbragstadhttps://paste.opendev.org/raw/808587/16:54
lbragstad^ the tests skip for me locally when i deploy devstack with https://github.com/openstack/glance-tempest-plugin/blob/master/.zuul.yaml#L1-L2216:54
lbragstadand i think that's apparent when you look at the test runs for that job in the patches we have in review since they're skipped16:54
abhishekkI think that patch which removed enfocing scope from glance devstack has triggered it16:55
lbragstadabe052d6dbc923d3419e31852339a081a8dd7fc616:56
lbragstadI3bf583e98fd610a8edb7cd31e6809f951463d77116:56
lbragstadbah! *and* i left a comment on https://review.opendev.org/c/openstack/devstack/+/77894516:57
dansmithokay, I would have expected the thing gmann was moving to to be how this is done, so I never knew about the devstack.sh hook in tree16:57
dansmithbut I also didn't see/review this change16:58
lbragstadhttps://review.opendev.org/c/openstack/devstack/+/778945 looks right 16:58
lbragstadhttps://review.opendev.org/c/openstack/devstack/+/778945/2/lib/tempest should be working16:58
lbragstadoh - it is working16:59
lbragstadhttps://paste.opendev.org/raw/808588/17:00
opendevreviewLance Bragstad proposed openstack/glance-tempest-plugin master: Fix glance tempest plugin test to use the right tempest variables  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80736617:02
lbragstadmoment of truth 17:02
lbragstadwe'll see if those refactors we landed moving the policy checks up to the API broke anything :) 17:02
dansmiththat seems odd17:03
dansmithis those things were moved from image_feature_enabled ?17:03
lbragstadluckily - it looks like this happened on the 19th 17:03
lbragstadwe probably should have made sure https://review.opendev.org/c/openstack/devstack/+/778945/2/lib/tempest included the image_feature_enabled bit so things continued to work 17:04
opendevreviewMerged openstack/glance master: Refresh Glance example configs for Xena milestone 3  https://review.opendev.org/c/openstack/glance/+/80724217:05
opendevreviewMerged openstack/glance master: Implement project personas for metadef tags  https://review.opendev.org/c/openstack/glance/+/80205617:05
abhishekkI don't think anything will break17:05
lbragstadi just ran things locally and they passed - so that's good17:06
dansmithcan we circle back here?17:06
dansmithyou're saying that tempest now expects [enforce_scope]glance=True to enable the stuff we need,17:06
dansmithand that the plugin was checking the old value in the image_feature_enabled group right?17:07
lbragstadyeah 17:07
dansmiththat makes little sense to me17:07
dansmithas everything in tempest is image_ and not glance_17:07
lbragstadthat was part of the consolidation that gmann was doing to pull this all into tempest17:08
dansmithand also seems very unlike gmann to have proposed these thigns and not realized17:08
lbragstadhttps://review.opendev.org/c/openstack/devstack/+/778975/1 is the keystone one17:08
lbragstadi should probably make sure the keystone protection tests are still running17:08
dansmithjust seems really strange17:08
dansmithis there a corresponding deprecation/removal of the image_feature_enabled knob?17:09
lbragstadidk - that's a question for gmann 17:09
abhishekkno it is still used for other options 17:09
dansmithabhishekk: no I mean the enforce_rbac option under that group17:09
abhishekkno17:09
dansmith(or whatever it's called)17:09
abhishekkThey run locally without any issues for me so didn't noticed/cared to check actual results 17:11
lbragstadabhishekk were you running the tempest tests locally?17:11
abhishekkyeah, glance-tempest-plugin for each policy and rbac patches17:11
lbragstadnice17:12
lbragstadso - this didn't break in keystone because we are still using the keystone/devstack plugin17:12
lbragstadwhich sets https://github.com/openstack/keystone/blob/master/devstack/lib/scope.sh#L2317:12
abhishekktha's why I found that we need Locking for metadef tests or we need to run it serially17:12
dansmiththis is the thing I was missing: https://github.com/openstack/glance-tempest-plugin/blob/master/glance_tempest_plugin/config.py17:14
dansmiththat knob is defined in the plugin itself and not in tempest17:14
dansmithit still seems very strange to use project names in tempest, because everything else seems to be service-scoped (i.e. image not glance)17:15
lbragstadyeah17:17
lbragstadso - how do we want to fix this? 17:17
lbragstadupdate the plugin to use the right variable, patch devstack to set the old thing, both?17:17
dansmithyour patch is the fix, right? I just want gmann to ack it17:17
lbragstadi think so - and yeah, i'm also curious to hear what gmann says17:18
opendevreviewLance Bragstad proposed openstack/glance-tempest-plugin master: Fix glance tempest plugin test to use the right tempest variables  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80736617:21
opendevreviewAbhishek Kekane proposed openstack/glance master: Xena milestone 3 release notes  https://review.opendev.org/c/openstack/glance/+/80736317:25
abhishekkalso any idea why glance-legacy-rbac-protection-functional https://zuul.opendev.org/t/openstack/build/eb3ced92383a4e888f983378cb52e19a redirects to legacy and legacy to protection ?17:28
opendevreviewAbhishek Kekane proposed openstack/glance master: Xena milestone 3 release notes  https://review.opendev.org/c/openstack/glance/+/80736318:01
gmanndansmith: lbragstad idea of making it 'enforce_scope'.<service> is that we can use it consistently for all services and in tempest test too along with plugins18:06
abhishekksomething is wrong with my brain, I guess, legacy is redirected to legacy only18:06
gmanntempest tests also need to migrate to new scope at some point18:06
gmanndansmith: lbragstad abhishekk I think with that patch we can remove or deprecate to remove this https://github.com/openstack/glance-tempest-plugin/blob/master/glance_tempest_plugin/config.py18:07
gmannand both config options seems went in parallel and later on devstack setting moving, did not realize test are still using plugin one18:07
abhishekkI think deprecate to remove will be better18:08
gmannbut has this been released yet?18:09
abhishekkno18:09
dansmithabhishekk: deprecate in the plugin? seems like we don't need to be worried about long-term usage of the plugin to me.. and it's broken now18:09
gmannabhishekk: it is, in 0.1.018:09
gmannwe can remove it directly with reno saying to enable test via another config options18:10
gmannfor now lbragstad patch seems good to me, i am +1 if you want to remove/deprecate config option in later patch18:11
abhishekkI didn't noticed this because my local tempest.conf is still using old parameter18:12
abhishekkbut yeah as pointed by dansmith it's plugin so we can directly remove it with reno18:13
gmannyeah, works  for me18:14
abhishekkack18:20
dansmithabhishekk: you know that US people are out on monday right?18:39
abhishekknope18:40
dansmithabhishekk: now you know that US people are out on monday.18:40
abhishekkyes18:40
dansmithheh18:41
abhishekkAck, I think we have everything sorted now18:41
abhishekkjust one doc patch, lance's refactoring patches (4) and 1 reno patch is remaining18:42
* abhishekk planning to watch laca sa de papel now18:45
abhishekkOk then, happy long weekend and see you on Tuesday 18:50
abhishekkMonday I will keep focus on protection testing patches for metadef18:51
abhishekko/~ over and out18:51
dansmitho/18:51
opendevreviewMerged openstack/glance-tempest-plugin master: Fix glance tempest plugin test to use the right tempest variables  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80736619:26
opendevreviewLance Bragstad proposed openstack/glance-tempest-plugin master: Remove plugin-specific enforce_scope configuration option  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80739619:53
opendevreviewLance Bragstad proposed openstack/glance-tempest-plugin master: Remove plugin-specific enforce_scope configuration option  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80739621:05

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