← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1400915] Re: Archlinux Network Config Broken

 

[Expired for cloud-init because there has been no activity for 60 days.]

** Changed in: cloud-init
       Status: Incomplete => Expired

-- 
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/1400915

Title:
  Archlinux Network Config Broken

Status in cloud-init:
  Expired

Bug description:
  The networking code in 'distros/arch.py' is severely broken, I wonder
  if it had ever at worked.

  1. In method _write_network in arch.py line 71 there is:

  net_fn = self.network_conf_dir + dev

  the definition for the output file name.  Since

  network_conf_dir = "/etc/netctl"

  and

  dev = "eth0" (for example)

  net_fn will be "/etc/netctleth0" where it should be "/etc/netctl/eth0"

  2. Also in method "_write_network" in line 79 there is

  'DNS': str(tuple(info.get('dns-nameservers'))).replace(',', '')

  which causes a crash of the whole provider in case a 'dns-nameserver'
  is not defined in 'meta-data'.

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


References