Thanks for the info.

From what I understand, if we are running less than Juno, the hw guest agent 
feature/fsfreeze is not fully functional even with the appropriate flags on the 
image.

I’ll keep an eye on the upcoming features before advertising this for the end 
users.

Tim

From: Yaguang Tang [mailto:heut2...@gmail.com]
Sent: 04 January 2015 05:44
To: Tim Bell
Cc: openstack@lists.openstack.org
Subject: Re: [Openstack] Guest agent and fsfreeze

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.b...@cern.ch<mailto:tim.b...@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@lists.openstack.org<mailto:openstack@lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



--
Tang Yaguang



_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to