Change-Id: I7be6a89d7b0fb7997ea05607d45e792e0ce57051
Signed-off-by: Tim Rozet <trozet@redhat.com>
echo "Checking OpenStack basic services:"
-commands=('openstack endpoint list' 'nova list' 'neutron net-list' \
- 'glance image-list' 'cinder list')
+commands=('openstack endpoint list' 'openstack server list' 'openstack network list' \
+ 'openstack image list' 'openstack volume list')
for cmd in "${commands[@]}"
do
- service=$(echo $cmd | awk '{print $1}')
+ service=$(echo $cmd | awk '{print $1, $2}')
echo ">>Checking $service service..."
$cmd &>/dev/null
result=$?