Monday, 2021-01-18

*** zzzeek has quit IRC00:44
*** zzzeek has joined #openstack-glance00:46
*** baojg has joined #openstack-glance01:58
*** benj_ has quit IRC02:18
*** lyr has quit IRC02:18
*** benj_ has joined #openstack-glance02:19
*** lyr has joined #openstack-glance02:22
*** rcernin has quit IRC02:41
*** rcernin has joined #openstack-glance02:58
*** rcernin has quit IRC03:03
*** rcernin has joined #openstack-glance03:03
*** zzzeek has quit IRC03:22
*** zzzeek has joined #openstack-glance03:23
*** ratailor has joined #openstack-glance04:39
*** udesale has joined #openstack-glance04:42
*** zzzeek has quit IRC05:10
*** zzzeek has joined #openstack-glance05:14
*** udesale_ has joined #openstack-glance06:48
*** udesale has quit IRC06:50
*** lpetrut has joined #openstack-glance07:14
*** CeeMac has joined #openstack-glance07:22
*** ralonsoh has joined #openstack-glance07:28
*** lpetrut_ has joined #openstack-glance07:45
*** lpetrut_ has quit IRC07:45
*** lpetrut_ has joined #openstack-glance07:46
*** lpetrut has quit IRC07:48
*** rcernin has quit IRC07:53
*** rcernin has joined #openstack-glance07:57
*** nikparasyr has joined #openstack-glance08:21
*** baojg has quit IRC08:56
*** baojg has joined #openstack-glance08:56
*** rcernin has quit IRC09:13
*** rcernin has joined #openstack-glance09:24
*** baojg has quit IRC11:24
*** baojg has joined #openstack-glance11:25
*** baojg has quit IRC11:42
*** lpetrut__ has joined #openstack-glance12:22
*** lpetrut_ has quit IRC12:25
*** rcernin has quit IRC12:36
*** eandersson has quit IRC12:44
*** eandersson has joined #openstack-glance12:44
*** Luzi has joined #openstack-glance12:46
*** bhagyashris has quit IRC12:47
*** bhagyashris has joined #openstack-glance12:47
*** rcernin has joined #openstack-glance12:55
*** CeeMac has quit IRC12:56
*** udesale_ has quit IRC12:56
*** johanssone has quit IRC12:56
*** CeeMac has joined #openstack-glance12:59
*** udesale_ has joined #openstack-glance12:59
*** johanssone has joined #openstack-glance12:59
*** rcernin has quit IRC13:00
*** rcernin has joined #openstack-glance13:13
*** rcernin has quit IRC13:27
*** ratailor has quit IRC13:35
*** ratailor has joined #openstack-glance13:38
*** ratailor has quit IRC13:44
*** lbragstad has joined #openstack-glance14:03
*** lbragstad has quit IRC14:16
*** lbragstad has joined #openstack-glance14:19
*** lbragstad has quit IRC14:20
*** lbragstad has joined #openstack-glance14:20
*** whoami-rajat__ has joined #openstack-glance14:25
*** Luzi has quit IRC14:48
*** udesale__ has joined #openstack-glance14:49
*** m75abrams has joined #openstack-glance14:50
*** udesale_ has quit IRC14:52
dansmithrosmaita: so funny story14:59
rosmaitai hope this is funny "ha-ha"15:00
dansmithrosmaita: I think that when nova goes to create an image from a server, it copies all the image properties from the original image in the POST to create the new one15:00
dansmithwhich fails once os_glance_ is reserved because it tries to copy stale os_glance_importing_to_stores type stuff from the original cirros image we uploaded during devstack init15:01
rosmaitayeah, use non_inheritable_image_properties in nova15:01
rosmaitaor the absolutely NON_INHERITABLE_IMAGE_PROPERTIES15:01
rosmaitawould probably be better15:01
dansmithbut that's a static list of properties.. nova would really need to filter out anything from that namespace, even things it doesn't know about15:02
dansmithit's also a little bit of an API/contract break too,15:03
dansmithbecause if you rolled your glance before your nova, you'd be toast15:03
rosmaitayeah, i have been thinking about this for cinder because we need something similar -- whether we should exclude some from ever being copied in the first place, or just store but not copy15:03
dansmithI'm kinda leaning towards making PUT of those a 40x, but on POST just filtering those from the body and logging them15:04
rosmaitabut we hadn't gotten to the point of reserved namespaces yet15:04
dansmithI can still make nova behave better, but maybe not make them a 4xx error on POST for "a long time"15:04
dansmiththoughts on that? or do you think it's confusing to make them be silently discarded on POST but an error on PUT?15:05
dansmith(er, PATCH)15:05
rosmaitawell about the API contract ... i think there's some flexibility, because an operator could configure property protections in such a way that a POST trying to create a "restricted" property will fail15:06
rosmaitaso that can happen already15:06
dansmithokay, that's fair15:06
dansmithbut in nova we try not to make any changes that require someone to read the renos before an upgrade breaks.. so a warning followed by removal15:07
dansmithbut we can put it in nova-status15:07
dansmithwe just know that basically everyone will hit this because nobody has any reason to be filtering out these15:07
dansmithalthough few people are using import, so.. I guess not everybody15:07
rosmaitai think we say in the docs somewhere not to use os_* as a prefix for custom properties15:08
rosmaitaguess we "suggest" it maybe15:08
dansmithyeah I'm less concerned about someone that is using os_glance_private_thing15:08
*** lpetrut__ has quit IRC15:27
dansmithrosmaita: https://review.opendev.org/c/openstack/nova/+/77123415:31
openstackgerritDan Smith proposed openstack/glance master: Make os_glance namespace reserved  https://review.opendev.org/c/openstack/glance/+/77107015:33
jokkedansmith: rosmaita: by quick search looks like we've onl stated the reservation of os_glance_ namespace in like train release notes where it's stated that those store names should be left for internal use16:08
rosmaitadansmith: i like the tempest tests in https://review.opendev.org/c/openstack/tempest/+/771071 , but since tempest is branchless, is there a problem with adding it without some kind of flag?16:08
rosmaitajokke: thanks for tracking that donw16:09
rosmaita*down16:09
dansmithrosmaita: yeah, probably :)16:09
jokkeI'm 100% in favor for clamping that namespace down where ever we can, just a note about them and we probably should throw a doc patch up for it as well16:10
dansmithrosmaita: need a conf flag probably, I just wrote those on friday to get something down16:10
jokkedansmith: btw, not ignoring the import proxying patch, just hectic last week getting up to speed after PTO. I have it ope on a tab. Liked the cleanliness of it16:11
jokkebased on my forst pass looking through it16:11
dansmithjokke: cool, was just about to re-poke you :)16:12
jokke;)16:12
jokkeIs there anything we really really want to get merged before milestone 2 tag?16:13
dansmithI think we kinda need to get the spec for the distributed import all but ready for abhishekk's return don't we?16:13
jokkeIf not, I'm gonna throw the release patch up tomorrow, we can wait until Wed if we need to sort something for it16:13
jokkedansmith: yes, the specs are my today's focus16:13
jokketo have ready for Abhishek for Thu16:14
dansmithdo we need a spec for the os_glance lockdown or is that mechanical enough to cover with reno/doc?16:14
jokkeIMHO we don't need spec for it. It's been the agreement since we introduced it, just we haven't been great communicating it16:15
dansmithsweet16:15
openstackgerritDan Smith proposed openstack/glance master: Update docs and renos for os_glance reservation  https://review.opendev.org/c/openstack/glance/+/77124916:32
*** udesale__ has quit IRC16:36
*** eandersson8 has joined #openstack-glance16:43
*** m75abrams has quit IRC16:44
*** nikparasyr has quit IRC16:44
*** nikparasyr has joined #openstack-glance16:45
*** m75abrams has joined #openstack-glance16:45
*** eandersson has quit IRC16:45
*** zzzeek has quit IRC16:45
*** eandersson8 is now known as eandersson16:45
*** nikparasyr has left #openstack-glance16:45
*** zzzeek has joined #openstack-glance16:46
*** m75abrams has quit IRC16:46
*** takamatsu has quit IRC17:02
*** ralonsoh has quit IRC17:58
*** dasp has quit IRC18:13
*** dasp has joined #openstack-glance18:25
*** whoami-rajat__ has quit IRC18:55
dansmithrosmaita: skips when not enabled by devstack now: {0} tempest.api.image.v2.test_images_negative.ImagesNegativeTest.test_create_image_reserved_property ... SKIPPED: os_glance_reserved is not enabled19:37
rosmaitadansmith: very nice19:38
dansmithrosmaita: not trying to brag on my check-a-flag skills, just.. sayin ;P19:39
* dansmith updates resume with "can write code with conditional execution based on static flags"19:41
rosmaitadansmith: see if you buy my argument on https://review.opendev.org/c/openstack/tempest/+/771071/ that this is not new api behavior19:50
dansmithrosmaita: yeah, I was not so sure earlier, but we've carved out specific keys for specific features already, and also the operator can have done that, so yeah.. I think the api user can't be too surprised about it19:52
rosmaitacool19:52
rosmaitaleft some comments for you on https://review.opendev.org/c/openstack/glance/+/77124919:52
dansmithrosmaita: cool thanks19:55
rosmaitathe worst thing about WFH is that it is *always* my turn to make coffee19:58
dansmithI'll take choice of coffee over having someone else burn it for me :)19:58
openstackgerritDan Smith proposed openstack/glance master: Update docs and renos for os_glance reservation  https://review.opendev.org/c/openstack/glance/+/77124920:07
*** rcernin has joined #openstack-glance22:39

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