Bug 697092

Summary: Command "rhncfg-manager list-channels" fails on Hosted.
Product: [Retired] Red Hat Network Reporter: Dimitar Yordanov <dyordano>
Component: RHN/Config ClientAssignee: rhn-dev-list
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Network Quality Assurance <rhn-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: RHN StableCC: cperry, jhutar, nbronson, sskracic
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 600 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-09 11:39:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    

Description Dimitar Yordanov 2011-04-15 19:49:18 UTC
Description of problem:
rhncfg-manager list-channels Fails.

Version-Release number of selected component (if applicable):
rhncfg-management-5.9.27-15.el5
rhncfg-management-5.9.27-15.el6.noarch

How reproducible:
Always.

Steps to Reproduce:
1.Register RHEL5 or RHEL6 server to rhn.redhat.com, errata.stage or webqa
2.Add Tools channel
3.yum install rhncfg-management
4.rhncfg-manager list-channels
   
Actual results:
XML-RPC call error: <ProtocolError for xmlrpc.rhn.redhat.com /CONFIG-MANAGEMENT-TOOL: 404 Not Found>

Expected results:
All Configuration channels are listed.

Additional info:

Comment 4 Dimitar Yordanov 2011-04-20 12:09:21 UTC
Jan and I looked on the problem more deeply and it turned out that if HTTPS is used it works. 
 serverURL=https://xmlrpc.rhn.errata.stage.redhat.com/XMLRPC
In case HTTP is use it does not work.
 serverURL=http://xmlrpc.rhn.errata.stage.redhat.com/XMLRPC

Comment 5 Dimitar Yordanov 2011-04-20 12:13:18 UTC
The situation is the same for PROD (rhn.redhat.com.)

Comment 7 Sebastian Skracic 2012-03-09 11:39:02 UTC
Fixed in RHN 6.0.0.