Bug 1315843

Summary: GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.InavlidArgs: No such property 'PermHwAddress' (16)
Product: Red Hat Enterprise Linux 7 Reporter: Lubomir Rintel <lrintel>
Component: anacondaAssignee: Jiri Konecny <jkonecny>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: anaconda-maint-list, atodorov, extras-qa, g.kaviyarasu, jkonecny, jonathan, jpazdziora, lmiksik, mkovarik, orion, rvykydal, vanmeeuwen+fedora, vrutkovs
Target Milestone: rcKeywords: TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-21.48.22.59-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1260239 Environment:
Last Closed: 2016-11-03 23:23:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1260239    
Bug Blocks:    

Description Lubomir Rintel 2016-03-08 18:23:39 UTC
This was caused by NetworkManager 1.2 having been ported to GDBus and emmitting a different error message for a missing property. The new version has been added to RHEL 7.3 and now Anaconda crashes there too.

+++ This bug was initially created as a clone of Bug #1260239 +++

Description of problem:

kickstart install failed with:

Taceback (most recent call last):
  File ”/sbin/anaconda”, line 1203, in <module>
    networkInitialize(ksdata)
  File ”/usr/lib64/python3.4/site-packages/pyanaconda/network.py”, line 1255, in neteorkInitialize
    devnames = apply_kickstart(ksdata)
  File ”/usr/lib64/python3.4/site-packages/pyanaconda/network.py”, line 1204, in apply_kickstart
    ifcfg_path = find_ifcfg_file_of_device(dev_name)
  File ”/usr/lib64/python3.4/site-packages/pyanaconda/network.py”, line 824, in find_ifcfg_file_of_device
    hwaddr = nm.nm_device_perm_hwaddress(devname)
  File ”/usr/lib64/python3.4/site-packages/pyanaconda/nm.py”, line 395, in nm_device_perm_hwaddress
     return nm_device_property(name, ”PermHwAddress”)
  File ”/usr/lib64/python3.4/site-packages/pyanaconda/nm.py”, line 266, in nm_device_property
    retval = _get_property(device, prop, ”.Device”)
  File ”/usr/lib64/python3.4/site-packages/pyanaconda/nm.py”, line 123, in _get_property
    prop = proxy.Get('(ss)', interface_name, prop)
  File ”/usr/lib64/python3.4/site-packages/gi/overrides/Gio.py”, line 171, in __call__
    None)
GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.InavlidArgs: No such property 'PermHwAddress' (16)

It seems that no anaconda-tb-* file is being generated either.

anaconda.log:
21:22:12,354 INFO anaconda: /sbin/anaconda 24.1-1
21:22:14,066 INFO anaconda: 2110992 kB (2061 MB) are available
21:22:14,086 INFO anaconda: check_memory(): total:2110992, needed:1070, graphical:1160
21:22:14,105 INFO anaconda: anaconda called with cmdline = ['/sbin/anaconda']
21:22:14,106 INFO anaconda: Default encoding = utf-8
21:22:14,183 INFO anaconda: Running kickstart %%pre script(s)
21:22:14,183 INFO anaconda.stdout: Running pre-installation scripts
21:22:15,346 INFO anaconda: All kickstart %%pre script(s) have been run
21:22:15,346 INFO anaconda: Parsing kickstart: /run/install/ks.cfg
21:22:15,404 INFO anaconda: 2110992 kB (2061 MB) are available
21:22:16,424 DEBUG anaconda: scripts found for locale en_US.UTF-8: ['Latn']
21:22:16,424 DEBUG anaconda: console fonts found for locale en_US.UTF-8: ['eurlatgr']
21:22:16,425 DEBUG anaconda: setting console font to eurlatgr
21:22:16,463 DEBUG anaconda: console font set successfully to eurlatgr
21:22:16,464 DEBUG anaconda: setting locale to: en_US.UTF-8
21:22:16,488 DEBUG anaconda: network: devices found ['eth0']

--- Additional comment from Alexander Todorov on 2015-09-07 11:43:08 CEST ---

Same for me :      
   
Pane is dead  
  
 (B    settings_paths = _device_settings(name)  
 
  File "/usr/lib64/python3.4/site-packages/pyanaconda/nm.py", line 648, in _device_settings  
 
    hwaddr_str = nm_device_valid_hwaddress(name)  
 
  File "/usr/lib64/python3.4/site-packages/pyanaconda/nm.py", line 412, in nm_device_valid_hwaddress  
 
    return nm_device_perm_hwaddress(name)  
 
  File "/usr/lib64/python3.4/site-packages/pyanaconda/nm.py", line 395, in nm_device_perm_hwaddress  
 
    return nm_device_property(name, "PermHwAddress")  
 
  File "/usr/lib64/python3.4/site-packages/pyanaconda/nm.py", line 266, in nm_device_property  
 
    retval = _get_property(device, prop, ".Device")  
 
  File "/usr/lib64/python3.4/site-packages/pyanaconda/nm.py", line 123, in _get_property  
 
    prop = proxy.Get('(ss)', interface_name, prop)  
 
  File "/usr/lib64/python3.4/site-packages/gi/overrides/Gio.py", line 171, in __call__  
 
    None)  
 
GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such property 'PermHwAddress' (16)

--- Additional comment from David Shea on 2015-09-08 20:10:39 CEST ---

https://github.com/rhinstaller/anaconda/pull/350

--- Additional comment from Jan Kurik on 2016-02-24 16:46:04 CET ---

This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

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

Comment 3 Jiri Konecny 2016-03-09 11:47:20 UTC
PR: https://github.com/rhinstaller/anaconda/pull/545

Comment 7 errata-xmlrpc 2016-11-03 23:23:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2158.html