← Back to team overview

openstack team mailing list archive

OpenStack + Nova-manage service list + Script for non-admin users

 

Dear ALL,

I want to write a script which shows the number of physical machines on our
lab's cloud. This script should show detailed list of all the OpenStack
running services filtered by host and service name. It should also show the
list of all VM instances launched on each physical host.

Using an admin privilege i still can see on the command line by running the
following commands

#*nova-manage service list*  # shows list of all the OpenStack running
services filtered by host and service name

#*nova list * #list the running instances
#*nova show InstanceID* (for example,
d1df1b5a-70c4-4fed-98b7-423362f2c47c)   #information associated with the
instance




*is there anyway to wire a script which populates the above information for
a non-admin user? I mean, for a user who don't have enough privilege to
access the databases.*


Any script tip on how I can approach this problem is highly appreciated.

Thank you very so much for your time and taking my request in to
consideration.

With best regards,


Desta