Tuesday, 2025-11-25

*** mhen_ is now known as mhen02:30
croelandtrosmaita: hey, you're good at phrasing stuff in English, as if you were a native speaker or something14:25
croelandtIn https://review.opendev.org/c/openstack/glance-specs/+/963239 we can specify "?stores=ceph,s3&preference=only" to ask the API to download an image from either Ceph or S3, and fail if the image is not in either store14:26
croelandtand we can specify "?stores=ceph,s3&preference=oneof" to ask the API to download an image from either Ceph or S3, and download it from the default store (NFS, for instance) if the image is not in either store14:27
croelandtbut "oneof" sounds weird to me for this use case14:27
croelandtwdyt?14:27
rosmaitacroelandt: thinking14:35
croelandtyou're telling me when you're thinking now, just like Claude Code... We should have seen it, you're rosmAIta14:44
rosmaita:D14:47
rosmaitaok, left a comment on the review14:47
rosmaitaa comment that i wrote myself!14:47
croelandtI think you did not push the button14:48
rosmaitayou are correct, sir14:48
croelandtecho "- Do not forget to press the button" >> .rosmaita.md14:50
croelandtwho's Erno? :D14:51
womaxgood morning/afternoon glance15:06
womaxI recently did a quick patchs on my end in ironic to allow for boot for image stored in a s3 backend. Doing this patch I used quite a bit of code from glance_store to do config parsing to get credentials necessary for temp_url generation15:08
womaxSuch changes lead to a bit of code and config duplication between glance and ironic. I discussed a bit yesterday with ironic team to get their opinion of moving temp url generation for object storage backend in glance and they were interested. So on your end, do you think that is something that would be interesting / doable or do you think it is something that should stay in ironic code?15:11
croelandtdo you have a proof of concept?15:37
womaxon glance no, I only have what I have done in ironic15:42
croelandtdo you have a link to that?15:46
womaxNeither, change are still on private repos and on an old openstack version15:48
womaxI guess i could generate patch file and send them if thats work with you15:49
croelandtplease make that public 15:49
womaxhttps://gist.github.com/AntoninRuan/b0598cb581f187829120aaab5df4df3115:55
womaxpatch is from ironic in stein version15:56
croelandtso why does Ironic need to download an image without auth?16:00
womaxFrom what I understand, ironic agent running on baremetal node that is in charge of installing the server at creation does not have any configuration and thus does not have any credentials either and so it need an no auth url16:03
womaxBut i did not really dig deep on why, I needed to make it work for s3 and inspired myself strongly from what was already done for swift16:05
womaxMaybe it is another reason that justify no auth url, i didn't really find any info on this, it just a conclusion I drawn from my basic understanding of ironic architecture16:06
croelandtok so if Swift does it, it's already something16:20
croelandtDoes Swift generate a temp URL in the glance_store code?16:21
womaxDidn't fully check but I don't think so16:21
womaxAt least when i greped the _drivers/swift folder of glance_store there were no occurence of "temp_url"16:23
opendevreviewAbhishek Kekane proposed openstack/glance master: Update image size after image decompression  https://review.opendev.org/c/openstack/glance/+/96835117:24
abhishekkI have found multiple issues while testing image decompression plugin :/ Reporting it one by one as those are dependent 17:32
abhishekkabove one is the first base issue 17:32
abhishekk@croelandt ^^ FYI17:32
abhishekkdecompression works with gzip and web-download but failing for glance-direct for gzip, zip and lha formats, it will also fail with zip and lha for web-download (I have not tested web-download with these formats but from glance-direct testing it looks like it will fail)17:35
croelandtouch18:09
croelandtsounds bad18:09
dansmithdecompression of zip at all seems weird to me, since it's both a compression format and a container of multiple things.. are we really expecting glance _should_ do that?18:14
opendevreviewAbhishek Kekane proposed openstack/glance master: Fix LHA file decompression context manager issue  https://review.opendev.org/c/openstack/glance/+/96836518:29
abhishekkI am also not in favor of zip but as it is there we need to fix it :/18:31
abhishekkI think at this moment I will fix the issue with a doc note and then we can decide on whether keep it or remove it during next PTG18:34
opendevreviewAlexey proposed openstack/glance master: Correct read function in _UWSGIChunkFile not to exceed length  https://review.opendev.org/c/openstack/glance/+/96373218:57
opendevreviewAlexey proposed openstack/glance master: Correct read function in _UWSGIChunkFile not to exceed length  https://review.opendev.org/c/openstack/glance/+/96373218:58

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