5567d92c21
Some service set up tasks use ansible modules that require external python libraries. When using a utility container as a service setup host these ansible tasks will fail if the required libraries are not present in the utility venv. Added openstacksdk to the list of pip packages installed to the container as required for ansible 2.7 and above. Change-Id: I25a89ed706cad0ae3376c466807f3ba024941c2a Closes-Bug: #1830028
64 lines
1.9 KiB
YAML
64 lines
1.9 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.
|
|
|
|
# Set this if ssh access from the utility container to all other hosts is
|
|
# desired
|
|
# utility_ssh_private_key: "{{ lookup('file', '/root/.ssh/id_rsa') }}"
|
|
|
|
galera_client_drop_config_file: true
|
|
|
|
# Ensure that the package state matches the global setting
|
|
utility_package_state: "{{ package_state }}"
|
|
utility_pip_package_state: "latest"
|
|
|
|
# Path to the utility host openstack client venv binaries
|
|
utility_venv_bin: "/openstack/venvs/utility-{{ openstack_release }}/bin"
|
|
|
|
# Distribution packages to be installed into the utility container
|
|
utility_distro_packages:
|
|
- git
|
|
- bash-completion
|
|
|
|
utility_distro_openstack_clients_packages:
|
|
- python-keystoneclient
|
|
- python-neutronclient
|
|
- python-novaclient
|
|
- python-cinderclient
|
|
- python-openstackclient
|
|
|
|
# Python packages to be installed into the utility container
|
|
utility_pip_packages:
|
|
- cryptography
|
|
- pip
|
|
- python-memcached
|
|
- setuptools
|
|
- wheel
|
|
- openstacksdk
|
|
|
|
# Determines whether Cinder backup should be tested
|
|
cinder_service_backup_program_enabled: "{{ hostvars['localhost']['cinder_service_backup_program_enabled'] }}"
|
|
|
|
#
|
|
# Tempest settings
|
|
#
|
|
|
|
# If cinder has a backup service enabled, make sure that Tempest tests it
|
|
tempest_volume_backup_enabled: "{{ cinder_service_backup_program_enabled | bool }}"
|
|
|
|
tempest_log_dir: /var/log/utility
|
|
|
|
# This sets the tempest group to the utility group
|
|
tempest_main_group: utility_all
|