scenario001: run Gnocchi tempest tests

* drop workaround to deploy Gabbi from pip, and use RDO package.
* Add gnocchi in the Puppet Tempest interface.
* Add gnocchi tests in the list of tests we want to run.

Change-Id: I51094b28c42f7c64d4357f49d0932e027cbd6310
This commit is contained in:
Emilien Macchi 2016-05-19 22:24:22 +02:00
parent 04e82b16cf
commit 8034571ff8
3 changed files with 14 additions and 4 deletions

@ -19,10 +19,14 @@ case $::osfamily {
$ipv6 = false
# we need https://review.openstack.org/#/c/318503/ backported in Mitaka / UCA
$ceilometer_enabled = false
# gnocchi is not packaged in Ubuntu Cloud Archive
# https://bugs.launchpad.net/cloud-archive/+bug/1535740
$gnocchi_enabled = false
}
'RedHat': {
$ipv6 = true
$ceilometer_enabled = true
$gnocchi_enabled = true
}
default: {
fail("Unsupported osfamily (${::osfamily})")
@ -77,4 +81,5 @@ class { '::openstack_integration::tempest':
cinder => true,
ceilometer => $ceilometer_enabled,
aodh => $ceilometer_enabled,
gnocchi => $gnocchi_enabled,
}

@ -16,6 +16,10 @@
# (optional) Define if Glance needs to be tested.
# Default to true.
#
# [*gnocchi*]
# (optional) Define if Gnocchi needs to be tested.
# Default to false.
#
# [*heat*]
# (optional) Define if Heat needs to be tested.
# Default to false.
@ -61,6 +65,7 @@ class openstack_integration::tempest (
$ceilometer = false,
$cinder = false,
$glance = true,
$gnocchi = false,
$heat = false,
$horizon = false,
$ironic = false,
@ -118,6 +123,7 @@ class openstack_integration::tempest (
ironic_available => $ironic,
zaqar_available => $zaqar,
mistral_available => $mistral,
gnocchi_available => $gnocchi,
public_network_name => 'public',
dashboard_url => $::openstack_integration::config::base_url,
flavor_ref => '42',

@ -135,10 +135,6 @@ fi
# Tempest plugin tests require tempest-lib to be installed
$SUDO pip install tempest-lib
# Install Gabbi with pip until it's packaged in RDO:
# https://bugzilla.redhat.com/show_bug.cgi?id=1252812
$SUDO pip install gabbi
set +e
# Select what to test:
# Smoke suite
@ -150,6 +146,9 @@ TESTS="${TESTS} dashboard"
# Aodh
TESTS="${TESTS} TelemetryAlarming"
# Gnocchi
TESTS="${TESTS} gnocchi.tempest"
# Ironic
# Note: running all Ironic tests under SSL is not working
# https://bugs.launchpad.net/ironic/+bug/1554237