I previously wrote an article about OpenStack and availability zones, unfortunately the full potential wasn’t entirely explored in Folsom, at least clients weren’t able to see the AZ available. The command finally landed in Grizzly.
$ nova availability-zone-list +------+-----------+ | Name | Status | +------+-----------+ | nova | available | | ssd | available | | sata | available | +------+-----------+
Update with the host aggregate. I won’t go to far with it since there are already some blogs explaining it and also the official doc. Thus just a quick setup.
W Note: Admin API only
First create 2 zones:
$ nova aggregate-create test-aggregate2 toto +----+-----------------+-------------------+-------+----------+ | Id | Name | Availability Zone | Hosts | Metadata | +----+-----------------+-------------------+-------+----------+ | 2 | test-aggregate2 | toto | | | +----+-----------------+-------------------+-------+----------+ $ nova aggregate-create test-aggregate blabla +----+----------------+-------------------+-------+----------+ | Id | Name | Availability Zone | Hosts | Metadata | +----+----------------+-------------------+-------+----------+ | 3 | test-aggregate | blabla | | | +----+----------------+-------------------+-------+----------+
$ nova availability-zone-list +--------+-----------+ | Name | Status | +--------+-----------+ | blabla | available | | toto | available | +--------+-----------+
Comments