Ask Your Question
0

API call for availability Zone

asked 2014-01-28 23:11:25 -0600

Lokesh gravatar image

Hi ,

  Can anyone help me out in finding the API call for creating the availability Zone .

Regards , Lokesh.S

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
1

answered 2014-01-29 03:42:45 -0600

ramishra gravatar image

Create a host aggregate that is exposed to users as an availability zone.

Russel has explained it very well here..

http://russellbryantnet.wordpress.com/2013/05/21/availability-zones-and-host-aggregates-in-openstack-compute-nova/

As far as API is concerned..

v2/​{tenant_id}​/os-aggregates

JSON Request:

{ "aggregate": { "name": "name", "availability_zone": "nova" } }

You can create an aggregate and availability zone together...Then add hosts to the aggregates.

refer API doc on aggregates for details..

http://api.openstack.org/api-ref-compute-ext.html

edit flag offensive delete link more
1

answered 2014-01-29 02:19:25 -0600

vijesh shetty gravatar image

From Grizzly onwards, availabaliltiy zone does not work (Atleast, I couldn't get it to work) . You can use, host aggregation instead: http://www.mirantis.com/blog/segregation-in-grizzly-availability-zones-versus-host-aggregates/ http://www.sebastien-han.fr/blog/2013/01/24/openstack-nova-play-with-availability-zones/

Thanks, Vijesh

edit flag offensive delete link more
0

answered 2014-02-06 01:09:02 -0600

Lokesh gravatar image

Hello ,

            Thanks for the link guys , it helped me a lot to fetch the availability Zone .
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: 2014-01-28 23:11:25 -0600

Seen: 218 times

Last updated: Feb 06 '14