Matthew Thode 066012914e 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 2599006a81)
2016-05-31 23:30:44 -05:00
2016-04-02 14:47:09 -04:00
2016-05-05 13:47:14 +00:00
2016-04-18 07:58:57 +00:00

os_nova role

tags

openstack, cloud, ansible, os_nova

category

*nix

os_nova Role

- name: os_nova role
  hosts: "hosts"
  user: root
  roles:
    - { role: "os_nova" }
Description
Role os_nova for OpenStack-Ansible
Readme 16 MiB
Languages
Jinja 66.7%
Python 30.9%
Shell 2.4%