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.
Reviewed: https:/ /review. openstack. org/475396 /git.openstack. org/cgit/ openstack/ openstack- ansible- os_cinder/ commit/ ?id=1bbe80e83dd dbd14838f63c2c8 81627a74a3510b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1bbe80e83dddbd1 4838f63c2c88162 7a74a3510b
Author: Jesse Pretorius <email address hidden>
Date: Mon Jun 19 15:05:44 2017 +0100
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 64fd896e8d781b8 e9b2c153556
Change-Id: Ie8a84a0412989c