← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1577747] [NEW] Cloud- init doesn't configure network interfaces in Ubuntu 16.04

 

Public bug reported:

I'm running vmbuilder 0.12.4 on an Ubuntu 16.04 server to create an Ubuntu 16.04 cloud image.
cloud-init 0.77 is being added to run the cloud image in OpenStack.

Upon starting the VM in OpenStack,
cloud-init fails because the network interface can't be established.
That seems to be related to discrepancy between 
/etc/network/interfaces 
and 
/etc/network/interfaces.d/50-cloud-init.cfg

--> in /etc/network/interfaces, the primary network interface is eth0,
whereby in cloud-init it is ens32

auto eth0
iface eth0 inet dhcp

--> changing eth0 to ens32  correctly establishes the network interface

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1577747

Title:
  Cloud- init doesn't configure network interfaces in Ubuntu 16.04

Status in cloud-init:
  New

Bug description:
  I'm running vmbuilder 0.12.4 on an Ubuntu 16.04 server to create an Ubuntu 16.04 cloud image.
  cloud-init 0.77 is being added to run the cloud image in OpenStack.

  Upon starting the VM in OpenStack,
  cloud-init fails because the network interface can't be established.
  That seems to be related to discrepancy between 
  /etc/network/interfaces 
  and 
  /etc/network/interfaces.d/50-cloud-init.cfg

  --> in /etc/network/interfaces, the primary network interface is eth0,
  whereby in cloud-init it is ens32

  auto eth0
  iface eth0 inet dhcp

  --> changing eth0 to ens32  correctly establishes the network
  interface

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


Follow ups