openstack-ansible-os_cinder/vars/redhat-7.yml
Jesse Pretorius 1bbe80e83d 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
2017-06-19 14:23:12 +00:00

42 lines
1017 B
YAML

---
# Copyright 2016, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# service names
tgt_service_name: tgtd
# Common yum packages
cinder_distro_packages:
- nfs-utils
- rpcbind
- libxslt-devel
- postgresql-devel
- kmod-devel
- kmod-libs
- zlib-devel
- which
- iscsi-initiator-utils
cinder_developer_mode_distro_packages:
- git
cinder_volume_distro_packages:
- qemu-img-ev
cinder_lvm_volume_distro_packages:
- device-mapper-event
- lvm2
- parted
- scsi-target-utils