Bug 871207

Summary: The rhn-channel application doesn't have the Red Hat Storage channel listed as available channels.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Ben Turner <bturner>
Component: distributionAssignee: Anthony Towns <atowns>
Status: CLOSED NOTABUG QA Contact: Sudhir D <sdharane>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 2.0CC: flanagan, rhs-bugs, shaines, vbellur
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: 2012-11-02 13:51:02 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:

Description Ben Turner 2012-10-29 22:29:40 UTC
Description of problem:

When I run rhn-channel -L I don't see the option for adding the 


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


How reproducible:

Every time.

Steps to Reproduce:
1.  Run rhn-channel -L on a RHS 2.0 install.
2.  Look for the Red Hat Storage child channel.
3.
  
Actual results:

The channel is not listed.  Here is the output from rhn-channel -L:

[root@rhsauto001 ~]# rhn-channel -L
Username: rhn-support-bturner
Password: 
 rhel-x86_64-server-6-rhs-2-beta
rhel-x86_64-server-6-rhs-2-beta-debuginfo
rhel-x86_64-server-6-rhs-2.0
rhel-x86_64-server-6-rhs-2.0-debuginfo
rhel-x86_64-server-6.2.z-debuginfo
rhel-x86_64-server-dts-6.2.z
rhel-x86_64-server-dts-6.2.z-debuginfo
rhel-x86_64-server-ha-6.2.z
rhel-x86_64-server-ha-6.2.z-debuginfo
rhel-x86_64-server-lb-6.2.z
rhel-x86_64-server-lb-6.2.z-debuginfo
rhel-x86_64-server-optional-6.2.z
rhel-x86_64-server-optional-6.2.z-debuginfo
rhel-x86_64-server-rs-6.2.z
rhel-x86_64-server-rs-6.2.z-debuginfo
rhel-x86_64-server-sfs-6.2.z
rhel-x86_64-server-sfs-6.2.z-debuginfo
rhel-x86_64-server-sjis-6.2.z
rhel-x86_64-server-sjis-6.2.z-debuginfo
rhel-x86_64-server-supplementary-6.2.z
rhel-x86_64-server-supplementary-6.2.z-debuginfo
rhn-tools-rhel-x86_64-server-6.2.z
rhn-tools-rhel-x86_64-server-6.2.z-debuginfo

I went on RHN and added the Red Hat Storage Server 2.0 (RHEL 6.2.z for x86_64) channel manually on I still don't see it in the list of subscribed channels:

# rhn-channel -l
rhel-x86_64-server-6-rhs-2.0
rhel-x86_64-server-6.2.z
rhel-x86_64-server-sfs-6.2.z

Expected results:

RHS 2.0 should be able to subscribe RHS 2.0 to the RHSS channel via rhn-channel.

Additional info:

I didn't know which component to open this under so I just chose unclassified.  Please route to the appropriate owner.

Comment 3 Anthony Towns 2012-10-30 06:58:59 UTC
(In reply to comment #0)
> Steps to Reproduce:
> 1.  Run rhn-channel -L on a RHS 2.0 install.
> 2.  Look for the Red Hat Storage child channel.

> Actual results:
> The channel is not listed.  Here is the output from rhn-channel -L:
> [root@rhsauto001 ~]# rhn-channel -L
> Username: rhn-support-bturner
...
> rhel-x86_64-server-6-rhs-2.0
...

That's the one you want, isn't it?

> I went on RHN and added the Red Hat Storage Server 2.0 (RHEL 6.2.z for
> x86_64) channel manually on I still don't see it in the list of subscribed
> channels:
> # rhn-channel -l
> rhel-x86_64-server-6-rhs-2.0

https://rhn.redhat.com/network/software/channels/details.pxt?cid=14689

 Red Hat Storage Server 2.0 (RHEL 6.2.z for x86_64) 
 Label: rhel-x86_64-server-6-rhs-2.0

Seems like you're getting what you should be -- what are you expecting to be different?

Comment 4 Ben Turner 2012-11-05 17:39:29 UTC
I figured out what is wrong here.  When I registered I ran:

rhnreg_ks --use-eus-channel

When I registered with the --use-eus-channel it mistakenly subscribed me to the AUS channel as described in the following BZ:

https://bugzilla.redhat.com/show_bug.cgi?id=871198

When I run rhn-channel -L on this system I see:

[root@rhsauto024 ~]# rhn-channel -L
Username: rhn-support-bturner
Password: 
 rhel-x86_64-server-6.2.aus-debuginfo
rhel-x86_64-server-ha-6.2.aus
rhel-x86_64-server-ha-6.2.aus-debuginfo
rhel-x86_64-server-lb-6.2.aus
rhel-x86_64-server-lb-6.2.aus-debuginfo
rhel-x86_64-server-optional-6.2.aus
rhel-x86_64-server-optional-6.2.aus-debuginfo
rhel-x86_64-server-rs-6.2.aus
rhel-x86_64-server-rs-6.2.aus-debuginfo
rhel-x86_64-server-sfs-6.2.aus
rhel-x86_64-server-sfs-6.2.aus-debuginfo
rhel-x86_64-server-supplementary-6.2.aus
rhel-x86_64-server-supplementary-6.2.aus-debuginfo

When I copy and pasted the output in my above update it was registered from commandline and had the correct channel.  My mistake for not looking at the output closer from the properly registered system, I am closing as not a bug.