Re: [Openstack] Viewing VM's hypervisors as a non-admin user?

2018-09-04 Thread Mohammed Naser
hostId in the API exposes that without telling you the exact host
On Tue, Sep 4, 2018 at 4:49 PM Bernd Bausch  wrote:
>
> It’s probably this policy rule:
>
> "os_compute_api:os-extended-server-attributes": "rule:admin_api"
>
>
> See also 
> http://git.openstack.org/cgit/openstack/nova/tree/nova/policies/extended_server_attributes.py
>
> Bernd
>
> On Sep 5, 2018, at 4:20, Ken D'Ambrosio  wrote:
>
> Hey, all.  We've got a Juno cloud, and it would be really handy for some of 
> our engineers if they could see which VMs wound up on which hypervisors.  I'm 
> unsure how to make that happen; I'm afraid the documentation on the options 
> of the policy.json file is a bit opaque.  How would I go about making this 
> happen, assuming it's even possible?
>
> Thanks!
>
> -Ken
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



-- 
Mohammed Naser — vexxhost
-
D. 514-316-8872
D. 800-910-1726 ext. 200
E. mna...@vexxhost.com
W. http://vexxhost.com

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Viewing VM's hypervisors as a non-admin user?

2018-09-04 Thread Bernd Bausch
It’s probably this policy rule: 

"os_compute_api:os-extended-server-attributes": "rule:admin_api"

See also 
http://git.openstack.org/cgit/openstack/nova/tree/nova/policies/extended_server_attributes.py

Bernd

> On Sep 5, 2018, at 4:20, Ken D'Ambrosio  wrote:
> 
> Hey, all.  We've got a Juno cloud, and it would be really handy for some of 
> our engineers if they could see which VMs wound up on which hypervisors.  I'm 
> unsure how to make that happen; I'm afraid the documentation on the options 
> of the policy.json file is a bit opaque.  How would I go about making this 
> happen, assuming it's even possible?
> 
> Thanks!
> 
> -Ken
> 
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Viewing VM's hypervisors as a non-admin user?

2018-09-04 Thread Ken D'Ambrosio
Hey, all.  We've got a Juno cloud, and it would be really handy for some 
of our engineers if they could see which VMs wound up on which 
hypervisors.  I'm unsure how to make that happen; I'm afraid the 
documentation on the options of the policy.json file is a bit opaque.  
How would I go about making this happen, assuming it's even possible?


Thanks!

-Ken

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack