Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 466775 - DBusException: org.freedesktop.DBus.Error.InvalidArgs: No such property Hostname
Summary: DBusException: org.freedesktop.DBus.Error.InvalidArgs: No such property Hostname
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:dc8b00f2fbdf8f11c...
: 466546 (view as bug list)
Depends On:
Blocks: F10Target
TreeView+ depends on / blocked
 
Reported: 2008-10-13 15:25 UTC by James Laska
Modified: 2013-09-02 06:28 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-16 17:28:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (87.19 KB, text/plain)
2008-10-13 15:25 UTC, James Laska
no flags Details
Attached traceback automatically from anaconda. (87.53 KB, text/plain)
2008-10-13 16:18 UTC, James Laska
no flags Details
Attached traceback automatically from anaconda. (65.47 KB, text/plain)
2008-10-14 16:26 UTC, Tomasz Torcz
no flags Details
Attached traceback automatically from anaconda. (96.17 KB, text/plain)
2008-10-15 17:28 UTC, Shashin Shinde
no flags Details
Attached traceback automatically from anaconda. (49.37 KB, text/plain)
2008-10-15 17:50 UTC, Will Woods
no flags Details
Attached traceback automatically from anaconda. (65.20 KB, text/plain)
2008-10-16 12:11 UTC, Marcela Mašláňová
no flags Details

Description James Laska 2008-10-13 15:25:49 UTC
This bug was filed automatically by anaconda.

Comment 1 James Laska 2008-10-13 15:25:57 UTC
Created attachment 320193 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2008-10-13 16:18:41 UTC
Created attachment 320197 [details]
Attached traceback automatically from anaconda.

Comment 3 James Laska 2008-10-14 11:42:01 UTC
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

Comment 4 Tomasz Torcz 2008-10-14 16:26:46 UTC
Created attachment 320322 [details]
Attached traceback automatically from anaconda.

Comment 5 Chris Lumens 2008-10-14 18:20:53 UTC
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.

Comment 6 David Cantrell 2008-10-15 03:44:33 UTC
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.

Comment 7 David Cantrell 2008-10-15 03:46:19 UTC
*** Bug 466546 has been marked as a duplicate of this bug. ***

Comment 8 Shashin Shinde 2008-10-15 17:28:19 UTC
Created attachment 320463 [details]
Attached traceback automatically from anaconda.

Comment 9 Will Woods 2008-10-15 17:50:52 UTC
Created attachment 320465 [details]
Attached traceback automatically from anaconda.

Comment 10 Marcela Mašláňová 2008-10-16 12:11:42 UTC
Created attachment 320545 [details]
Attached traceback automatically from anaconda.

Comment 11 James Laska 2008-10-16 17:27:20 UTC
Fixed in Fedora development i386 (20081016) which contains anaconda-11.4.1.49-1.i386


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