Bug 1101781

Summary: UnknownDeviceError: UnknownDeviceError('', GError('GDBus.Error:org.freedesktop.NetworkManager.UnknownDevice: No device found for the requested iface.',))
Product: [Fedora] Fedora Reporter: Brian Lane <bcl>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:60c2b37f813aa6e10c5359e91af8125e105840e364e8c914616507c62cba58e1
Fixed In Version: anaconda-21.38-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 11:34:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log none

Description Brian Lane 2014-05-27 22:16:58 UTC
Description of problem:
nightly boot.iso (21.37) with updates image with master branch since 21.37 build.

Version-Release number of selected component:
anaconda-unknown

The following was filed automatically by anaconda:
anaconda unknown exception report
Traceback (most recent call first):
  File "/tmp/updates/pyanaconda/nm.py", line 223, in nm_device_property
    raise UnknownDeviceError(name, e)
  File "/tmp/updates/pyanaconda/nm.py", line 359, in nm_device_type
    return nm_device_property(name, "DeviceType")
  File "/tmp/updates/pyanaconda/nm.py", line 261, in nm_device_type_is_ethernet
    return nm_device_type(name) == NetworkManager.DeviceType.ETHERNET
  File "/tmp/updates/pyanaconda/network.py", line 271, in dumpMissingDefaultIfcfgs
    if not nm.nm_device_type_is_ethernet(devname):
  File "/tmp/updates/pyanaconda/network.py", line 1151, in networkInitialize
    devnames = dumpMissingDefaultIfcfgs()
  File "/sbin/anaconda", line 1186, in <module>
    networkInitialize(ksdata)
UnknownDeviceError: UnknownDeviceError('', GError('GDBus.Error:org.freedesktop.NetworkManager.UnknownDevice: No device found for the requested iface.',))

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x20rawhide\x20x86_64 inst.updates=http://updates.notae.us/updates.img
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.15.0-0.rc7.git0.1.fc21.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Potential duplicate: bug 1045523

Comment 1 Brian Lane 2014-05-27 22:17:00 UTC
Created attachment 899730 [details]
File: anaconda-tb

Comment 2 Brian Lane 2014-05-27 22:17:00 UTC
Created attachment 899731 [details]
File: anaconda.log

Comment 3 Brian Lane 2014-05-27 22:17:01 UTC
Created attachment 899732 [details]
File: environ

Comment 4 Brian Lane 2014-05-27 22:17:01 UTC
Created attachment 899733 [details]
File: lsblk_output

Comment 5 Brian Lane 2014-05-27 22:17:02 UTC
Created attachment 899734 [details]
File: nmcli_dev_list

Comment 6 Brian Lane 2014-05-27 22:17:03 UTC
Created attachment 899735 [details]
File: os_info

Comment 7 Brian Lane 2014-05-27 22:17:04 UTC
Created attachment 899736 [details]
File: program.log

Comment 8 Brian Lane 2014-05-27 22:17:04 UTC
Created attachment 899737 [details]
File: storage.log

Comment 9 Brian Lane 2014-05-27 22:17:05 UTC
Created attachment 899738 [details]
File: syslog

Comment 10 Brian Lane 2014-05-27 22:17:06 UTC
Created attachment 899739 [details]
File: ifcfg.log

Comment 11 Brian Lane 2014-05-27 22:20:03 UTC
It looks like the devname from dumpMissingDefaultIfcfgs is somehow set to ''

Comment 12 Brian Lane 2014-05-27 22:54:35 UTC
If I move up the stack a couple frames to where I can run nm.nm_devices() I get ['ens3'] as the output.

Also, it is repeatable.

Comment 13 Jaroslav Reznik 2015-03-03 17:13:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 14 Fedora End Of Life 2016-07-19 11:34:12 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.