OK, temp fix found… The problem is that the “network_config” snippet has a hardcoded
interface name of 'eth0' in the line:
network --bootproto=dhcp --device=eth0 --onboot=on
...which was getting incorporated into the final rendered ks file.
The temp fix was to make a copy of this snippet, named it "network_config_f20"
in my case, setting the 'eth0' to be 'em1' in that line, and then make a
copy of the "sample_end.ks" (which I simply named "f20.ks") that calls
the "network_config_f20" snippet in the "# Network information"
stanza, and use the f20.ks as the kickstart file in my fedora 20 install profile.
Once this was done, the install proceeded normally.
Now how to dynamically set the proper interface name in the "network_config"
snippet remains future work at this point, but at least the problem was located...
Thanks,
Will
From: Will Dennis
Sent: Monday, July 21, 2014 3:16 PM
To: cobbler(a)lists.fedorahosted.org
Subject: RE: [cobbler] anaconda error
Hi all,
Having the same problem (anaconda traceback with same error) trying to install a Fedora 20
system, however I am *not* using a system record… Any way to specify the correct interface
to use?
Will
From: cobbler-bounces(a)lists.fedorahosted.org
[mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Nicolas Boissé
Sent: Thursday, July 17, 2014 2:52 AM
To: cobbler(a)lists.fedorahosted.org
Subject: Re: [cobbler] anaconda error
Hi,
I try set --interface to eth0 but it doesn't work. Anyway, Cobbler server network
interface is em1.
In the grub menu of client, there isn't my cobbler system "test". Just the
default profile. After "cobbler system edit" command, I execute "cobbler
sync" command. Did I forget something else ??
Le 16/07/2014 14:42, Nicolas Boissé a écrit :
Yes, I use a system record :
# cobbler system edit --name=test --interface=em1 --mac=00:24:81:99:92:a5
--ip-address=192.168.1.3 --netmask=255.255.255.0 -- gateway=192.168.1.255 --static=1
--hostname=myhostnam
Le 16/07/2014 14:24, Jörgen Maas a écrit :
Yes, that's the problem.
Are you using a system record in Cobbler ??
On Wed, Jul 16, 2014 at 12:01 PM, Nicolas Boissé <Nicolas.Boisse(a)univ-lemans.fr>
wrote:
Hi,
I'm trying to launch fedora 20 installation using cobbler. When I launch client, all
is ok until an anaconda error : UnknownDeviceError. You can see below anaconda report in
attachment.
Line 21, interface network name is eth0. But in ifcfg.log it's em1. Is that the
problem ?
Thanks in advance.
Nicolas
p.s. : sorry for my english...
----------------------
anaconda 20.25.15-1 exception report
Traceback (most recent call first):
File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 209, in
nm_device_property
raise UnknownDeviceError(name, e)
File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 308, in
nm_device_hwaddress
return nm_device_property(name, "HwAddress")
File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 551, in
add_connection_for_ksdata
mac = nm.nm_device_hwaddress(devname)
File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1170, in
apply_kickstart_from_pre_section
added_connections = add_connection_for_ksdata(network_data, dev_name)
File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1184, in
networkInitialize
devnames = apply_kickstart_from_pre_section(ksdata)
File "/sbin/anaconda", line 1068, in <module>
networkInitialize(ksdata)
UnknownDeviceError: UnknownDeviceError('eth0',
GError('GDBus.Error:org.freedesktop.NetworkManager.UnknownDevice: No device found for
the requested iface.',))
Local variables in innermost frame:
retval: None
e: GDBus.Error:org.freedesktop.NetworkManager.UnknownDevice: No device found for the
requested iface.
proxy: <DBusProxy object at 0x7feaf6ca1960 (GDBusProxy at 0x369bd50)>
name: eth0
prop: HwAddress
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
--
Grtz,
Jörgen Maas
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler