From f59f6a6104ecf928a21d8a2c01ceb5d442db6743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= <radoslaw.piliszek@gmail.com>
Date: Fri, 15 Nov 2019 12:35:19 +0100
Subject: [PATCH] CI: Add more service list checks to OS "smoke testing"

Change-Id: Ie7ee70e19536c2d8f4300df55c9c6ca38abb7ae4
---
 tests/test-openstack.sh | 4 ++++
 tools/setup_gate.sh     | 1 +
 2 files changed, 5 insertions(+)

diff --git a/tests/test-openstack.sh b/tests/test-openstack.sh
index f9d218773f..51fb115d79 100755
--- a/tests/test-openstack.sh
+++ b/tests/test-openstack.sh
@@ -10,6 +10,10 @@ export PYTHONUNBUFFERED=1
 function test_smoke {
     openstack --debug compute service 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 {
diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh
index 8edb27cc9f..8c74a803a2 100755
--- a/tools/setup_gate.sh
+++ b/tools/setup_gate.sh
@@ -13,6 +13,7 @@ function setup_openstack_clients {
     virtualenv ~/openstackclient-venv
     ~/openstackclient-venv/bin/pip install -U pip
     ~/openstackclient-venv/bin/pip install python-openstackclient
+    ~/openstackclient-venv/bin/pip install python-heatclient
     if [[ $ACTION == zun ]]; then
         ~/openstackclient-venv/bin/pip install python-zunclient
     fi