Comment 0 for bug 1647394

Revision history for this message
Ruslan Lutsenko (ruslan-lutcenko) wrote :

We use openstack Newton with config drive enabled.
Starting LIBERTY = '2015-10-15'openstack networking details provided in the separate json file "network_data.json"

It seem currently cloudbase-init reads only user_metadata.json end expects key "network_config" which is not the case in the recent versions of the openstack.
https://github.com/openstack/cloudbase-init/blob/master/cloudbaseinit/metadata/services/baseopenstackservice.py#L71

Because of this cloudbaseinit.plugins.common.networkconfig.NetworkConfigPlugin silently skips networking part.

Expected behaviour:

- Support new meta format with "network_data.json"
- Extend logging with warning/error message in case NetworkConfigPlugin enabled and networking configuration can not be found in metadata.

Linux cloud-init already has support of the "network_data" : https://git.launchpad.net/cloud-init/tree/cloudinit/sources/helpers/openstack.py#n216