Bug 466775
Summary: | DBusException: org.freedesktop.DBus.Error.InvalidArgs: No such property Hostname | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | James Laska <jlaska> |
Component: | anaconda | Assignee: | David Cantrell <dcantrell> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | jlaska, joshua, jturner, mmaslano, sshinde, tomek, wwoods |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | anaconda_trace_hash:dc8b00f2fbdf8f11cb4e0547df90c0bef94788d0d78c4016085f3609b2aef309 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-10-16 17:28:01 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: | |||
Bug Depends On: | |||
Bug Blocks: | 438944 | ||
Attachments: |
Description
James Laska
2008-10-13 15:25:49 UTC
Created attachment 320193 [details]
Attached traceback automatically from anaconda.
Created attachment 320197 [details]
Attached traceback automatically from anaconda.
Snippet of traceback from attachment#320193 [details]
anaconda 11.4.1.48 exception report
Traceback (most recent call first):
File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/anaconda/network.py", line 96, in getDefaultHostname
hostname = ip4_config_props.Get(isys.NM_MANAGER_IFACE, "Hostname")
File "/usr/lib/anaconda/iw/network_gui.py", line 38, in getScreen
self.hostname = network.getDefaultHostname(anaconda)
File "/usr/lib/anaconda/gui.py", line 1436, in setScreen
new_screen = self.currentWindow.getScreen(anaconda)
File "/usr/lib/anaconda/gui.py", line 1353, in nextClicked
self.setScreen ()
DBusException: org.freedesktop.DBus.Error.InvalidArgs: No such property Hostname
Created attachment 320322 [details]
Attached traceback automatically from anaconda.
Hostname is no longer a property NM provides, so we just need to be using socket.gethostname every time. This should be fixed in the next build of anaconda. I've updated Chris' patch a bit so we get the IP address of the interface from NetworkManager via D-Bus and do a socket.gethostbyaddr() before falling back on socket.gethostname() and eventually falling back on localhost.localdomain. *** Bug 466546 has been marked as a duplicate of this bug. *** Created attachment 320463 [details]
Attached traceback automatically from anaconda.
Created attachment 320465 [details]
Attached traceback automatically from anaconda.
Created attachment 320545 [details]
Attached traceback automatically from anaconda.
Fixed in Fedora development i386 (20081016) which contains anaconda-11.4.1.49-1.i386 |