
python3-cinder is dependent on python3-zstd which requires to have libzstd(x86-64) >= 1.5.5 present. Older python3-zstd can be installed from EPEL, but this needs EPEL repo to be present on the host. As we are adding code for handling extra repos for Cinder - I made it more universal, to handle not only EPEL, but any arbitrary repo in more clear way. This might be helpful as well in case of adding some 3rd party storage requirements. Change-Id: I3039e84740da9c3684293b8e76792659136abf79
79 lines
2.1 KiB
YAML
79 lines
2.1 KiB
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: iscsid
|
|
|
|
# Common yum packages
|
|
cinder_distro_packages:
|
|
- iscsi-initiator-utils
|
|
- kmod-libs
|
|
- libxml2
|
|
- which
|
|
|
|
cinder_service_distro_packages:
|
|
- openstack-cinder
|
|
- python3-systemd
|
|
|
|
cinder_devel_distro_packages:
|
|
- git
|
|
- libxslt-devel
|
|
- kmod-devel
|
|
- postgresql-devel
|
|
- systemd-devel
|
|
- zlib-devel
|
|
|
|
cinder_api_distro_packages: []
|
|
|
|
cinder_volume_service_distro_packages: []
|
|
|
|
cinder_volume_distro_packages_tools:
|
|
- qemu-img
|
|
|
|
cinder_volume_distro_packages:
|
|
- iscsi-initiator-utils
|
|
- nfs-utils
|
|
- rpcbind
|
|
|
|
cinder_lvm_volume_distro_packages:
|
|
- device-mapper-event
|
|
- lvm2
|
|
- parted
|
|
- targetcli
|
|
|
|
cinder_backup_service_distro_packages: []
|
|
|
|
cinder_backup_distro_packages:
|
|
- iscsi-initiator-utils
|
|
- nfs-utils
|
|
- rpcbind
|
|
|
|
_cinder_epel_gpg:
|
|
- key: "/etc/pki/rpm-gpg/{{ cinder_centos_epel_key | basename }}"
|
|
url: "{{ cinder_centos_epel_key }}"
|
|
|
|
_cinder_epel_repo:
|
|
- name: cinder-epel
|
|
baseurl: "{{ cinder_centos_epel_mirror ~ '/' ~ ansible_facts['distribution_major_version'] ~ '/Everything/' ~ ansible_facts['architecture'] }}"
|
|
description: "Extra Packages for Enterprise Linux {{ ansible_facts['distribution_major_version'] }} - $basearch"
|
|
gpgcheck: true
|
|
gpgkey: "file:///etc/pki/rpm-gpg/{{ cinder_centos_epel_key.split('/')[-1] }}"
|
|
enabled: true
|
|
includepkgs:
|
|
- python3-zstd
|
|
|
|
_cinder_extra_gpg_keys: "{{ (cinder_install_method == 'distro') | ternary(_cinder_epel_gpg, []) }}"
|
|
_cinder_extra_repos: "{{ (cinder_install_method == 'distro') | ternary(_cinder_epel_repo, []) }}"
|