yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25405
[Bug 1400915] [NEW] Archlinux Network Config Broken
Public bug reported:
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'.
** 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/1400915
Title:
Archlinux Network Config Broken
Status in Init scripts for use on cloud images:
New
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
Follow ups
References