Bug 768854

Summary: spacewalk-create-channel disregards RHEL add-ons naming scheme
Product: Red Hat Satellite 5 Reporter: Šimon Lukašík <slukasik>
Component: ClientAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Studeník <pstudeni>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cperry, msuchy, pstudeni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-remote-utils-1.6.8-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-21 09:34:32 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: 819081    

Description Šimon Lukašík 2011-12-19 07:33:02 UTC
Description of problem:
The spacewalk-create-channel tool automatically recognizes a source
channel labels based on command-line arguments. This guess fails on RHEL6
addons which does not compound full product name in the channel label.

In the tool, there is already a workaround for ClusterStorage product.

    Product Name       -> Equivalent Channel Label
    ClusterStorage     -> cluster-storage

Let's introduce similar workaround for RHEL6 Addons:

    ResilientStorage   -> rs
    ScalableFileSystem -> sfs
    HighAvailability   -> ha
    LoadBalancer       -> lb

Version-Release number of selected component (if applicable):
spacewalk-remote-utils-1.0.2-8.el6sat.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. # spacewalk-create-channel --server=rhns.example.com \
       --user=admin --password=subtle --destChannel=channel_20554 \
       --version=6 \
       --update=u2 \
       --arch=i386 \
       --release=Server \
       --extra=ResilientStorage
2.
3.
  
Actual results:
Error: data file '6-u2-server-i386-Resilientstorage' does not exist

Expected results:
Channel created

Additional info:
See also bug 719555.

Comment 1 Šimon Lukašík 2011-12-19 08:26:36 UTC
spacewalk.git af258436fc1817f4254509bf2c42e40467f7d300

Comment 4 Clifford Perry 2012-09-21 09:34:32 UTC
This issue is resolved with the release of RHN Satellite 5.5. 

As of September 20th 2012, RHN Satellite 5.5 has been generally available. 

Release Notes and other 5.5 documentation can be found here:

 https://access.redhat.com/knowledge/docs/Red_Hat_Network_Satellite/

The associated Errata for the 5.5 release are:

5.5 Satellite GA Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1296.html

5.5 Upgrade Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1298.html

5.5 RHN Proxy GA Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1297.html

5.5 RHN Tools GA Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1299.html

Regards,
Clifford
- Engineering Manager, Satellite