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.
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.
To post a comment you must log in.
I think, I don't understand the zone concept. availability- zones verbose, I've got this output :
If I do a euca-describe-
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 ?