Openstack API 'zone-list' fails for non-admin users

Bug #764426 reported by Édouard Thuleau

This bug report was converted into a question: question #153261: Openstack API 'zone-list' fails for non-admin users.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

Due to the way services are retrieved, 'zone-list' returns NotAuthorized.

Tags: api openstack
Revision history for this message
Édouard Thuleau (ethuleau) wrote :

I think, I don't understand the zone concept.
If I do a euca-describe-availability-zones verbose, I've got this output :

AVAILABILITYZONE nova available
AVAILABILITYZONE |- p-hs22-12
AVAILABILITYZONE | |- nova-network enabled :-) 2011-04-18 10:13:40
AVAILABILITYZONE | |- nova-compute enabled :-) 2011-04-18 10:13:41
AVAILABILITYZONE |- p-novamaster
AVAILABILITYZONE | |- nova-scheduler enabled :-) 2011-04-18 10:13:43
AVAILABILITYZONE | |- nova-volume enabled :-) 2011-04-18 10:13:43
AVAILABILITYZONE |- p-hs22-13
AVAILABILITYZONE | |- nova-compute enabled :-) 2011-04-18 10:13:37

So I can see a zone with my nova components of this zone. It's a default zone (I didn't create it).
But, If I do nova zone-list with admin rights, I've got :
+----+------+-----------+--------------+---------+
| ID | Name | Is Active | Capabilities | API URL |
+----+------+-----------+--------------+---------+
+----+------+-----------+--------------+---------+

No zones are listed. What's the differences between the zone commands of the two APIs ?

Changed in nova:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.