charm-nova-cloud-controller/charmhelpers/contrib/openstack
Rodrigo Barbieri a51efaf640 Propagate vendor_data from nova-cloud-controller
When using DVR and L3HA neutron deployment options,
Nova API Metadata requests are served from compute nodes,
instead of from neutron-gateway nodes.

This change allows nova-cloud-controller to send vendor_data
configuration values to nova-compute charm relation so it
can write to nova-compute's nova.conf appropriately.

Replaced the existing context logic with inheritance
from a new context created in charm-helpers, so the
logic can be shared across several charms that write
vendor metadata to nova.conf and vendor_data.json.

Also, small fix in the vendor-data and vendor-data-url
descriptions, where it was incorrectly stating that such
configuration would be effective in nova-cloud-controller
on Queens release.

The values set in vendor-data and vendor-data-url config
options will always be propagated to nova-compute regardless
of the OpenStack release. Those values will continue to only
be effective in nova-cloud-controller nodes on Rocky release
or later.

Included sync of charm-helpers code in order to inherit
the refactored vendor metadata contexts.

Change-Id: If8373fc6b2d04dbc29ed07896d385ac920cae3f4
Depends-On: I0c79e1bfac9fbe7009a7e862ad010cfa2de8cfda
Closes-Bug: #1777714
2019-06-05 10:22:56 -03:00
..
amulet Propagate vendor_data from nova-cloud-controller 2019-06-05 10:22:56 -03:00
audits Allow console service to read certificate data 2019-03-22 11:19:15 +01:00
files Switch the charm to support py3 2018-10-18 15:43:03 +01:00
ha Sync charm-helpers 2019-01-08 15:18:53 +00:00
templates Propagate vendor_data from nova-cloud-controller 2019-06-05 10:22:56 -03:00
__init__.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00
alternatives.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00
cert_utils.py Propagate vendor_data from nova-cloud-controller 2019-06-05 10:22:56 -03:00
context.py Propagate vendor_data from nova-cloud-controller 2019-06-05 10:22:56 -03:00
exceptions.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00
ip.py Allow console service to read certificate data 2019-03-22 11:19:15 +01:00
keystone.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00
neutron.py Propagate vendor_data from nova-cloud-controller 2019-06-05 10:22:56 -03:00
ssh_migrations.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00
templating.py Update charm-helpers-hooks.yaml and sync ch 2019-02-12 15:57:51 -08:00
utils.py Propagate vendor_data from nova-cloud-controller 2019-06-05 10:22:56 -03:00
vaultlocker.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00