openstack-ansible-os_cinder/vars/ubuntu-16.04.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

50 lines
1.1 KiB
YAML

---
# Copyright 2016, Intel Corporation.
# Copyright 2016, IBM Corporation.
#
# 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.
## APT Cache options
cache_timeout: 600
# service names
tgt_service_name: tgt
# Common apt packages
cinder_distro_packages:
- libffi-dev
- libkmod-dev
- libkmod2
- libpq-dev
- libssl-dev
- libxslt1-dev
- nfs-common
- open-iscsi
- rpcbind
- rsync
- zlib1g
- zlibc
cinder_developer_mode_distro_packages:
- git-core
cinder_volume_distro_packages:
- qemu-utils
cinder_lvm_volume_distro_packages:
- dmeventd
- lvm2
- parted
- tgt
- thin-provisioning-tools