<div dir="auto">Thanks.<div dir="auto">In queens hw_qemu_guest_agent is not considerated for v olumes because it belongs to "libvirt driver option for images".</div><div dir="auto">It is a problem for starting instance from backupped volumes :-(</div><div dir="auto">Ignazio</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno Gio 7 Feb 2019 12:53 Sean Mooney <<a href="mailto:smooney@redhat.com">smooney@redhat.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 2019-02-07 at 12:22 +0100, Ignazio Cassano wrote:<br>
> Hello, is it possible to force metadata for instances like the following ?<br>
> hw_qemu_guest_agent='yes'<br>
> os_require_quiesce='yes'<br>
> <br>
> <br>
> I know if an instance is created from an image with the above metadata the quemu-guest-agent works, but sometimes<br>
> instances can start from volumes ( for example after a cnder backup).<br>
if you are using a recent version of cinder/nova the image metadata is copied to the volume.<br>
i don't know if that is in queens or not but the only other way to force it that i can think of would be via the flavor.<br>
unfortunately the guest agnet is not supported in the flavor <br>
<a href="https://github.com/openstack/glance/blob/master/etc/metadefs/compute-libvirt-image.json#L7-L11" rel="noreferrer noreferrer" target="_blank">https://github.com/openstack/glance/blob/master/etc/metadefs/compute-libvirt-image.json#L7-L11</a><br>
<br>
> <br>
> Regards<br>
> Ignazio<br>
<br>
</blockquote></div>