openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #24711
Re: Nova API to get VMs belonging to other users / tenants
Hi Brent,
Thanks for your suggestion. I will try it out.
Cheers,
Krishnaprasad
From: Brent Roskos [mailto:brent.roskos@xxxxxxxxxxx]
Sent: Dienstag, 25. Juni 2013 23:16
To: Narayanan, Krishnaprasad
Cc: openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] Nova API to get VMs belonging to other users / tenants
No - you need a token with admin creds for that (user must have admin role in keystone).
Once you have the correct creds, you can use the nova cli:
nova list --all-tenants
If you wanted to see how this looks in the raw API, just pass the debug flag in the cli and it will show you the correct post.
Brent
On Tue, Jun 25, 2013 at 11:59 AM, Narayanan, Krishnaprasad <narayana@xxxxxxxxxxxx<mailto:narayana@xxxxxxxxxxxx>> wrote:
Hallo All,
Is it possible using the Nova API for a normal user / tenant to get all VMs belonging to other users / tenants?
If yes, can I get to know how to achieve this?
Thanks
Krishnaprasad
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
References