Re: [Openstack] [nova] [policy] hypervisor list

2014-09-16 Thread Jay Pipes
On 09/15/2014 05:02 AM, Abbass MAROUNI wrote: Thanks Jay, Does it require any admin rights to do a custom query on the Nova database ? And if so do you know where to look for such a query ? Which part of the nova code to include in the filter ? I'm not talking about doing something via the

Re: [Openstack] [nova] [policy] hypervisor list

2014-09-12 Thread Jay Pipes
On 09/12/2014 04:08 AM, Abbass MAROUNI wrote: I'm looking to use it in a cinder filter, where the filter will scan the list of VMs on each host to find a suitable one. OK, so not a normal user, but instead a service user (service being cinder itself). If this is a custom filter, I'd just go

Re: [Openstack] [nova] [policy] hypervisor list

2014-09-09 Thread Jay Pipes
On 09/09/2014 05:41 AM, Abbass MAROUNI wrote: Hi guys, Do you know if it is possible to give normal users the right to list hypervisors ? Apparently setting hypervisor policies in /etc/nova/policy.json is not enough the right to do so is buried within the Database or API code. Any workaround ?