From 3a428e706a6cfa4f066153b9bc6c99733a3db59f Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Sun, 17 Jul 2016 18:22:42 -0700 Subject: [PATCH] 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 --- tests/test-vars.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test-vars.yml b/tests/test-vars.yml index 40c4d022..728d76b6 100644 --- a/tests/test-vars.yml +++ b/tests/test-vars.yml @@ -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