If /var/lib/libvirt/qemu/save exists, move it to nova_libvirt_save_path
In https://review.openstack.org/320624 the qemu save directory was set
to be a link into the same directory where nova instances are kept in
order to ensure that temporary files created in snapshots are stored
in a location which is likely on shared storage or has plenty of space.
The patch did not actually create the link if a folder existed there
already, so this patch implements a move of the folder and a link to
replace it.
Reviewed: https:/ /review. openstack. org/346924 /git.openstack. org/cgit/ openstack/ openstack- ansible- os_nova/ commit/ ?id=7598609e5b6 092117deb80ba2c d6396215c90651
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7598609e5b60921 17deb80ba2cd639 6215c90651
Author: Jesse Pretorius <email address hidden>
Date: Mon Jul 25 17:41:33 2016 +0100
If /var/lib/ libvirt/ qemu/save exists, move it to nova_libvirt_ save_path
In https:/ /review. openstack. org/320624 the qemu save directory was set
to be a link into the same directory where nova instances are kept in
order to ensure that temporary files created in snapshots are stored
in a location which is likely on shared storage or has plenty of space.
The patch did not actually create the link if a folder existed there
already, so this patch implements a move of the folder and a link to
replace it.
Closes-Bug: #1585325 27410f5d5c14d20 870dd37b5cb
Change-Id: I5224ac72b14ad0