Monday, 2025-12-15

*** mhen_ is now known as mhen03:04
mhenhi, I'm trying to address a review comment from dansmith here: https://review.opendev.org/c/openstack/glance/+/926295/comment/41e60bfe_f69dd274/13:57
mhenwhen I move my checks to reject encrypted images in the conversion import plugin to `get_flow()`, any exception thrown there will lead to the import plugin to silently fail13:58
mhenit will only print in the Glance logs that it "Could not load image_conversion" and proceed with importing without conversion13:58
mheni.e. the image gets imported as-is and circumvents conversion13:59
mhenwould that be acceptable behavior from Glance point of view or should I keep failing in the actual conversion process with the image not reaching 'active' state?13:59
womaxhi14:00
womaxrosmaita: thanks for your comments on the spec. Points you address we didn't have in mind at all. I'll try to work on it this week and come back to answers to your comments14:04
rosmaitawomax: sounds good ... which spec is this? (i can't keep my reviews straight)14:06
womaxrosmaita: this one https://review.opendev.org/c/openstack/glance-specs/+/97021414:28
rosmaitawomax: ok, will be interested to see what you come up with14:31
mhenI can't really tell from the documentation:15:46
mhenhttps://docs.openstack.org/glance/latest/admin/interoperable-image-import.html#the-image-conversion15:46
mhenis the conversion plugin intended to be on a best-effort basis, i.e., importing the image in its original format anyway if conversion flow fails?15:47
mhenor is it intended to assure that the image is converted and rejected otherwise?15:48
croelandtIf qemu-img convert fails, you should get a RuntimeError15:59
tkajinamanyone care to merge https://review.opendev.org/c/openstack/python-glanceclient/+/953799 before the holiday ? ;-)16:26
tkajinamthis is almost the last one remaining16:26
croelandttkajinam: done16:36
croelandtso os-client-config is still a thing though16:36
croelandthttps://review.opendev.org/c/openstack/os-client-config/+/549307 was 7 years ago so I guess os-client-config also has other use cases since it's still around?16:36
tkajinamcroelandt, thanks16:40
tkajinamcroelandt, os-client-config was merged into osc-lib16:40
tkajinamoops. not osc-lib but openstacksdk16:41
tkajinamcroelandt, see https://review.opendev.org/c/openstack/os-client-config/+/953790/2/os_client_config/__init__.py16:42
croelandtdamn, but it's still been receiving patches for all these years16:46
croelandtoh no this patch is from July16:46
croelandtok ok16:46
tkajinamcroelandt, yup. the warning was added to actually kill it.16:46
tkajinamthis is the last minute warning before actual retirement, pending for long16:46
croelandtoh they want to retire it in G?16:47
tkajinamhttps://review.opendev.org/c/openstack/governance/+/95354916:47
tkajinamlikely but I'm not sure about the actual retirement timing.16:48
croelandtInteresting16:49
tkajinamhttps://review.opendev.org/c/openstack/python-glanceclient/+/95984716:51
tkajinamhttps://review.opendev.org/c/openstack/python-glanceclient/+/96569816:52
tkajinamhttps://review.opendev.org/c/openstack/python-glanceclient/+/93613416:52
tkajinamcroelandt, if you have a few more minutes do you mind throwing these to gate ? ^^^16:52
mhenwhat is the proper etiquette on patchset comments? If a reviewer asks for a change and I implement something I think fully addresses the comment, am I allowed to mark this as resolved myself or do I wait for the reviewer to check again?17:15
tkajinammhen, I'm not aware of any documented guideline or general agreement, but my own practice is marking comments done based on my own confidence.17:18
tkajinamand keep comments open to ask for additional actions from reviewers.17:20
mhentkajinam: alright, thank you17:24
opendevreviewMerged openstack/python-glanceclient master: Replace os-client-config  https://review.opendev.org/c/openstack/python-glanceclient/+/95379918:09
croelandtmhen: same, I use this as a todolist and click "Resolved" to let the reviewer know I did what they wanted18:24
croelandtIf I go back to a patchset and don't see "resolved" under my own comments, I worry that the author has not read what I wrote18:25

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