libvirt: Quiescing filesystems with QEMU guest agent during image snapshotting
Currently we need to quiesce filesystems (fsfreeze) manually before snapshotting active instances to create consistent backups. This should be automated for taking daily/weekly backup of instances automatically.
To implement this in KVM instances, nova-compute libvirt driver should request QEMU Guest Agent to freeze the filesystems (and applications if fsfreeze-hook is installed) during the image snapshot.
This feature will be libvirt driver specific, and requires qemu-ga installed in the instances and 'hw_qemu_
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- Low
- Drafter:
- Tomoki Sekiyama
- Direction:
- Approved
- Assignee:
- Tomoki Sekiyama
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Implemented
- Milestone target:
- 2015.1.0
- Started by
- John Garbutt
- Completed by
- John Garbutt
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Libvirt: Fsfreeze during live-snapshot of qemu/kvm instances
Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy
Gerrit topic: https:/
Addressed by: https:/
Libvirt: Fsfreeze during live-snapshot of qemu/kvm instances
Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy
If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)
Gerrit topic: https:/
Addressed by: https:/
Libvirt: Fsfreeze during live-snapshot of qemu/kvm instances
Not all the reviews have +2s and are not all are close to approval, so moving to juno-3. But please move this back to juno-2, should you get your patches approved in time. --johnthetubaguy 21st July 2014
Sorry, this does not have enough positive reviews to make it for juno-3, please resubmit for kilo. For more information, please contact me (johnthetubaguy) via IRC or email. --johnthetubaguy 2nd September 2014
Addressed by: https:/
Quiesce filesystems with QEMU guest agent during image snapshot
Addressed by: https:/
Quiesce boot from volume instances during live snapshot
There is one remaining patch:
https:/
Defereing to kilo-2 --johnthetubaguy 18th december 2014
Sorry, we have now hit the non-priority feature freeze for kilo. Please resubmit your spec for the L release. -- ttx on behalf of johnthetubaguy 5th Feb 2015
Blueprint is given an exception for one week --johnthetubaguy 16th Feb 2015
Single require patch merged, so marking complete. --mikalstill 18th Feb 2015
Work Items
Dependency tree
* Blueprints in grey have been implemented.