Friday, 2023-01-06

artomo/ Nova says hi :)16:13
artomWe're working on https://bugzilla.redhat.com/show_bug.cgi?id=2011771, and we're trying to understand what Glance needs to activate an image without uploading any image data16:14
artomWe = Uggla and myself16:14
artomIn that BZ, Lee is saying that os_hash_(alog|value) should not be set for an image representing a volume snapshot, as no data actually resides in Glance16:16
artomNova's current hack is to upload an empty string as data, this causes os_hash_(alog|value) to be calculated16:16
artomWe've tried not uploading any image data at all, but then the image remains in `queued`16:17
artomSo we're trying to figure out how to activate an image out of `queued` and into `active` without uploading any data16:17
artomAh, based on https://docs.openstack.org/glance/latest/user/statuses.html, looks like size has to be 0?16:34
artomLee was saying something else in the BZ:16:35
artom"When creating an ephemeral snapshot that uses the underlying direct snapshot mechanism in Nova imageCreate doesn't do this, instead creating an image initially with an unset size [4][5] that results in nothing being created in Glance's backend. As we don't upload any further data to the image in this case [6] the hash properties are not recalculated and left empty."16:35
artomBut I guess size gets set to 0 eventually in that code path? We just haven't found where yet16:35
artomWait, size is not an attribute when creating an image...16:41
abhishekkartom, o/ most of the glance people are out and will be back from 9th, I think the weekly glance meeting will be more suitable place to discuss this more16:57
artomabhishekk, ack, thanks for the response16:59
abhishekkartom, np!16:59
artomI kinda assumed it would be an easy "oh just do thing X in your API request"16:59
artomApparently not :/16:59
abhishekksorry about that17:00
artomNot your fault :)17:00
abhishekkthe weekly glance meeting will be at 1400 UTC on coming Thursday17:01
abhishekkand if things are urgent then you can request current PTL to arrange for some discussion earlier17:02
artomWe'll put it on the agenda for next Thursday17:16
abhishekkack17:45

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