Change libvirt volume name to libvirtd

This change is a "futureproofing" thing. It has already been discussed
that libvirt should not be a child of nova and should be removed out
to the base docker directory (just like openvswitch isn't a child of
neutron). That is not going to happen this cycle but when it does we
can't change the name of the volume. This updates the volumes to the
proper name of libvirtd. This is in contrast with the libvirtlogd
volume that will be needed in newton due to libvirt 1.3

Of note, the container can remain named nova_libvirt since we can
change that on the fly later without breaking instances.

This wont break liberty as named_volumes are not backported yet.

TrivialFix

Change-Id: I16cf9e1b1dbba9b5a9f5cc883494580e276d4f72
This commit is contained in:
SamYaple 2016-03-15 19:37:17 +00:00
parent f4d6aaf097
commit b98bc3a458
2 changed files with 4 additions and 3 deletions

View File

@ -12,8 +12,8 @@
- "/lib/modules:/lib/modules:ro"
- "/run/:/run/"
- "/sys/fs/cgroup:/sys/fs/cgroup"
- "libvirtd:/var/lib/libvirt"
- "nova_compute:/var/lib/nova/"
- "nova_libvirt:/var/lib/libvirt"
when: inventory_hostname in groups['compute']
- name: Starting nova-compute container
@ -28,8 +28,8 @@
- "/lib/modules:/lib/modules:ro"
- "/run:/run"
- "kolla_logs:/var/log/kolla/"
- "libvirtd:/var/lib/libvirt"
- "nova_compute:/var/lib/nova/"
- "nova_libvirt:/var/lib/libvirt"
when:
- inventory_hostname in groups['compute']
- not enable_nova_fake | bool

View File

@ -50,10 +50,11 @@ else
heka{,_socket} \
ironic_pxe \
kolla_logs \
libvirtd \
mariadb \
mongodb \
neutron_metadata_socket \
nova_{compute,libvirt} \
nova_compute \
openvswitch_db \
rabbitmq
)