Bug 1435771
Summary: | RHSM1DBusException: com.redhat.RHSM1.Error: UnboundLocalError: local variable 'data' referenced before assignment | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Chris Snyder <csnyder> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 7.4 | CC: | csnyder, khowell, redakkan, skallesh |
Target Milestone: | rc | Keywords: | Regression, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | subscription-manager-1.19.9-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 19:21:47 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: |
Description
John Sefler
2017-03-24 17:39:41 UTC
I have a fix for the exception. I am currently investigating whether logging in the dbus service works at all. As far as I can tell there is no reason (with my fix) the desired log message should not be written to /etc/rhsm/rhsm.log but yet it is not. Furthermore, I've not seen any log messages coming from the dbus service. I will continue investigation. I have employed the same logic as is done in rhsmd, applied to the dbus services. The PR with the both fixes necessary for this bug has been attached as an external tracker to this bug. Verifying Version.... [root@jsefler-rhel7 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 0.9.51.21-1 subscription management rules: 5.15.1 subscription-manager: 1.19.9-1.el7 python-rhsm: 1.19.5-1.el7 [root@jsefler-rhel7 ~]# touch /etc/rhsm/facts/empty.facts [root@jsefler-rhel7 ~]# subscription-manager register Registering to: subscription.rhsm.stage.redhat.com:443/subscription Username: stage_auto_testuser1 Password: The system has been registered with ID: 441553d0-674f-4033-8145-6ac313626341 [root@jsefler-rhel7 ~]# tail -f /var/log/rhsm/rhsm.log 2017-04-25 13:58:41,757 [INFO] subscription-manager:22077:MainThread @custom.py:85 - Loading custom facts from: /etc/rhsm/facts/empty.facts 2017-04-25 13:58:41,758 [WARNING] subscription-manager:22077:MainThread @custom.py:40 - Unable to load custom facts file. 2017-04-25 13:58:41,801 [INFO] subscription-manager:22077:MainThread @custom.py:85 - Loading custom facts from: /etc/rhsm/facts/empty.facts 2017-04-25 13:58:41,801 [WARNING] subscription-manager:22077:MainThread @custom.py:40 - Unable to load custom facts file. 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://access.redhat.com/errata/RHBA-2017:2083 |