Ask Your Question
0

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

asked 2011-04-18 10:06:14 -0500

ethuleau gravatar image

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

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-19 14:10:00 -0500

ethuleau gravatar image

Thanks Dan Prince, that solved my question.

edit flag offensive delete link more
0

answered 2011-04-18 10:20:26 -0500

ethuleau gravatar image

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 ?

edit flag offensive delete link more
0

answered 2011-04-19 02:37:46 -0500

The zones you see when running the 'euca-describe-availability-zones' command are meant to implement the availability feature here:

http://aws.amazon.com/ec2/

This is an end user API feature and is available to non-admin users using the EC2 API in Openstack.


Zones within Nova are logical groupings of services. They are configured by admins using nova-manage, the database, config files, etc.

You can read more about them here:

http://wiki.openstack.org/MultiClusterZones (http://wiki.openstack.org/MultiCluste...)

Hope this helps.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-18 10:06:14 -0500

Seen: 13 times

Last updated: Apr 19 '11