Bug 1222089

Summary: Satellite fails when content host registers with a release version or uploading facts
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Content ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, jsherril, tkolhar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/10523
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 14:02:22 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:
Attachments:
Description Flags
production.log
none
new production.log
none
Verified production log none

Description sthirugn@redhat.com 2015-05-15 18:00:41 UTC
Created attachment 1025997 [details]
production.log

Description of problem:
Satellite fails when content host registers with a release version

Version-Release number of selected component (if applicable):
Sat 6.1 GA Snap 4 Compose 2

How reproducible:
Always

Steps to Reproduce:
1. Syncing rhel 6.6 server.
2. Attempt to register a rhel 6.6 content host with release version:
# subscription-manager register --org="testorg" --activationkey="actkey1" --release 6.6 --force

Actual results:
Content host registration completed but with a big stacktrace failing to update the system facts (see attached production.log)

Further, content host errata information is not showing in the satellite UI

Expected results:
- Content host registration works with no stacktrace
- Content host errata information should be shown in Satellite UI

Additional info:

Comment 3 Justin Sherrill 2015-05-15 20:50:13 UTC
Created redmine issue http://projects.theforeman.org/issues/10523 from this bug

Comment 4 Bryan Kearney 2015-05-15 21:05:43 UTC
Upstream bug assigned to jsherril

Comment 5 sthirugn@redhat.com 2015-05-18 13:07:31 UTC
*** Bug 1222046 has been marked as a duplicate of this bug. ***

Comment 6 Bryan Kearney 2015-05-21 02:06:04 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10523 has been closed
-------------
Justin Sherrill
Applied in changeset commit:katello|86973983e0e615661e697f9f106b9ace6eecfd40.

Comment 9 sthirugn@redhat.com 2015-05-28 21:02:51 UTC
Failed.

1. Synced 'Red Hat Enterprise Linux 7 Server RPMs x86_64 7.1' in Satellite
2. Registered a rhel 7.1 content host using:
# subscription-manager register --org=9VkBovtJ --activationkey='rhel71ak' --release=7.1
3. Content host registration succeeded and errata is visible in content host page but I do see the same stacktrace as mentioned in this bug.  (Uploading new attachments)

Comment 10 sthirugn@redhat.com 2015-05-28 21:03:46 UTC
Created attachment 1031420 [details]
new production.log

Comment 12 Justin Sherrill 2015-06-03 16:49:55 UTC
For some reason this commit did not make snap 6.  I confirmed its in snap7 though.  Moving to modified

Comment 13 sthirugn@redhat.com 2015-06-05 19:58:58 UTC
Verified in Sat 6.1 GA Snap 7

I dont see errors in production.log while running this command anymore.

# subscription-manager register --org="testorg" --activationkey="actkey1" --release=7Server --force

Comment 14 sthirugn@redhat.com 2015-06-05 19:59:39 UTC
Created attachment 1035404 [details]
Verified production log

Comment 15 Bryan Kearney 2015-08-11 13:37:12 UTC
This bug is slated to be released with Satellite 6.1.

Comment 16 Bryan Kearney 2015-08-12 14:02:22 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.