commit a2adac22216686c38a2dca6992d41cea9090f992
Author: Matthew Thode <email address hidden>
Date: Wed Jun 1 23:14:36 2016 -0500
Create symlink for libvirt save directory
Nova can fill up the partition that /var/lib/libvirt/qemu/save is on
when nova calls `image-create` on an instance. This occurs because nova
calls libvirt with managedsave which creates a temporary file in the
/var/lib/libvirt/qemu/save location. Libvirt does not allow the location
of /var/lib/libvirt/qemu/save to be configurable so we have to manage it
ourselves via bindmounts or symlinks. In this commit we remove the
/var/lib/libvirt/qemu/save directory and create a symlink in it's place,
pointing to `{{ nova_system_home_folder }}/save` instead (which we also
create). This location was chosen as deployers often have more space
here for nova instances.
Reviewed: https:/ /review. openstack. org/324721 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=a2adac22216 686c38a2dca6992 d41cea9090f992
Committed: https:/
Submitter: Jenkins
Branch: liberty
commit a2adac22216686c 38a2dca6992d41c ea9090f992
Author: Matthew Thode <email address hidden>
Date: Wed Jun 1 23:14:36 2016 -0500
Create symlink for libvirt save directory
Nova can fill up the partition that /var/lib/ libvirt/ qemu/save is on lib/libvirt/ qemu/save location. Libvirt does not allow the location libvirt/ qemu/save to be configurable so we have to manage it lib/libvirt/ qemu/save directory and create a symlink in it's place, home_folder }}/save` instead (which we also
when nova calls `image-create` on an instance. This occurs because nova
calls libvirt with managedsave which creates a temporary file in the
/var/
of /var/lib/
ourselves via bindmounts or symlinks. In this commit we remove the
/var/
pointing to `{{ nova_system_
create). This location was chosen as deployers often have more space
here for nova instances.
Change-Id: I5c96f70aa355cc 02379fe7e068141 6eca53447eb
Partial-Bug: #1585325