Monday, 2021-08-16

opendevreviewRajat Dhasmana proposed openstack/glance_store stable/victoria: Drop lower-constraints job  https://review.opendev.org/c/openstack/glance_store/+/80460607:42
opendevreviewRajat Dhasmana proposed openstack/glance_store stable/victoria: Drop lower-constraints job  https://review.opendev.org/c/openstack/glance_store/+/80460609:59
opendevreviewStephen Finucane proposed openstack/glance master: Resolve compatibility with oslo.db future (redux)  https://review.opendev.org/c/openstack/glance/+/80469910:58
opendevreviewErno Kuvaja proposed openstack/glance_store master: Raise correct exception from "Quota full"  https://review.opendev.org/c/openstack/glance_store/+/80022711:20
opendevreviewErno Kuvaja proposed openstack/glance master: 'community' images needs to be treated as public  https://review.opendev.org/c/openstack/glance/+/80022111:53
opendevreviewTakashi Kajinami proposed openstack/glance master: Load options from the castellan library  https://review.opendev.org/c/openstack/glance/+/80475413:55
abhishekkcroelandt, around?13:57
croelandtyeah14:02
croelandtwas going to dive into the dahsboard14:02
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870014:07
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef objects  https://review.opendev.org/c/openstack/glance/+/80205414:07
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef resource-types  https://review.opendev.org/c/openstack/glance/+/79967114:07
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef properties  https://review.opendev.org/c/openstack/glance/+/80205514:07
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef tags  https://review.opendev.org/c/openstack/glance/+/80205614:07
abhishekkcroelandt, lot has been added there14:10
croelandtyep *sigh*14:11
croelandtanything in particular you want me to review first? :)14:12
croelandtwhat is more urgent than urgent :D14:12
abhishekkupload/download14:12
abhishekkthen staging and import14:14
abhishekkthen delete from store14:14
abhishekkthen image tags14:14
abhishekkalso I have added plenty of bugs in our bug tracker14:14
jokke_abhishekk: got the tests you wanted for the swift fixes14:15
abhishekkjokke_, going through it14:15
abhishekkI have one question, not related to your change but in general14:15
jokke_mhm14:16
abhishekkimage sharing is only allowed for shared images, right ?14:16
jokke_correct14:16
abhishekkhttps://review.opendev.org/c/openstack/glance/+/800221/2/glance/location.py@62714:17
abhishekkdo you think this is not reachable then ?14:17
croelandtFIXME(abhishekk): Everything is fake in this test <- sometimes OpenStack tests feel like we reimplemented everything as mocks :D14:17
abhishekk:D14:18
jokke_croelandt: that's unittests for you, "Self.assertTrue(mock.True) :P14:19
croelandtHonestly, I find it hard to debug sometimes14:20
croelandtyou get fake methods that take fake arguments and then work on fake code14:20
croelandtand I'm like "where is the real stuff I'm supposed to be testing, again?"14:21
abhishekk:D14:21
jokke_abhishekk: So IIRC turning image from shared to public or community preserves the members, what I don't know is if you can still accept the image after that if you had pending membership there. I'd say if we're not 100% sure that line is good to have there ;)14:21
abhishekkhmm, so can we revert that change then ?14:22
jokke_abhishekk: you mean the MemberRepoProxy line?14:23
abhishekkyeah ?14:23
abhishekkI don't think it is reachable, I will try to change image visibility from shared to public after having members to it14:24
jokke_I think you have poked the membership code more recently. I wouldn't trust out of my head that we don't fuck it up anywhere, but if you can, I think we can clean that MemberRepo_Proxy _set_acls() a bit. 14:25
jokke_abhishekk: I included that to the community image patch as the public was there, did not dig in too deep where all it possibly gets called14:27
abhishekkright, 14:28
abhishekkit is setting acls for shared images only14:28
abhishekkwhich is definitely not required14:33
abhishekkdansmith, around ?14:37
abhishekklbragstad, there is one patch for review, kindly have a look when you get some time14:45
abhishekkhttps://review.opendev.org/c/openstack/glance/+/80458514:45
dansmithabhishekk: in a call14:50
abhishekkdansmith, ack14:51
jokke_croelandt:  https://review.opendev.org/c/openstack/glance_store/+/800227 you had +2 on that already15:14
jokke_just the test abhishekk asked added15:14
croelandtindeed15:44
* abhishekk going for dinner break15:57
opendevreviewMerged openstack/glance master: Resolve compatibility with oslo.db future (redux)  https://review.opendev.org/c/openstack/glance/+/80469915:59
* dansmith finally peels himself out of the chair for an overdue bio break17:02
abhishekklengthy meetings ?17:05
dansmithyeah17:06
abhishekkok, so not taking much of your time, if you have not started work on add_image policy, should I take it ?17:08
opendevreviewMerged openstack/glance_store master: Raise correct exception from "Quota full"  https://review.opendev.org/c/openstack/glance_store/+/80022717:08
opendevreviewMerged openstack/glance_store stable/victoria: Drop lower-constraints job  https://review.opendev.org/c/openstack/glance_store/+/80460617:08
dansmithabhishekk: ugh!17:09
dansmithabhishekk: I really want to do it but I still haven't done the other one that is still PoC17:10
dansmithyou own that patch anyway, maybe you could just finish that and I'll start on add_image?17:10
abhishekkno problem17:10
abhishekkyou also have long list to review :D17:10
dansmithI know :(17:11
abhishekkjust FYI I have added one more sheet in spreadsheet which covers APIs which does not have own policies but enforces other checks17:11
dansmithokay cool17:12
dansmithabhishekk: can we put a link to the dashboard in the sheet? I closed that tab apparently17:12
abhishekkOk, then I will work on PoC17:12
abhishekkdansmith, ack17:12
dansmiththanks17:13
abhishekknp17:14
timburke__swift17:14
timburke__bah -- saw a highlight, thought i was searching :P17:15
*** timburke__ is now known as timburke17:16
opendevreviewRajat Dhasmana proposed openstack/glance_store stable/ussuri: Drop lower-constraints job  https://review.opendev.org/c/openstack/glance_store/+/80479217:17
abhishekkwe need to consider tests failing with timeouts as well :/18:10
opendevreviewAbhishek Kekane proposed openstack/glance master: Check download_image policy in the API  https://review.opendev.org/c/openstack/glance/+/80454719:28
opendevreviewAbhishek Kekane proposed openstack/glance master: Check download_image policy in the API  https://review.opendev.org/c/openstack/glance/+/80454719:32
dansmithabhishekk: I might need you to look at something related to create image19:34
abhishekkack19:34
abhishekklet me know19:34
dansmithabhishekk: set_acls() is failing in location, with a specific task19:34
dansmither, specific test19:34
dansmithonce we no longer have the auth layer stuff in there19:35
dansmithI'm guessing something in those layers causes us to skip that on create, but I have yet to find it19:35
dansmithlet me push up what I have with one failing test and maybe you can look tomorrow19:35
abhishekkack19:35
abhishekkwill have a look19:35
* croelandt is reading so many similar patches that they are all getting mixed up in his head :D19:36
opendevreviewDan Smith proposed openstack/glance master: Check add_image policy in the API  https://review.opendev.org/c/openstack/glance/+/80480019:37
dansmithleft a FIXME in images.py on a re-raise the error so you can see where it's failing ^19:37
abhishekkack19:37
abhishekkcroelandt, :D19:37
abhishekkdansmith, I think you need to change get_image_factory method as well to remove authorization layer19:42
dansmithoh?19:46
abhishekkalso create enforces publicize_image and communitize_image policies as well19:47
abhishekkthose will get enforced at policy layer in this process19:48
dansmithI don't see where in the auth/policy factor layers I get somewhere related to the locations stuff19:49
abhishekknew_image enforces them19:50
dansmithyeah, I see that for publicize and communitize,19:51
dansmithI'm saying I don't see where the interaction between the locations failure and the factories is19:51
abhishekkaah19:51
abhishekkI remember create API call also enforces get_image_location somewhere19:52
dansmithin set_acl via ImageLocationProxy19:53
dansmithbut I don't really see why that has changed here19:53
dansmithlike, I don't see why the test passed before19:53
abhishekkwill have a look, didn't see it closely yet19:54
opendevreviewAbhishek Kekane proposed openstack/glance master: Check policies for staging operation in API  https://review.opendev.org/c/openstack/glance/+/80455819:54
abhishekkupload, download, stage API are ready ^^19:54
* abhishekk thinks its something related to policy_enforcer object20:19
abhishekkdansmith, I will look at it tomorrow20:58
dansmithabhishekk: rgr21:18
* abhishekk signing out for the day22:27

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