Do not install libvirt-python wheel when testing

Add pip_install_options to test vars to ensure libvirt-python is built
from source. A pre-built wheel can be missing libvirt capabilities
from the installed version of libvirt-bin, leading to nova-compute
failing to start.

neutron_rabbitmq_* test variables have also been included as they are
required for the neutron install to complete.

Change-Id: I57e9c50bf835db1ffda2507764a09cb74d7c0884
This commit is contained in:
Jimmy McCrory
2016-07-17 18:22:42 -07:00
committed by Jesse Pretorius (odyssey4me)
parent 601c49bdeb
commit 3a428e706a

View File

@@ -68,6 +68,9 @@ neutron_galera_database: neutron
neutron_git_install_branch: master
neutron_ha_vrrp_auth_password: secrete
neutron_management_address: "{{ internal_lb_vip_address }}"
neutron_rabbitmq_port: "{{ rabbitmq_port }}"
neutron_rabbitmq_servers: "{{ rabbitmq_servers }}"
neutron_rabbitmq_use_ssl: "{{ rabbitmq_use_ssl }}"
neutron_rabbitmq_password: secrete
neutron_rabbitmq_userid: neutron
neutron_rabbitmq_vhost: /neutron
@@ -110,6 +113,11 @@ nova_virt_type: qemu
openrc_os_auth_url: "http://127.0.0.1:5000/v3"
openrc_os_domain_name: "Default"
openrc_os_password: "{{ keystone_auth_admin_password }}"
# This ensures that libvirt-python is built from source. A pre-built wheel
# can be missing libvirt capabilities from the installed version of
# libvirt-bin, leading to nova-compute failing to start.
# TODO(jmccrory) Revisit this at some point
pip_install_options: "--no-binary libvirt-python"
rabbitmq_port: 5671
rabbitmq_servers: 10.100.102.101
rabbitmq_use_ssl: true