I have the same problem with precise cloudimg on Openstack Icehouse with
config drive.

        # update interfaces and ifup only on the local datasource
        # this way the DataSourceConfigDriveNet doesn't do it also.
        if 'network_config' in results and self.dsmode == "local":
            LOG.debug("Updating network interfaces from config drive (%s)",
                      dsmode)

            util.write_file("/etc/network/interfaces",
                md['network-interfaces'])

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/DataSourceConfigDrive.py

** Changed in: cloud-init (Ubuntu)
       Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1276253

Title:
  get_data of DataSourceConfigDrive raised 'network-interfaces' no
  instance data found in start-local

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1276253/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to