Run tempest tests

The utility_all group was not added to nova and the tempest tests are
not being run against the tempest host.

Additionally, scheduling fails if the ansible_host for localhost is
"localhost", it needs to be set to an IP to prevent failures such as:

ValueError: failed to detect a valid IP address from 'localhost'

The defaulted "neutron_provider_networks" in the common test repository
takes precedence over the host_vars in the repository, we need to change
this by setting it in the nova-overrides.

This PR fixes that.

Change-Id: If7b731814a16593434952300679deb286093d899
This commit is contained in:
Andy McCrae 2016-09-29 10:45:40 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 2037030f12
commit a2ffeab2ca
4 changed files with 14 additions and 0 deletions

View File

@ -18,6 +18,7 @@ neutron_provider_networks:
network_mappings: "flat:eth12" network_mappings: "flat:eth12"
network_vxlan_ranges: "1:1000" network_vxlan_ranges: "1:1000"
ansible_become: True ansible_become: True
ansible_host: 127.0.0.1
neutron_local_ip: 10.1.2.1 neutron_local_ip: 10.1.2.1
ansible_python_interpreter: "/usr/bin/python2" ansible_python_interpreter: "/usr/bin/python2"
bridges: bridges:

View File

@ -101,3 +101,6 @@ nova_compute
nova_conductor nova_conductor
nova_console nova_console
nova_scheduler nova_scheduler
[utility_all]
infra1

View File

@ -23,6 +23,11 @@ tempest_images:
- url: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-lxc.tar.gz" - url: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-lxc.tar.gz"
sha256: "e8172c603fad47f4c95e67bd2751c2977e07164c9ebdfcf3f9c1d7ff598ed217" sha256: "e8172c603fad47f4c95e67bd2751c2977e07164c9ebdfcf3f9c1d7ff598ed217"
neutron_provider_networks:
network_types: "vxlan,flat"
network_mappings: "flat:eth12"
network_vxlan_ranges: "1:1000"
tempest_tempest_conf_overrides: tempest_tempest_conf_overrides:
'compute-feature-enabled': 'compute-feature-enabled':
'config_drive': 'false' 'config_drive': 'false'

View File

@ -18,3 +18,8 @@
# libvirt-bin, leading to nova-compute failing to start. # libvirt-bin, leading to nova-compute failing to start.
# TODO(jmccrory) Revisit this at some point # TODO(jmccrory) Revisit this at some point
pip_install_options: "--no-binary libvirt-python" pip_install_options: "--no-binary libvirt-python"
neutron_provider_networks:
network_types: "vxlan,flat"
network_mappings: "flat:eth12"
network_vxlan_ranges: "1:1000"