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 1bbe80e83dddbd14838f63c2c881627a74a3510b)
Reviewed: https:/ /review. openstack. org/475508 /git.openstack. org/cgit/ openstack/ openstack- ansible- os_cinder/ commit/ ?id=21f1cec004c ff2a03705606cd5 8863b19c75630b
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 21f1cec004cff2a 03705606cd58863 b19c75630b
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 4838f63c2c88162 7a74a3510b)
Change-Id: Ie8a84a0412989c
(cherry picked from commit 1bbe80e83dddbd1