Jean-Philippe Evrard 0772146a59 Ensure python3 compatibility
Currently everything is wired in the venv to work on python2.
If the virtualenv was built during repo build with python3, the
linking of the library will fail, as the lib folder for python2
doesn't exist.

This should solve the issue by ensuring the existing lib folder
of the env is used.

A problem arises then: Different distros organise packages
differently, in different locations. This makes the approach
compatible with multi-distros and multiple python versions.

Change-Id: I02b296089d5351d68bb14e87e458a4f5d18a4776
2018-07-13 08:37:06 +00:00

109 lines
2.4 KiB
YAML

---
# Copyright 2014, 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.
nova_qemu_user: qemu
nova_qemu_group: qemu
libvirt_group: libvirt
libvirt_service_name: libvirtd
# Common yum packages
nova_distro_packages:
- genisoimage
- git
- iptables
- python-keystoneclient
- python-openstackclient
nova_devel_distro_packages:
- libxml2-devel
- postgresql-devel
- python-httplib2
- which
nova_service_distro_packages:
- openstack-nova
- openstack-nova-api
- openstack-nova-cells
- openstack-nova-compute
- openstack-nova-conductor
- openstack-nova-console
- openstack-nova-migration
- openstack-nova-network
- openstack-nova-novncproxy
- openstack-nova-placement-api
- openstack-nova-scheduler
- openstack-nova-serialproxy
- python-memcached
- python-novaclient
- python2-PyMySQL
- uwsgi
- uwsgi-plugin-python
nova_service_extra_distro_packages:
kvm: []
lxd: []
novnc:
- openstack-nova-novncproxy
spice:
- openstack-nova-spicehtml5proxy
nova_novnc_distro_packages:
- js-jquery
- js-underscore
- librabbitmq
- libyaml
nova_compute_barbican_distro_packages:
- cryptsetup
nova_compute_kvm_distro_packages:
- bridge-utils
- device-mapper-multipath
- dosfstools
- genisoimage
- iscsi-initiator-utils
- kpartx
- libvirt-daemon-config-nwfilter
- libvirt-daemon-kvm
- libvirt-daemon-driver-qemu
- libvirt-client
- qemu-kvm-ev
- libvirt-devel
- libvirt-python
- nfs-utils
- python-libguestfs
- qemu-img-ev
- sysfsutils
nova_compute_kvm_packages_to_symlink:
- libvirt-python
- python-libguestfs
nova_compute_ksm_packages:
- ksmtuned
# TODO: add support for LXD on CentOS at some point.
nova_compute_lxd_distro_packages: []
# TODO: add support for PowerVM/NovaLink on CentOS at some point.
nova_compute_powervm_distro_packages: []
novalink_gpg_keys: []
# Needed for nginx cleanup for O -> P upgrades. Remove in Q
nova_nginx_conf_path: "conf.d"
nova_uwsgi_bin: '/usr/sbin'