Bug 669208
Summary: | register with an empty /var/lib/rhsm/facts/facts.json file throws traceback | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Adrian Likins <alikins> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | CC: | alikins, spandey |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 13:38:50 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: | 639436 |
Description
John Sefler
2011-01-12 21:24:37 UTC
commit 5e35d2cd76a8c64543fc029ddafc899264669b3e Author: Adrian Likins <alikins> Date: Wed Jan 12 17:33:20 2011 -0500 669208: Fix for exception handler on register Unused string formating args. commit 7452533d19f019ce6cf7a31ca409d934c9dda3af Author: Adrian Likins <alikins> Date: Wed Jan 12 16:36:04 2011 -0500 669208: JSONDecodeError doesn't exist on simplejson 2.0.9 (aka, RHEL6) Fix a name exception on JSONDecodeError that tries to catch json loading errors on facts load. The name exception was getting swallowed by a busted exception handler. Both above commits are part of the fix. Tested with IT env and premises candlepin with empty facts.json file Verify using following subscription manager rpm subscription-manager-firstboot-0.93.13-1.el6.x86_64 subscription-manager-0.93.13-1.el6.x86_64 subscription-manager-gnome-0.93.13-1.el6.x86_64 Successfully registered to IT ENV No error message displayed on console No error message recored in rhsm.log Successfully registered to premises No error message displayed on console No error message recored in rhsm.log Working fine Moving defect status from ON_QA to Verified An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0611.html |