Description of problem: API calls does not work through RHN Proxy 5.4.1 installed in RHEL6 Version-Release number of selected component (if applicable): RHN Proxy 5.4.1 RHEAL 6.1 How reproducible: Alwasy Steps to Reproduce: 1. Install RHN Proxy 5.4.1 on RHEL6 activated to SATELLITE 5.4 2. Register a SERVER to the Proxy 3. On that SERVER execute: export SAT_SERVER="SATELLITE" python -c "import xmlrpclib,os;\ SERVER = os.environ['SAT_SERVER'];\ client = xmlrpclib.Server('http://%s/rpc/api' % SERVER, verbose=0);\ print client.api.systemVersion()" Actual results: Traceback (most recent call last): File "<string>", line 1, in ? File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request verbose=self.__verbose File "/usr/lib64/python2.4/xmlrpclib.py", line 1137, in request headers xmlrpclib.ProtocolError: <ProtocolError for hp-bl495cg5-01.rhts.bos.redhat.com/rpc/api: 404 Not Found> Logs on RHN PROXY. ### /var/log/httpd/access_log ########################################## 10.16.64.151 - - [14/Apr/2011:05:37:22 -0400] "POST /rpc/api HTTP/1.0" 404 306 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" ### /var/log/httpd/error_log ########################################## [Thu Apr 14 05:37:22 2011] [error] [client 10.16.64.151] File does not exist: /var/www/html/rpc Expected results: Success. Additional info:
Fixed in spacewalk.git as commit faafe8569387b70f7121c4cc950487fab61aa14c
All other handlers added in 439f4c00f067c2b9ce73677729ca901d851d8554
cherrypicked as 5e9549323f1e48e3a683a4591db0199776535e06 45087de93434f67d50ce069bf72d16eba4392e74
Verified.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0876.html