Thursday, 2025-09-25

*** haleyb_ is now known as haleyb01:48
*** jonnyb09 is now known as jonnyb010:26
*** ykarel_ is now known as ykarel10:47
*** jonnyb05 is now known as jonnyb011:03
*** jonnyb02 is now known as jonnyb011:10
LarsErikPHi.. I'm experienceing the exact same scenario as this post from 2019, running Caracal: https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/5QSBZDKQLA7HJF3IYMLYOF7PACWX5QQE/ am I doing something wrong here?11:13
LarsErikPvolume-backed instance - create snapshot (either in horizon or with openstack server image create) - volume snapshots are created, but the image in glance is created with disk_format=qcow2 even though everything along the way here is in raw11:14
LarsErikPI've tried to set snapshot_image_format=raw both on compute nodes and nova-api servers, but it does not make a difference11:14
LarsErikPand I understand from the api-ref for this, that this scenario should indeed both create the volume snap, and an "empty" glance image with bdm properties pointing to the volume snap. But this fails with a http 415 and "Image disk_format qcow2 does not match stream data raw"11:16
*** jonnyb06 is now known as jonnyb011:27
LarsErikPgot rid of the http 415 when setting image_format/require_image_format_match to false in glance!11:34
opendevreviewLajos Katona proposed openstack/nova master: Use SDK for Neutron extensions  https://review.opendev.org/c/openstack/nova/+/96227011:55
*** jonnyb09 is now known as jonnyb012:15
*** jonnyb01 is now known as jonnyb012:53
*** jonnyb00 is now known as jonnyb013:32
opendevreviewLajos Katona proposed openstack/nova master: Use SDK for Neutron subnets  https://review.opendev.org/c/openstack/nova/+/96219013:51
opendevreviewLajos Katona proposed openstack/nova master: Use SDK for Neutron extensions  https://review.opendev.org/c/openstack/nova/+/96227013:51
*** jonnyb00 is now known as jonnyb014:01
opendevreviewLajos Katona proposed openstack/nova master: Use SDK for Neutron extensions  https://review.opendev.org/c/openstack/nova/+/96227016:26
opendevreviewmelanie witt proposed openstack/nova master: DNM vtpm tempest  https://review.opendev.org/c/openstack/nova/+/95747719:39
opendevreviewmelanie witt proposed openstack/nova master: FUP for vTPM live migration  https://review.opendev.org/c/openstack/nova/+/96230919:39
melwittLarsErikP: if I'm understanding you correctly, what you're seeing is the "empty" glance image that gets created when you snapshot a volume backed instance. nova calls cinder to snapshot the actual volume but will also call glance to create an empty/dummy image whose purpose is only to hold image metadata https://github.com/openstack/nova/blob/b99a882366251f88d145e27312b94692e0b2266f/nova/compute/api.py#L3459-L346620:02
melwittbc this is not a "real" image the disk_format attribute is just thrown away and not provided to glance AFAICT. maybe glance defaults to qcow2, not sure20:03
melwittoh but you're saying the glance image create fails due to the disk_format being wrong/not specified. this sounds like a bug that is now uncovered since glance began validating image disk formats20:05
melwittI don't find an existing bug open about this so as far as I know this has not been reported yet20:08
opendevreviewmelanie witt proposed openstack/nova master: DNM vtpm tempest  https://review.opendev.org/c/openstack/nova/+/95747721:06
opendevreviewmelanie witt proposed openstack/nova master: DNM vtpm tempest  https://review.opendev.org/c/openstack/nova/+/95747721:09

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