charm-nova-cloud-controller/charmhelpers
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
..
cli Allow console service to read certificate data 2019-03-22 11:19:15 +01:00
contrib Propagate vendor_data from nova-cloud-controller 2019-06-05 10:22:56 -03:00
core Sync charm-helpers to enable Ubuntu Disco 2019-04-05 17:16:09 +02:00
fetch Propagate vendor_data from nova-cloud-controller 2019-06-05 10:22:56 -03:00
payload Switch the charm to support py3 2018-10-18 15:43:03 +01:00
__init__.py Sync charm-helpers 2018-11-07 15:35:24 -06:00
osplatform.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00