Install lvm2 for cinder-volume LVM hosts

Currently the LVM2 package is installed by the
openstack_hosts role for the integrated build,
and by a test playbook for the role tests.

This does not seem sensible to me - it would
be better to ensure that the role installs the
distro packages it need in order to function
properly.

Additionally, it is not possible to setup a
loopback device inside an LXC container after
some recent updates to LXC. The secondary
cinder-volume service for LVM2 therefore
does not work, so it is removed from the
inventory to buy some time to come up with
an alternative solution.

Related-Bug: 1698831
Change-Id: Ie8a84a0412989c64fd896e8d781b8e9b2c153556
(cherry picked from commit 1bbe80e83d)
This commit is contained in:
Jesse Pretorius 2017-06-19 15:05:44 +01:00
parent 2b0ed39951
commit bdd22c7c2a
4 changed files with 3 additions and 3 deletions

View File

@ -3,13 +3,11 @@ localhost
infra1
keystone
cinder
cinder_vol
[all_containers]
infra1
keystone
cinder
cinder_vol
[rabbitmq_all]
infra1
@ -42,7 +40,6 @@ cinder
[cinder_volume]
localhost
cinder_vol
[cinder_all:children]
cinder_api

View File

@ -35,5 +35,6 @@ cinder_volume_distro_packages:
cinder_lvm_volume_distro_packages:
- device-mapper-event
- lvm2
- parted
- scsi-target-utils

View File

@ -39,5 +39,6 @@ cinder_volume_distro_packages:
cinder_lvm_volume_distro_packages:
- dmeventd
- lvm2
- parted
- tgt

View File

@ -43,5 +43,6 @@ cinder_volume_distro_packages:
cinder_lvm_volume_distro_packages:
- dmeventd
- lvm2
- parted
- tgt