Bug 813297
| Summary: | Got Traceback with changed hostname | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | spandey |
| Component: | subscription-manager | Assignee: | candlepin-bugs |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | alikins, bkearney, fsharath, jgalipea, jmolet, jsefler, kbanerje, skallesh, spandey |
| Target Milestone: | beta | ||
| Target Release: | 7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 09:50:46 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: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 863175 | ||
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4. This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. I now see a a can not display error, which is resolved by logging out nad back in. Calling this fixed. Version: # subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.8.29-1 subscription-manager: 1.10.2-1.el7 python-rhsm: 1.10.2-1.el7 Verification === Original hostname === # hostname sharath-70server.usersys.redhat.com === Changing hostname === # hostname test2 === Checking Hostname === # hostname test2 === Launching GUI === # subscription-manager-gui X11 connection rejected because of wrong authentication. Unable to open a display === Exiting ssh === # exit logout === Logging back in === $ dtop-client70 root.redhat.com's password: Last login: Fri Oct 11 11:24:08 2013 from dhcp129-238.rdu.redhat.com === Checking hostname === # hostname test2 === Launching GUI === # subscription-manager-gui GUI launches successfully This is an acceptable behavior VERIFIED This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |
Description of problem: Version-Release number of selected component (if applicable): How reproducible: 3/3 Prerequisites : Rhel6.3 with following subscription-manager rpm . subscription-manager-migration-0.99.14-1.git.2.cf76d8e.el6_2.x86_64 subscription-manager-gnome-0.99.14-1.git.2.cf76d8e.el6_2.x86_64 subscription-manager-0.99.14-1.git.2.cf76d8e.el6_2.x86_64 subscription-manager-firstboot-0.99.14-1.git.2.cf76d8e.el6_2.x86_64 subscription-manager-migration-data-1.12.1.3-1.git.0.1b05607.el6_2.noarch Steps to Repro : Login to client console . Change hostname using following command hostname test2 Now launch subscription-manager-gui using subscription-manager-gui command. Expected Result : Command should successfully executed , and it should open subscription-manager gui Actual Result : Got Following traceback. [root@test1 ~]# hostname test2 [root@test1 ~]# subscription-manager-gui /usr/sbin/subscription-manager-gui:31: DeprecationWarning: The dbus_bindings module is not public API and will go away soon. Most uses of dbus_bindings are applications catching the exception dbus.dbus_bindings.DBusException. You should use dbus.DBusException instead (this is compatible with all dbus-python versions since 0.40.2). If you need additional public API, please contact the maintainers via <dbus.org>. import dbus.dbus_bindings No protocol specified Traceback (most recent call last): File "/usr/sbin/subscription-manager-gui", line 32, in <module> import gtk File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module> _init() File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init _gtk.init_check() RuntimeError: could not open display