Bug 515254

Summary: In the command satellite-sync the "-c" option does not need "="
Product: Red Hat Satellite 5 Reporter: Javier Ramirez Molina <jramirez>
Component: Docs Installation GuideAssignee: John Ha <jha>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: medium Docs Contact:
Priority: low    
Version: 520CC: adstrong, cperry, iannis
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.redhat.com/docs/manuals/satellite/Red_Hat_Network_Satellite-5.2.0/html/Installation_Guide/s1-sat-sync-tool.html#s2-import-rhnsst
Whiteboard: Fixed in the 5.4.0 Release - GA'd 2010-10-27
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-28 14:57:57 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: 608749    

Description Javier Ramirez Molina 2009-08-03 14:30:31 UTC
Description of problem:

If you try to sync just one channel using:

satellite-sync -c=rhel-x86_64-as-4

You get an error:

12:06:19 ERROR: these channels either do not exist or are not available:
12:06:19        =rhel-x86_64-as-4
12:06:19        (to see a list of channel labels: /usr/bin/satellite-sync --list-channels)

The problem is that the proper command must be:

satellite-sync -crhel-x86_64-as-4

As you can read in the manpage:

---
       -cCHANNEL, --channel=CHANNEL
              process data for this channel only.
---

But if you read the installation guide in this link:

http://www.redhat.com/docs/manuals/satellite/Red_Hat_Network_Satellite-5.2.0/html/Installation_Guide/s1-sat-sync-tool.html#s2-import-rhnsst

The option is described as this:

---
-c=, --channel=CHANNEL_LABEL
---



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

rhns-satellite-tools-5.0.2-14-noarch

How reproducible:

Just trying to sync using:

satellite-sync -c=rhel-x86_64-as-4

Steps to Reproduce:
1. satellite-sync -c=channel_name
2.
3.
  
Actual results:

User can not sync channel and get this error:

12:06:19 ERROR: these channels either do not exist or are not available:
12:06:19        =rhel-x86_64-as-4
12:06:19        (to see a list of channel labels: /usr/bin/satellite-sync --list-channels)

Expected results:

Channel synchronized properly

Additional info:

Comment 6 Andrew Ross 2010-09-15 22:07:02 UTC
Verified: Red_Hat_Network_Satellite-Installation_Guide-5.4-web-en-US-1-20.el5

"-cCHANNEL, --channel=CHANNEL_LABEL"

Comment 7 Clifford Perry 2010-10-28 14:57:57 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford