Bug 515254 - In the command satellite-sync the "-c" option does not need "="
Summary: In the command satellite-sync the "-c" option does not need "="
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Docs Installation Guide
Version: 520
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: John Ha
QA Contact: ecs-bugs
URL: http://www.redhat.com/docs/manuals/sa...
Whiteboard: Fixed in the 5.4.0 Release - GA'd 201...
Depends On:
Blocks: sat540-docs
TreeView+ depends on / blocked
 
Reported: 2009-08-03 14:30 UTC by Javier Ramirez Molina
Modified: 2014-08-04 22:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 14:57:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.