Thursday, 2022-10-20

stephenfinjokke__: Any idea on my question above (the difference between 'image-stage' and 'image-upload', and whether both are supported)? 👆10:31
croelandtjokke__: will you be joining?14:01
pdeore we are starting with our first session for today14:01
rosmaitaTheJulia: here's the state of play for image checksum verification16:04
rosmaitain Rocky, Glance introduced a "multihash" (self-describing hash fields that use SHA-512 by default)16:04
rosmaitaand the python-cinderclient supports download validation using the multihash by default16:04
rosmaitawith an optional fallback to using the MD5 'checksum' field if the secure algorithm isn't available on the client system16:04
rosmaitathe md5 'checksum' is still populated for legacy applications; it uses the fips-compliant oslo thingy16:04
rosmaitaprobably the best description of multihash is glance rocky release notes16:04
rosmaitahttps://docs.openstack.org/releasenotes/glance/rocky.html#new-features16:04
rosmaita(third bullet point in ^^)16:04
rosmaitaHere's the patch adding multihash support to the glanceclient (in particular, see the release note):16:04
rosmaitahttps://review.opendev.org/c/openstack/python-glanceclient/+/61335016:04
rosmaitaalso, if ironic is using the python-glanceclient for image download, then ironic is already using multihash validation16:04
TheJuliarosmaita: yes, we support that multihash functionality. The question is will it be maintained, or not? 16:05
TheJuliasorry, it being the md5 checksum16:05
rosmaitamaintained in the sense of being populated, you mean?16:06
TheJuliayes16:09
rosmaitai guess i don't understand the problem, with the multihash present, you can treat the 'checksum' as a field like the image name that doesn't have anything to do with security16:10
TheJuliaIndeed, however it can still be used as a compatability fallback, and I think that is the complaint ultimately.16:12
rosmaitaTheJulia: this is how glance handled continuing to populate the 'checksum', I think the commit message explains why md5 is not a problem in this context16:21
rosmaitahttps://review.opendev.org/c/openstack/glance_store/+/75615716:21
TheJuliaI think some people find that insufficent, but okay16:22
jokke__stephenfin: sorry for late reply. Staging is the mid part of Interoperable Image Import workflow. So after the staging is done, one needs to issue the image-import call to kick off the async processing of that staged data17:13
jokke__stephenfin: image-upload does not utilize any of the taskflow async stuff, but glance streams the image directly to the target store.17:13
*** jokke__ is now known as jokke_17:13
jokke_stephenfin: so for example you can't upload compressed images or use the image conversion with image-upload17:14
stephenfinjokke_: Great. Thanks. I'd figured out 'image-import' in the interim but not the difference. That's great info (y)17:27
opendevreviewMerged openstack/glance master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/glance/+/86155121:09
opendevreviewBrian Rosmaita proposed openstack/glance master: WIP: Test Ubuntu 22.04 (Jammy) migration  https://review.opendev.org/c/openstack/glance/+/86218921:13

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