Bug 859281

Summary: RFE: rhn-channel to provide an option to query the existing base channel of the system.
Product: Red Hat Enterprise Linux 6 Reporter: jalviso <jalviso>
Component: rhn-client-toolsAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Pavel Studeník <pstudeni>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5CC: mminar, pstudeni
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn-client-tools-1.0.0.1-1.el6 Doc Type: Bug Fix
Doc Text:
Cause: Customer request: ability to list base channel of a system Consequence: Fix: new -b option for rhn-channel utility which shows base channel of a system. Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 10:07: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 jalviso 2012-09-21 01:52:14 UTC
Description of problem: 
Request for Enhancement of "rhn-channel" command to include a switch to query the base channel of any RHEL system.

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

How reproducible: 
It is reproducible.

Steps to Reproduce:
1. When invoking the command "rhn-channel", a switch to query the base channel 
   say "-b" would be ideal.
2. Currently, we can only get all channels available which includes base 
   channel in "rhn-channel -l" but the output doesn't show which line is the
   base channel.
3. Any other command that serves this purpose is acceptable but not the 
   Satellite API "Method: getSubscribedBaseChannel" because it is not plausible
   to the requesting customer's need.

Description:
Needs to provides the base channel of a given system through a command or additional switch for "rhn-channel" command.
  
Actual results:


Expected results:


Additional info: 

Please note that the rhn-client tools is selected in the Component field because there is no selection for rhn-setup.

Comment 2 Milan Zázrivec 2012-09-21 11:54:43 UTC
New '-b' option for rhn-channel / spacewalk-channel utility which lists
base channel that the system is subscribed to.

spacewalk.git master: 81df0f7ac4c1ac35f2311e897f75dbc6aa065acc

Comment 3 Milan Zázrivec 2012-09-21 11:58:22 UTC
Additional fix in spacewalk.git master: bbf617384638adf9babeb2018373f50dee0dbf6a

Comment 10 errata-xmlrpc 2013-02-21 10:07:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0388.html