Re: [Openstack] Nova API to get VMs belonging to other users / tenants

2013-07-15 Thread Narayanan, Krishnaprasad
Hi Brent and All,

I have assigned the user with administrative role in keystone.

When I use the nova-api for getting the server details passing the 
X-Auth-Token, I am unable to see the VMs belonging to other users / tenants. 
Can somebody guide me where I am going wrong?

Thanks
Krishnaprasad

From: Brent Roskos [mailto:brent.ros...@solinea.com]
Sent: Dienstag, 25. Juni 2013 23:16
To: Narayanan, Krishnaprasad
Cc: openstack@lists.launchpad.net
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 
naray...@uni-mainz.demailto:naray...@uni-mainz.de 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@lists.launchpad.netmailto:openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Nova API to get VMs belonging to other users / tenants

2013-07-10 Thread Narayanan, Krishnaprasad
Hi Brent,

I am running OpenStack ESSEX in my cloud. If it is possible, can you tell me 
the steps to assign an admin role to a user in keystone.

Do I have to change anything in the policy.json related to the servers API?

Currently I use this API for getting the servers details - 
compute_extension:extended_server_attributes: []

Thanks
Krishnaprasad
From: Brent Roskos [mailto:brent.ros...@solinea.com]
Sent: Dienstag, 25. Juni 2013 23:16
To: Narayanan, Krishnaprasad
Cc: openstack@lists.launchpad.net
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 
naray...@uni-mainz.demailto:naray...@uni-mainz.de 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@lists.launchpad.netmailto:openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Nova API to get VMs belonging to other users / tenants

2013-06-26 Thread Narayanan, Krishnaprasad
Hi Brent,

Thanks for your suggestion. I will try it out.

Cheers,
Krishnaprasad
From: Brent Roskos [mailto:brent.ros...@solinea.com]
Sent: Dienstag, 25. Juni 2013 23:16
To: Narayanan, Krishnaprasad
Cc: openstack@lists.launchpad.net
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 
naray...@uni-mainz.demailto:naray...@uni-mainz.de 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@lists.launchpad.netmailto:openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Nova API to get VMs belonging to other users / tenants

2013-06-25 Thread Narayanan, Krishnaprasad
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Nova API to get VMs belonging to other users / tenants

2013-06-25 Thread Brent Roskos
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 
naray...@uni-mainz.de 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp