Bug 1126340

Summary: Custom channels are not automatically synchronized during ISS
Product: Red Hat Satellite 5 Reporter: Jiří Mikulka <jmikulka>
Component: Satellite SynchronizationAssignee: Michael Mráka <mmraka>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-29 18:28:37 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:
Bug Depends On:    
Bug Blocks: 1127217    

Description Jiří Mikulka 2014-08-04 08:33:23 UTC
Description of problem:
Satellite-sync doesn't synchronize (already synchronized) custom channels when running satellite-sync without any channel specification.

Version-Release number of selected component (if applicable):
spacewalk-backend-2.2.43-1.el6.noarch (Satellite 5.7 / Spacewalk 2.2)

How reproducible:
always

Steps to Reproduce:
1. setup master with some custom channels, setup slave with no channels
2. setup ISS master -> slave
3. on ISS slave, satellite-sync all ISS master custom channels
   $ satellite-sync -c <custom_channel_1> -c <custom_channel_2> ...
4. on ISS master, push some packages in custom channel 1
5. on ISS slave run "satellite-sync" with no options/parameters

Actual results:
# satellite-sync 
ERROR: No channels currently imported; try satellite-sync --list-channels; then satellite-sync -c chn0 -c chn1...

Expected results:
new packages in already synchronized custom channels are synchronized

Additional info:

Comment 1 Stephen Herr 2014-09-29 18:28:37 UTC
Not a bug. Custom channels are never synced unless you explicitly specify the channel label with -c / --channels or add the the --include-custom-channels option to the naked satellite-sync command. This is documented in the man page.