Failure with OpenStack datasource on bare metal servers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am booting Ubuntu 18.04 (so, cloud-init 18.4-0ubuntu1~
# cat /proc/cmdline
BOOT_
ds-identify has correctly activated the OpenStack data source:
# tail -2 /run/cloud-
datasource 'OpenStack' specified.
[up 45.23s] returning 0
The data source is in fact available:
# curl http://
meta_data.json
password
vendor_data.json
network_data.json
But cloud-init seems unable to find it:
__init_
__init_
handlers.
__init_
__init_
.
.
.
handlers.
This is because the `detect_openstack` method in `DataSourceOpen
In the same environment, cloud-init-
description: | updated |
description: | updated |
tags: | added: dsid |
Changed in cloud-init: | |
status: | Triaged → Fix Committed |
When explicitly configured, cloud-init needs to honor the datasource configuration and ignore any secondary datasource validation on the system. The user told us so, so cloud-init should commit to it.
Plans are to 'force' the configuration datasource regardless of cloud-init's detection algorithms if only one datasource is configured.