The change adds an option to the charm to use JUJU_AVAILABILITY_ZONE
environment variable set by Juju for the hook environment based on the
underlying provider's availability zone information for a given machine.
This information is used to configure the availability_zone setting for
Neutron DHCP and L3 agents specifically because they support it
and for other agents (because both neutron.conf and agent-specific
configuration files are loaded) such as metadata agents and lbaas
agents.
Additionally, a setting is added to allow changing the default
availability zone because 'nova' is a default value coming from the
Neutron defaults for agents.
Reviewed: https:/ /review. openstack. org/608109 /git.openstack. org/cgit/ openstack/ charm-neutron- gateway/ commit/ ?id=71c0120d213 e2adbd42df84702 2d8e36b5df9417
Committed: https:/
Submitter: Zuul
Branch: master
commit 71c0120d213e2ad bd42df847022d8e 36b5df9417
Author: Dmitrii Shcherbakov <email address hidden>
Date: Wed Oct 3 14:36:52 2018 +0100
Allow Juju AZ context information to be used
The change adds an option to the charm to use JUJU_AVAILABILI TY_ZONE
environment variable set by Juju for the hook environment based on the
underlying provider's availability zone information for a given machine.
This information is used to configure the availability_zone setting for
Neutron DHCP and L3 agents specifically because they support it
and for other agents (because both neutron.conf and agent-specific
configuration files are loaded) such as metadata agents and lbaas
agents.
Additionally, a setting is added to allow changing the default
availability zone because 'nova' is a default value coming from the
Neutron defaults for agents.
Change-Id: I94303aa70ee3ad c6ace0f9af1e7c4 f5c0edbcdb5
Closes-Bug: #1796068