The charm should automatically add new compute to respective AZ
Bug #1873470 reported by
Andrey Grebennikov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
When utilizing MAAS as the machines supplier, it is possible to retrieve information about the MAAS AZ that the machine belongs to. Juju provides this info as the environment variable JUJU_AVAILABILI
In case there is the same structure of the availability zones in both MAAS and OpenStack, the charm should automatically add the new compute to the respective OpenStack AZ once deployed.
Changed in charm-nova-compute: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
To post a comment you must log in.
This feature already exists in the nova-compute charm. Per the charm readme:
There are two options to provide default_ availability_ zone config
for nova nodes:
default- availability- zone failure- domain
customize-
The order of precedence is as follows:
1. Information from a Juju provider (JUJU_AVAILABIL ITY_ZONE) failure- domain is set to True and Juju TY_ZONE to a non-empty value;
if customize-
has set the JUJU_AVAILABILI
2. The value of default- availability- zone will be used failure- domain is set to True but no AVAILABILITY_ ZONE is provided via hook
if customize-
JUJU_
context by the Juju provider;
3. Otherwise, the value of default- availability- zone
charm option will be used.