[openstack-dev] Availability Zones
Joe Gordon
jogo at cloudscaling.com
Fri Jan 18 21:51:38 UTC 2013
On Thu, Jan 17, 2013 at 1:17 PM, Day, Phil <philip.day at hp.com> wrote:
> Hi George****
>
> ** **
>
> **a) **in what circumstances availability zones show up in an
> OpenStack deployment****
>
> ** **
>
> Only if you have specifically configures them. Until recently this was
> via the nova.conf file on each compute host. Now you use the API to
> create an aggregate as an availability zone and add hosts to it.****
>
> ** **
>
> b) how do I list them via API?****
>
> ** **
>
> I think that currently only the EC2 APi has this capability – but there is
> a blueprint to add something similar to the OSAPI. If your using the
> newer aggregate model then you can list the aggregates via the API.
>
While this isn't entirely what you were asking for, there is an admin only
extension called os-hosts (nova host-list in the CLI) that Lists all hosts
by service along with zone.
$ nova host-list
+-----------+-------------+----------+
| host_name | service | zone |
+-----------+-------------+----------+
| precise64 | cert | internal |
| precise64 | compute | nova |
| precise64 | conductor | internal |
| precise64 | consoleauth | internal |
| precise64 | network | internal |
| precise64 | scheduler | internal |
+-----------+-------------+----------+
> ****
>
> ** **
>
> Hope that helps,****
>
> Phil****
>
> ** **
>
> *From:* George Reese [mailto:george.reese at imaginary.com]
> *Sent:* 17 January 2013 16:15
> *To:* openstack-dev at lists.openstack.org
> *Subject:* [openstack-dev] Availability Zones****
>
> ** **
>
> Can anyone tell me a) in what circumstances availability zones show up in
> an OpenStack deployment and b) how do I list them via API?****
>
> ** **
>
> OB: compat gripe****
>
> ** **
>
> -George****
>
> ** **
>
> --****
>
> George Reese (george.reese at imaginary.com)
> t: @GeorgeReese m: +1(207)956-0217 Skype:
> nspollution****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130118/da4f70ef/attachment.html>
More information about the OpenStack-dev
mailing list