commit 066012914eb9c41d8f43600198704007d5c04fd6
Author: Matthew Thode <email address hidden>
Date: Tue May 24 13:58:18 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.
Change-Id: I5c96f70aa355cc02379fe7e0681416eca53447eb
Partial-Bug: #1585325
(cherry picked from commit 2599006a81eeb2632a87f5b00d27d5f061f7d14e)
Reviewed: https:/ /review. openstack. org/323654 /git.openstack. org/cgit/ openstack/ openstack- ansible- os_nova/ commit/ ?id=066012914eb 9c41d8f43600198 704007d5c04fd6
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 066012914eb9c41 d8f436001987040 07d5c04fd6
Author: Matthew Thode <email address hidden>
Date: Tue May 24 13:58:18 2016 -0500
Create symlink for libvirt save directory
Nova can fill up the partition that /var/lib/ libvirt/ qemu/save is on libvirt/ qemu/save location. Libvirt does not allow the libvirt/ qemu/save to be configurable so we have
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/
location of /var/lib/
to manage it ourselves via bindmounts or symlinks.
In this commit we remove the /var/lib/ libvirt/ qemu/save directory and home_folder }}/save` instead (which we also create).
create a symlink in it's place, pointing to
`{{ nova_system_
This location was chosen as deployers often have more space here for
nova instances.
Change-Id: I5c96f70aa355cc 02379fe7e068141 6eca53447eb 32a87f5b00d27d5 f061f7d14e)
Partial-Bug: #1585325
(cherry picked from commit 2599006a81eeb26