Bug 676534

Summary: Got message “unable to read /var/lib/rhsm/facts/facts.json” at first time register to stage
Product: Red Hat Enterprise Linux 6 Reporter: spandey
Component: subscription-managerAssignee: Chris Duryee <cduryee>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: cduryee, kbanerje, 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:39:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 568421    
Attachments:
Description Flags
Attached rhsm.log none

Description spandey 2011-02-10 07:11:07 UTC
Description of problem:


Prerequisites :
Candlepin : subscription.rhn.stage.redhat.com
Client : Beta candidate “RHEL6.0-Entitlement-20110208”

Steps to repro : 
Login to client console 
register client to stage candlepin using  cli command 

Expected Result : 
Client should register to candlepin no misleading message should display on console 

Expected Result : 
At first time registration i got following message on console 

[root@sachbeta Desktop]# subscription-manager register --u sachstagebeta-01 --password redhat
Unable to read /var/lib/rhsm/facts/facts.json
2b91e55d-058e-4310-bc99-a374c50a6e71 sachbeta

Only at first time registration i got this message

Comment 2 spandey 2011-02-10 07:15:20 UTC
Created attachment 477978 [details]
Attached rhsm.log

Comment 3 Chris Duryee 2011-02-10 16:42:05 UTC
fixed in rhel6 0.95.2+ 0b7707e3e70b8bf5a790c76428eb8e162a506dcb

Comment 4 Chris Duryee 2011-02-10 16:43:40 UTC
fixed in master 0.96.2+ b5f84fd035b8f82de58a0c0462845a72b581f3dd

Comment 7 spandey 2011-02-25 06:19:33 UTC
Verified using latest subscription manager code 
working fine 
Resolving defect status to verified

Comment 8 errata-xmlrpc 2011-05-19 13:39:47 UTC
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