Mailing List Archive

Viewing VM's hypervisors as a non-admin user?
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
Re: Viewing VM's hypervisors as a non-admin user? [ In reply to ]
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 <ken@jots.org> 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
Re: Viewing VM's hypervisors as a non-admin user? [ In reply to ]
hostId in the API exposes that without telling you the exact host
On Tue, Sep 4, 2018 at 4:49 PM Bernd Bausch <berndbausch@gmail.com> 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 <ken@jots.org> 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. mnaser@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