Thursday, 2021-09-02

*** akekane__ is now known as abhishekk05:54
opendevreviewHanGuangyu proposed openstack/glance master: Make "killed" images list available using the CLI  https://review.opendev.org/c/openstack/glance/+/80613408:58
opendevreviewHanGuangyu proposed openstack/glance master: Make "killed" images list available using the CLI  https://review.opendev.org/c/openstack/glance/+/80613409:03
opendevreviewAbhishek Kekane proposed openstack/glance master: Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870009:20
opendevreviewAbhishek Kekane proposed openstack/glance master: Implement project personas for metadef objects  https://review.opendev.org/c/openstack/glance/+/80205409:20
opendevreviewAbhishek Kekane proposed openstack/glance master: Implement project personas for metadef resource-types  https://review.opendev.org/c/openstack/glance/+/79967109:20
opendevreviewAbhishek Kekane proposed openstack/glance master: Implement project personas for metadef properties  https://review.opendev.org/c/openstack/glance/+/80205509:20
opendevreviewAbhishek Kekane proposed openstack/glance master: Implement project personas for metadef tags  https://review.opendev.org/c/openstack/glance/+/80205609:20
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870012:18
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef objects  https://review.opendev.org/c/openstack/glance/+/80205412:18
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef resource-types  https://review.opendev.org/c/openstack/glance/+/79967112:18
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef properties  https://review.opendev.org/c/openstack/glance/+/80205512:18
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef tags  https://review.opendev.org/c/openstack/glance/+/80205612:18
abhishekkdansmith, today it will be only you and me in the meeting, rosmaita will be busy in cinder and jokke_ and cyril or on leave13:49
abhishekkwe will wrap it quickly13:50
dansmithheh okay13:50
rosmaitaabhishekk: ty13:50
abhishekkrosmaita, np 13:51
abhishekkthat was really quick14:08
dansmith\o/14:08
dansmithleft you a question on the bottom metadef patch14:08
abhishekkdansmith, yep, will have a look14:09
abhishekkdansmith, do you mean we should also call _update_namespace after line 404 ?14:11
dansmithoh jeez14:12
dansmithhang on14:12
abhishekkack14:12
dansmithyeah sorry I'm an idiot.. I mis-read that yesterday and then assumed today that it was as I read it yesterday14:13
dansmithI was thinking that was a delete as admin, followed by attempts to delete it as a non-admin14:14
dansmithwhich makes no sense since you're deleting at the bottom as admin14:14
abhishekkno worries, i can understand,14:15
abhishekklbragstad, if you have look at metadef RBAC patches then we could start merging it (I know you are busy as well)14:19
lbragstadabhishekk ok - i can take a look today 14:19
lbragstadlast i looked i think they are good14:19
lbragstadi was mostly concerned about the duplication across the functional tests14:20
abhishekklbragstad, also can I rebase your patches on top of mine ?14:20
lbragstadabhishekk yeah - go for it14:20
lbragstadi just threw those up to get the various consolidation ideas out of my head and written down somewhere14:20
lbragstadif they don't make sense, feel free to abandon14:21
abhishekklbragstad, cool, will rebase them, thank you14:21
dansmithlbragstad: the duplication definitely needs some attention, but are we holding these up for that?14:21
lbragstadbut... it would be cool to consolidate some of the testing stuff before we retrofit that API with system scope (if we decide to)14:21
lbragstadsince we're just be doing more copy/pasta to test those personas14:22
lbragstaddansmith abhishekk i'll defer to both of you if you want to address the consolidation14:22
abhishekklbragstad, I think we can add/work on tempest-plugin work after m3 as well as we don't release tempest plugin14:23
dansmithit's definitely a lot of duplication and I'd like to see it share more, but I think abhishekk would probably prioritize getting it in14:23
abhishekk++14:23
lbragstadbut - a lot of my comments on those reviews were focused on nit picking consolidation techniques, so i put my money where my mouth is and started proposing ways to do that - it's your call if you want to hold up the project persona work for the metadef api14:23
lbragstadi'm happy to continue helping with that if you think it's a priority 14:24
dansmithoh, I hadn't seen those on top14:24
abhishekkIt's a priority for us, and I will rebase them14:24
dansmithwe can merge those after the deadline surely, as they're just test cleanups14:24
lbragstadright14:24
abhishekkso we still have 3-4 days in hand14:24
abhishekkbefore tagging m314:24
dansmithoh sure, that's totally cool, I was thinking you wanted all the proposed ones re-written on top of common stuff14:25
lbragstadbut - they're mostly focused on the FunctionalTest base class14:25
dansmithabhishekk: we can merge test cleanups even after m3 yeah?14:25
abhishekkright14:25
lbragstadi'm not sure if we want to retrofit them to use SynchronousAPIBase instead?14:26
abhishekklbragstad, that was in my mind, but due to lack of time I avoided it14:26
opendevreviewAbhishek Kekane proposed openstack/glance master: Remove duplicate namespace utilities in functional tests  https://review.opendev.org/c/openstack/glance/+/80677514:55
opendevreviewAbhishek Kekane proposed openstack/glance master: Move global constants to test module setUp  https://review.opendev.org/c/openstack/glance/+/80677915:24
opendevreviewAbhishek Kekane proposed openstack/glance master: Remove duplicate _url() methods from functional test classes  https://review.opendev.org/c/openstack/glance/+/80679715:53
opendevreviewAbhishek Kekane proposed openstack/glance master: Remove duplicate _header() implementations in metadef tests  https://review.opendev.org/c/openstack/glance/+/80680115:53
* abhishekk going for dinner break16:09
abhishekkjust to update all, apart from Secure RBAC, we need config refresh and release note patch for M3, I will submit them tomorrow17:41
abhishekkI am planning to tag M3 on Sept 08 around 1400 UTC17:41
dansmithabhishekk: those are just mechanical right? link me and I'll look17:41
abhishekkyes17:42
* abhishekk thinking of signing out early17:53
abhishekkdansmith, not urgent, but do you think we should follow this approach to test our code with pacific version of ceph ?17:59
abhishekkhttps://review.opendev.org/c/openstack/glance/+/80677417:59
abhishekkgmann, ^^18:00
dansmithidk, seems okay if we're pushing past the current default18:02
abhishekkack18:02
opendevreviewAbhishek Kekane proposed openstack/glance-specs master: Add Yoga directory for specs  https://review.opendev.org/c/openstack/glance-specs/+/80719718:22
opendevreviewAbhishek Kekane proposed openstack/glance-specs master: Add Yoga directory for specs  https://review.opendev.org/c/openstack/glance-specs/+/80719718:39
* abhishekk signing out for the day18:41
dansmithlbragstad: you don't have +1s on a bunch of the metadef persona patches.. are you planning to try to hit those?19:57
dansmithI've been +2ing without +Wing hoping you would :)19:57
lbragstaddansmith yeah - i'll start taking a look, just wrapping up a pile of sprint planning20:03
dansmithkthx20:05
dansmithI shall go do some stuff and circle back to +W what you find acceptable20:05
lbragstaddansmith pdeore_ i think the first few in that series look good20:34
lbragstadi'm wondering if we're missing a case here though https://review.opendev.org/c/openstack/glance/+/802055/1820:34
lbragstadbut namespaces, objects, and resource-types look good to me20:35
lbragstad(assuming we can clean up some of the smaller stuff during RC)20:35
lbragstads/RC/feature freeze/20:35
dansmithlbragstad: replied20:58
dansmithlbragstad: you know what I just realized?21:20
dansmithI think all of these tests are not actually testing anything21:20
dansmithlbragstad: because they're not setting enforce_new_defaults=True21:20
dansmith...right?21:21
* lbragstad checks21:21
dansmiththat's why your test just now didn't break I think21:21
dansmither, well you ran just one so maybe that's why too, but I'd expect that to have broken other stuff21:22
lbragstadwell - i'm suspicious that the test didn't break because we don't test that API in the test21:23
* lbragstad grabs a bigger hammer21:23
dansmiththat's what I meant with my second statement,21:23
dansmithbut I still think they're all wrong21:23
lbragstadyeah - i think you're right21:24
lbragstadhttps://paste.opendev.org/show/808557/21:24
lbragstadthat should break stuff, right? 21:24
lbragstadhttps://paste.opendev.org/raw/808559/21:25
dansmithyeah21:25
dansmithI think we oughta kick these out of the gate21:25
lbragstadagree21:26
opendevreviewDan Smith proposed openstack/glance master: WIP Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870021:27
lbragstadstrange 21:28
lbragstadhttps://github.com/openstack/glance/blob/master/glance/tests/functional/__init__.py#L415-L41721:29
lbragstadi was looking for a config fixture to set the right oslo.policy options 21:29
lbragstadbut found that instead21:29
lbragstadnow i'm not sure what the functional tests are running for policy https://github.com/openstack/glance/blob/master/glance/tests/functional/__init__.py#L406-L40721:30
lbragstad:) 21:30
dansmithooooh right, gdi21:30
dansmithI knew this, I'm dumb21:31
lbragstadknew what?21:32
dansmiththat it's tested in a separate job21:32
dansmithso this gets run without enforce on, and with enforce on:21:32
dansmithglance-tox-functional-py38-rbac-defaults SUCCESS21:32
lbragstadoh functional-py38-rbac21:34
lbragstadthere's a tox env for it21:34
lbragstadyeah, i don't think i'm using that21:34
lbragstadtrying that quick21:34
lbragstadok- cool, things are failing now so that's good21:36
dansmithokay, so .. do we hit the list thing or not?21:36
lbragstadnope - 21:37
dansmithokay, so still missing case21:37
lbragstadhttps://paste.opendev.org/raw/808560/21:37
lbragstaddo we want to do that in a follow up or?21:40
dansmithI'm fixing since I have to unfsck the mess I made anyway21:44
lbragstadok - checking the first few patches prior to that one to see if they're susceptible to the same gap21:45
dansmithI'm getting 404 for the list21:46
lbragstadwith your new changes?21:46
dansmithwait21:47
dansmithokay, nm, I was getting 404 fort the wrong tenant21:47
lbragstadthe metadef object tests have the same issue 21:49
lbragstadhttps://review.opendev.org/c/openstack/glance/+/80205421:49
dansmithgdi lbragstad 21:51
lbragstadresource types is good though - looks they have coverage for list_metadef_resource_types21:51
lbragstadand i think tags is also missing it, but i could be wrong21:52
lbragstadtesting it real quick21:52
lbragstadmm it fails for tags, but i can't tell in the test where it actually call the GET /v2/metadefs/namespaces/{namespace}/tags API21:55
opendevreviewDan Smith proposed openstack/glance master: Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870022:03
opendevreviewDan Smith proposed openstack/glance master: Implement project personas for metadef objects  https://review.opendev.org/c/openstack/glance/+/80205422:03
opendevreviewDan Smith proposed openstack/glance master: Implement project personas for metadef resource-types  https://review.opendev.org/c/openstack/glance/+/79967122:03
opendevreviewDan Smith proposed openstack/glance master: Implement project personas for metadef properties  https://review.opendev.org/c/openstack/glance/+/80205522:03
opendevreviewDan Smith proposed openstack/glance master: Implement project personas for metadef tags  https://review.opendev.org/c/openstack/glance/+/80205622:03
opendevreviewDan Smith proposed openstack/glance master: Remove duplicate namespace utilities in functional tests  https://review.opendev.org/c/openstack/glance/+/80677522:03
opendevreviewDan Smith proposed openstack/glance master: Move global constants to test module setUp  https://review.opendev.org/c/openstack/glance/+/80677922:03
opendevreviewDan Smith proposed openstack/glance master: Remove duplicate _url() methods from functional test classes  https://review.opendev.org/c/openstack/glance/+/80679722:03
opendevreviewDan Smith proposed openstack/glance master: Remove duplicate _header() implementations in metadef tests  https://review.opendev.org/c/openstack/glance/+/80680122:03

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