artom | o/ Nova says hi :) | 16:13 |
---|---|---|
artom | We'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 data | 16:14 |
artom | We = Uggla and myself | 16:14 |
artom | In 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 Glance | 16:16 |
artom | Nova's current hack is to upload an empty string as data, this causes os_hash_(alog|value) to be calculated | 16:16 |
artom | We've tried not uploading any image data at all, but then the image remains in `queued` | 16:17 |
artom | So we're trying to figure out how to activate an image out of `queued` and into `active` without uploading any data | 16:17 |
artom | Ah, based on https://docs.openstack.org/glance/latest/user/statuses.html, looks like size has to be 0? | 16:34 |
artom | Lee 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 |
artom | But I guess size gets set to 0 eventually in that code path? We just haven't found where yet | 16:35 |
artom | Wait, size is not an attribute when creating an image... | 16:41 |
abhishekk | artom, 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 more | 16:57 |
artom | abhishekk, ack, thanks for the response | 16:59 |
abhishekk | artom, np! | 16:59 |
artom | I kinda assumed it would be an easy "oh just do thing X in your API request" | 16:59 |
artom | Apparently not :/ | 16:59 |
abhishekk | sorry about that | 17:00 |
artom | Not your fault :) | 17:00 |
abhishekk | the weekly glance meeting will be at 1400 UTC on coming Thursday | 17:01 |
abhishekk | and if things are urgent then you can request current PTL to arrange for some discussion earlier | 17:02 |
artom | We'll put it on the agenda for next Thursday | 17:16 |
abhishekk | ack | 17:45 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!