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

This commit is contained in:
Zuul 2019-11-21 10:56:56 +00:00 committed by Gerrit Code Review
commit 7856e72ba8
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