charm-nova-cloud-controller/charmhelpers/contrib
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
..
charmsupport Sync charm-helpers 2019-01-11 14:38:54 +00:00
hahelpers Switch the charm to support py3 2018-10-18 15:43:03 +01:00
hardening Sync charm-helpers 2018-11-07 15:35:24 -06:00
network Switch the charm to support py3 2018-10-18 15:43:03 +01:00
openstack Propagate vendor_data from nova-cloud-controller 2019-06-05 10:22:56 -03:00
peerstorage Switch the charm to support py3 2018-10-18 15:43:03 +01:00
storage 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
python.py Update charm-helpers-hooks.yaml and sync ch 2019-02-12 15:57:51 -08:00