[ops][glance][nova] scheduling problem because of ImagePropertiesFilter

Matt Riedemann mriedemos at gmail.com
Mon Jul 22 21:10:24 UTC 2019


On 7/19/2019 8:26 AM, Massimo Sgaravatto wrote:
> Is there some clean way to remove/change the problematic property from 
> the relevant instances ?

Not really externally. For the snapshot images you should be able to 
update those properties on the image using the glance API (and CLIs), 
but for existing instances the image metadata properties are stored in 
the instance_system_metadata table with an image_ prefix so you'd have 
to update those.

I would have thought there would be a translation shim for the rename of 
that property in nova though...

https://review.opendev.org/#/c/202675/ doesn't explain at all why that 
was done.

Note that the old hypervisor_type image meta key should be translated to 
img_hv_type in the object code:

https://github.com/openstack/nova/blob/d5c67a3d954ddb571645886a23a0f251ae7dd2bb/nova/objects/image_meta.py#L515

-- 

Thanks,

Matt



More information about the openstack-discuss mailing list