How to use the guest agent and fsfreeze for a snapshot ?

asked 2014-12-22 05:20:15 -0600

tim-bell gravatar image

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


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.

edit retag flag offensive close merge delete