Files
openstack-ansible-os_nova/vars/ubuntu-16.04.yml
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

159 lines
3.3 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.
## APT Cache options
cache_timeout: 600
libvirt_group: libvirt
libvirt_service_name: libvirtd
# Common apt packages
nova_distro_packages:
- genisoimage
- git
- iptables
- python-keystoneclient
- python-openstackclient
nova_devel_distro_packages:
- libpq-dev
- libxml2-dev
- python-httplib2
nova_service_distro_packages:
- nova-api
- nova-cells
- nova-conductor
- nova-console
- nova-consoleauth
- nova-network
- nova-novncproxy
- nova-placement-api
- nova-scheduler
- nova-serialproxy
- nova-volume
- python-memcache
- python-novaclient
- python-pymysql
- python-sqlalchemy
- uwsgi
- uwsgi-plugin-python
nova_service_extra_distro_packages:
kvm:
- nova-compute-kvm
lxd:
- nova-compute-lxd
novnc:
- nova-novncproxy
spice:
- nova-spiceproxy
nova_novnc_distro_packages:
- libjs-jquery
- libjs-sphinxdoc
- libjs-underscore
- libjs-swfobject
- librabbitmq4
- libyaml-0-2
nova_compute_barbican_distro_packages:
- cryptsetup
# the qemu-system-.*, qemu-block-extra, qemu-utils, qemu-user packages are explictly listed
# for consistent upgrades (they will all be to the same version)
nova_compute_kvm_distro_packages:
- bridge-utils
- genisoimage
- kpartx
- libvirt-bin
- open-iscsi
- python-guestfs
- python3-guestfs
- python-libvirt
- python3-libvirt
- qemu
- qemu-utils
- sysfsutils
- vlan
- nfs-common
- dosfstools
- dosfstools-dbg
- multipath-tools
- qemu-system
- qemu-system-arm
- qemu-system-mips
- qemu-system-ppc
- qemu-system-sparc
- qemu-system-x86
- qemu-system-misc
- qemu-block-extra
- qemu-utils
- qemu-user
- qemu-kvm
nova_compute_kvm_packages_to_symlink:
- python-libvirt
- python3-libvirt
- python-guestfs
- python3-guestfs
nova_compute_lxd_distro_packages:
- bridge-utils
- dosfstools
- dosfstools-dbg
- genisoimage
- kpartx
- lxd
- multipath-tools
- nfs-common
- open-iscsi
- python-guestfs
- sysfsutils
- vlan
- thin-provisioning-tools
# nova powervm virt driver
nova_compute_powervm_distro_packages:
- bridge-utils
- genisoimage
- kpartx
- open-iscsi
- python-guestfs
- sysfsutils
- vlan
- nfs-common
- dosfstools
- dosfstools-dbg
- multipath-tools
- pvm-novalink
nova_compute_ksm_packages:
- ksmtuned
novalink_repo:
repo: "deb [arch=ppc64el] http://public.dhe.ibm.com/systems/virtualization/Novalink/debian/ novalink_1.0.0 non-free"
state: "present"
filename: "public_dhe_ibm_com_systems_virtualization_Novalink_debian"
novalink_gpg_keys:
- url: "http://public.dhe.ibm.com/systems/virtualization/Novalink/debian/novalink-gpg-pub.key"
state: "present"
# Needed for nginx cleanup for O -> P upgrades. Remove in Q
nova_nginx_conf_path: "sites-available"
nova_uwsgi_bin: '/usr/bin'