Magnum: Enable API test

This enables the basic API test of Magnum so that we can ensure API and
the conductor services are running.

Also, recent magnum packages require python-werkzeug[1] and we don't
have to install the package additionally. This removes the outdated
(and unused) workaround.

[1] bafe87ce31

Change-Id: I5eb150def6744fb52043ef8413e72514d13f9c2e
This commit is contained in:
Takashi Kajinami 2023-02-24 03:37:54 +09:00
parent fe75d23e76
commit 14d12f96c7
3 changed files with 3 additions and 9 deletions

View File

@ -108,9 +108,6 @@ class { 'openstack_integration::tempest':
# NOTE(tkajinam): The scenario job we enable requires cinder, which is not
# enabled in this scenario.
heat => false,
# NOTE(tobias-urdin): We have tempest disabled because we cannot
# run it when instances does not have internet acces to
# deploy for example Docker.
magnum => false,
magnum => true,
neutron_driver => 'ovn',
}

View File

@ -360,6 +360,7 @@ class openstack_integration::tempest (
if $magnum {
class { 'tempest::magnum':
provision_image => false,
tempest_config_file => '/tmp/openstack/tempest/etc/tempest.conf',
}
}

View File

@ -285,11 +285,7 @@ echo "ironic_tempest_plugin.tests.api.admin.test_drivers" >> /tmp/openstack/temp
# deploy docker for example.
# Magnum
#echo "test_create_list_sign_delete_clusters" >> /tmp/openstack/tempest/test-include-list.txt
# Below is here just for testing in ci, would be removed soon, at least below version of werkzeug is required for magnum tls to work
#if is_fedora; then
# $SUDO yum -y install http://cbs.centos.org/kojifiles/packages/python-werkzeug/0.11.6/1.el7/noarch/python-werkzeug-0.11.6-1.el7.noarch.rpm
# $SUDO systemctl restart openstack-magnum-*
#fi
echo "magnum_tempest_plugin.tests.api.v1.test_magnum_service.MagnumServiceTest" >> /tmp/openstack/tempest/test-include-list.txt
# Zaqar
echo "v2.test_queues.TestManageQueue" >> /tmp/openstack/tempest/test-include-list.txt