get_data of DataSourceConfigDrive raised 'network-interfaces' no instance data found in start-local
Bug #1276253 reported by
Matt Symonds
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Running the current precise-
cloud-init start-local running: Tue, 04 Feb 2014 16:59:55 +0000. up 2.36 seconds
2014-02-04 16:59:55,721 - __init_
no instance data found in start-local
mountall: Event failed
The cdrom is labeled as config-2 as required.
It is hard to give any further information as no password is set for the default user. This may well be an issue with the openstack setup.
Changed in cloud-init (Ubuntu): | |
status: | New → Invalid |
To post a comment you must log in.
I have the same problem with precise cloudimg on Openstack Icehouse with config drive.
# update interfaces and ifup only on the local datasource gDriveNet doesn't do it also.
LOG. debug(" Updating network interfaces from config drive (%s)",
dsmode)
# this way the DataSourceConfi
if 'network_config' in results and self.dsmode == "local":
In 'get_data', this two lines above should be changed to
util.write_ file("/ etc/network/ interfaces" ,
results[ 'network_ config' ])
This seems to be a bug in the backport of config drive v2 support in 0.6.3-0ubuntu1.5.
http:// bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ precise/ cloud-init/ precise- updates/ revision/ 194#cloudinit/ DataSourceConfi gDrive. py