CI: Add more service list checks to OS "smoke testing"

Change-Id: Ie7ee70e19536c2d8f4300df55c9c6ca38abb7ae4
This commit is contained in:
Radosław Piliszek 2019-11-15 12:35:19 +01:00
parent a52808c5bd
commit f59f6a6104
2 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,10 @@ export PYTHONUNBUFFERED=1
function test_smoke { function test_smoke {
openstack --debug compute service list openstack --debug compute service list
openstack --debug network agent list openstack --debug network agent list
openstack --debug orchestration service list
if [[ $ACTION =~ "ceph" ]] || [[ $ACTION == "cinder-lvm" ]]; then
openstack --debug volume service list
fi
} }
function test_instance_boot { function test_instance_boot {

View File

@ -13,6 +13,7 @@ function setup_openstack_clients {
virtualenv ~/openstackclient-venv virtualenv ~/openstackclient-venv
~/openstackclient-venv/bin/pip install -U pip ~/openstackclient-venv/bin/pip install -U pip
~/openstackclient-venv/bin/pip install python-openstackclient ~/openstackclient-venv/bin/pip install python-openstackclient
~/openstackclient-venv/bin/pip install python-heatclient
if [[ $ACTION == zun ]]; then if [[ $ACTION == zun ]]; then
~/openstackclient-venv/bin/pip install python-zunclient ~/openstackclient-venv/bin/pip install python-zunclient
fi fi