Bug 1046307 - UnknownDeviceError: UnknownDeviceError('eth0', GError('GDBus.Error:org.freedesktop.NetworkManager.UnknownDevice: No device found for the requested iface.',))
Summary: UnknownDeviceError: UnknownDeviceError('eth0', GError('GDBus.Error:org.freede...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f83d69a41482e66b226123d8f02...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-24 12:17 UTC by Steve Berg
Modified: 2014-01-02 14:48 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-02 14:48:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (129.68 KB, text/plain)
2013-12-24 12:17 UTC, Steve Berg
no flags Details
File: anaconda.log (1.71 KB, text/plain)
2013-12-24 12:17 UTC, Steve Berg
no flags Details
File: environ (405 bytes, text/plain)
2013-12-24 12:17 UTC, Steve Berg
no flags Details
File: ks.cfg (15.39 KB, text/plain)
2013-12-24 12:17 UTC, Steve Berg
no flags Details
File: lsblk_output (3.67 KB, text/plain)
2013-12-24 12:17 UTC, Steve Berg
no flags Details
File: nmcli_dev_list (4.85 KB, text/plain)
2013-12-24 12:17 UTC, Steve Berg
no flags Details
File: os_info (375 bytes, text/plain)
2013-12-24 12:17 UTC, Steve Berg
no flags Details
File: storage.log (759 bytes, text/plain)
2013-12-24 12:17 UTC, Steve Berg
no flags Details
File: syslog (81.67 KB, text/plain)
2013-12-24 12:17 UTC, Steve Berg
no flags Details
File: ifcfg.log (1001 bytes, text/plain)
2013-12-24 12:17 UTC, Steve Berg
no flags Details
File: program.log (12.73 KB, application/octet-stream)
2013-12-24 12:18 UTC, Steve Berg
no flags Details

Description Steve Berg 2013-12-24 12:17:40 UTC
Description of problem:
Set up pxeboot on my local dhcpd servers, set up a kickstart file and attempted to do a kickstart install using a VNC interface.

Version-Release number of selected component:
anaconda-20.25.15-1

The following was filed automatically by anaconda:
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.',))

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=f20-x86_64/initrd.img ramdisk_size=16000 ks=nfs:128.160.2.42:/export/install/kickstart/vengeance.ks ksdevice=link lang=en_US.UTF-8 keymap=us biosdevname=0 rdblacklist=nouveau nomodeset vnc vncpassword=NRL7320admin sshd sshpw --username=nrladmin NRL7320admin --plaintext BOOT_IMAGE=f20-x86_64/vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.10-301.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20

Comment 1 Steve Berg 2013-12-24 12:17:43 UTC
Created attachment 841234 [details]
File: anaconda-tb

Comment 2 Steve Berg 2013-12-24 12:17:45 UTC
Created attachment 841235 [details]
File: anaconda.log

Comment 3 Steve Berg 2013-12-24 12:17:47 UTC
Created attachment 841236 [details]
File: environ

Comment 4 Steve Berg 2013-12-24 12:17:48 UTC
Created attachment 841237 [details]
File: ks.cfg

Comment 5 Steve Berg 2013-12-24 12:17:51 UTC
Created attachment 841238 [details]
File: lsblk_output

Comment 6 Steve Berg 2013-12-24 12:17:52 UTC
Created attachment 841239 [details]
File: nmcli_dev_list

Comment 7 Steve Berg 2013-12-24 12:17:54 UTC
Created attachment 841240 [details]
File: os_info

Comment 8 Steve Berg 2013-12-24 12:17:56 UTC
Created attachment 841241 [details]
File: storage.log

Comment 9 Steve Berg 2013-12-24 12:17:57 UTC
Created attachment 841242 [details]
File: syslog

Comment 10 Steve Berg 2013-12-24 12:17:59 UTC
Created attachment 841243 [details]
File: ifcfg.log

Comment 11 Steve Berg 2013-12-24 12:18:01 UTC
Created attachment 841244 [details]
File: program.log

Comment 12 Radek Vykydal 2014-01-02 14:48:59 UTC
This is caused by specifying non-existing --device (eth0) in kickstart. The device is named enp2s9 now by systemd [1].

from anaconda.log:
12:11:45,123 DEBUG anaconda: network: devices found ['enp2s9'] 
12:11:45,163 DEBUG anaconda: network: pre kickstart - adding connection for eth0

Anaconda should not crash in this case though, which is fixed in rawhide (RHEL bug #1023829)

You need to use either systemd device name enp2s9 or device mac address in kiskstart --device option.

[1] http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/


Note You need to log in before you can comment on or make changes to this bug.