when using config drive BaseOpenStackService does not support networking exposed through network_data.json
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloudbase-init |
Invalid
|
Undecided
|
Unassigned |
Bug Description
We use openstack Newton with config drive enabled.
Starting LIBERTY = '2015-10-
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:/
Because of this cloudbaseinit.
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:/
Changed in cloudbase-init: | |
status: | New → Confirmed |
{"services": [{"type": "dns", "address": "8.8.8.8"}], "networks": [{"network_id": "a7ffd6e4- 3600-4d21- a785-4c1f89101b 6f", "type": "ipv4", "netmask": "255.255.255.128", "link": "tap6c24009c-9c", "routes": [{"netmask": "0.0.0.0", "network": "0.0.0.0", "gateway": "172.16.16.126"}], "ip_address": "172.16.16.6", "id": "network0"}], "links": [{"ethernet_ mac_address" : "fa:16: 3e:98:28: 83", "mtu": 1500, "type": "bridge", "id": "tap6c24009c-9c", "vif_id": "6c24009c- 9c51-4a01- bccb-0488fc3d53 9d"}]}