Bug 622490

Summary: satellite-sync -l do not work for dumps with child channels only
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 1.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-backend-1.6.27-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-22 16:46:52 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: 723481    

Description Miroslav Suchý 2010-08-09 14:08:54 UTC
Description of problem:
If disk dump contains only child channel, then it is not shown for --list-channels.

Version-Release number of selected component (if applicable):
spacewalk-backend-1.1.45-1.el5

How reproducible:
always, not regression

Steps to Reproduce:
1. rhn-satellite-exporter -d /tmp/export -c redhat-rhn-proxy-5.3-server-x86_64-5
2. satellite-sync -m /tmp/export -l
  
Actual results:
channel redhat-rhn-proxy-5.3-server-x86_64-5 is not listed

Expected results:
channel should be listed.

Additional info:
once you export base channel, child channel is suddenly listed too.

Comment 1 Jan Pazdziora (Red Hat) 2010-11-19 16:02:34 UTC
Mass-moving to space13.

Comment 2 Miroslav Suchý 2011-04-11 07:31:06 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 3 Miroslav Suchý 2011-04-11 07:36:17 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 4 Jan Pazdziora (Red Hat) 2011-07-20 11:48:32 UTC
Aligning under space16.

Comment 5 Michael Mráka 2011-10-07 09:28:44 UTC
Fixed in spacewalk master by
commit bda7fe1181d1c4814d843e8116956782c1f0e330
    622490 - made output with no base channel look better
commit e4b333bf9e52df89f74eea3ba7e517348e6d6c18
    622490 - even if parent channel isn't in dump there might be some child channels
commit 0be4258f167d3f31b8b5a105e83285955844c034
    removed unused variable

Comment 6 Milan Zázrivec 2011-12-22 16:46:52 UTC
Spacewalk 1.6 has been released.