[Openstack] Guest agent and fsfreeze

Yaguang Tang heut2008 at gmail.com
Sun Jan 4 04:43:59 UTC 2015


This feature is being added during Kilo,
https://blueprints.launchpad.net/nova/+spec/quiesced-image-snapshots-with-qemu-guest-agent,
so if you want to test it, it's better to use devstack with trunk,
there are some requirements:
1. libvirt >=1.2.5
2. os_require_quiesce=yes need to be set as image property

Note that so far only support instances booted from glance images,
instances booted from
volume for this  feature is working in progress
https://review.openstack.org/#/c/138795/.

Related wiki
https://wiki.openstack.org/wiki/Cinder/QuiescedSnapshotWithQemuGuestAgent




On Sat, Jan 3, 2015 at 4:30 AM, Tim Bell <Tim.Bell at cern.ch> wrote:

>
>
> I'm trying to get the guest agent working on OpenStack.
>
>
>
> I have enabled the guest agent using the property
>
>
>
> | Property 'hw_qemu_guest_agent' | yes |
>
>
>
> The VM has the qemu guest agent installed
>
>
>
> $ rpm -qa | grep guest
>
> qemu-guest-agent-1.5.3-60.el7_0.11.x86_64
>
>
>
> The service has been started
>
>
>
> /bin/systemctl status qemu-guest-agent.service
>
> qemu-guest-agent.service - QEMU Guest Agent Loaded: loaded
> (/usr/lib/systemd/system/qemu-guest-agent.service; static)
>
> Active: active (running) since Sun 2014-12-21 17:45:32 CET; 18h ago
>
> Main PID: 1066 (qemu-ga) CGroup: /system.slice/qemu-guest-agent.service
> └─1066 /usr/bin/qemu-ga --method=virtio-serial
> --path=/dev/virtio-ports/org.qemu.guest_agent.0 --bla...
>
> Dec 21 17:45:32 timhwag144 systemd[1]: Started QEMU Guest Agent.
>
>
>
> However, when I run the nova image-create command, I do not get any entry
> in /var/log/qemu-ga to show that fsfreeze has been run.
>
>
>
> Any suggestions ? I could not find any documentation on how to do fsfreeze
> with QEMU GA other than the blueprints implementing the function.
>
>
>
> Tim
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
Tang Yaguang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150104/a7ae57ef/attachment.html>


More information about the Openstack mailing list