Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions utils/openstack-status
Original file line number Diff line number Diff line change
Expand Up @@ -270,25 +270,25 @@ fi

if test "$keystonerc" && test "$glance"; then
printf "== Glance images ==\n"
glance image-list
openstack image list
fi

if test "$nova"; then
if ! test "$keystonerc" && ! test "$NOVA_USERNAME"; then
test "$keystone" || echo "Warning novarc not sourced" >&2
else
printf "== Nova managed services ==\n"
nova service-list
openstack compute service list

printf "== Nova networks ==\n"
nova network-list
openstack network list

printf "== Nova instance flavors ==\n"
# Check direct access
nova flavor-list
openstack flavor list

printf "== Nova instances ==\n"
# Check access through the API
nova list --all-tenants # instances
openstack server list --all-projects # instances
fi
fi