[Openstack] how to get 'availability zone' of an instance?

Ray Sun qsun01185 at cienet.com.cn
Thu Oct 25 08:17:59 UTC 2012


If you run euca-run-instances, you will see there's an --availability-zone
options there.

euca-run-instances  [-A, --access-key <access_key> ][-A, --secret-key
                    <secret_key> ][--config <config_path>
                    ][--debug][--debugger][-h, --help][--region
<region_name>
                    ][-U, --url <url> ][--version][--euca-auth][-n,
--instance-
                    count <count> ][-g, --group <group_name> ][-k, --key
                    <keyname> ][-d, --user-data <user_data>
][--user-data-force
                    <user_data_force> ][-f, --user-data-file
<user_data_file>
                    ][--addressing <addressing> ][-t, --instance-type
                    <instance_type> ][--kernel <kernel> ][--ramdisk
<ramdisk>
                    ][-b, --block-device-mapping <block_device_mapping>
                    ][--monitor][-s, --subnet <subnet> ][-z,
--availability-zone
                    <zone> ] image_id

- Ray
Yours faithfully, Kind regards.

CIeNET Technologies (Beijing) Co., Ltd
Email: qsun01185 at cienet.com.cn
Office Phone: +86-01081470088-7079
Mobile Phone: +86-13581988291



On Thu, Oct 25, 2012 at 4:13 PM, gtt116 <gtt116 at 126.com> wrote:

> I look around by using `nova show` and using the REST api, but can not
> find the 'availability zone' field.
> Can any one tell me how to get it ? Thanks!
>
> -gtt
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121025/0449fa0f/attachment.html>


More information about the Openstack mailing list