Bug 691453

Summary: Child channel does not display after satellite-sync
Product: Red Hat Satellite 5 Reporter: George Hacker <ghacker>
Component: ServerAssignee: Jan Pazdziora <jpazdziora>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 540CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-08 19:29:34 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: 462714    
Attachments:
Description Flags
Entitlement Certificate none

Description George Hacker 2011-03-28 15:17:06 UTC
Description of problem:
When initially loading channel content in RHN Satellite, satellite-sync imports the content into the server but the rhn-tools child channel doesn't appear below the base/parent channel in the webUI when listing software channels.  satellite-sync displays both channels with "p" indicating they were both previously imported/synced.

Version-Release number of selected component (if applicable):
RHN Satellite 5.4.0

How reproducible:
Always

Steps to Reproduce:
1. Perform a fresh install of RHN Satellite 5.4
2. satellite-sync -m {dir} -c rhel-x86_64-server-6
3. satellite-sync -m {dir} -c rhn-tools-rhel-x86_64-server-6

Actual results:
When software channels are listed in the webUI, the base channel lists but the child channel does not appear under base channel.

Expected results:
Both software channels should display in the webUI.

Additional info:
Originally I experienced the above when importing channel content from a channel dump created with rhn-satellite-exporter from another RHNS server.  I reinstalled the RHNS server and imported content from the channel content ISOs downloaded from RHN and reproduced the bug.  No errors were found in rhn_server_satellite.log.  Note that both x86_64 RHN Satellite software was being used to import x86_64 Red Hat Enterprise Linux Server channel content.

Comment 1 George Hacker 2011-03-28 19:36:32 UTC
I'm seeing the same behaviour with the rhel-x86_64-server-lb-6 software channel.  I don't think my entitlement certificate should allow me to synchronize that child channel, so I will send a copy of my entitlement certificate to Cliff and Jan to see if that is the issue.

Comment 2 George Hacker 2011-03-29 15:49:42 UTC
Created attachment 488487 [details]
Entitlement Certificate

The entitlement certificate I am using is attached with the digital signature snipped for reference.

Comment 3 Clifford Perry 2011-04-08 19:29:34 UTC
  <rhn-cert-field name="channel-families" quantity="6" family="rhn-tools-server-6"/>

This line was incorrect. Issue caused by a bad certificate. This should have been rhn-tools-rhel-server-6. 

Cliff