Bug 697447
| Summary: | API calls does not work through RHN Proxy 5.4.1 installed in RHEL6 | ||
|---|---|---|---|
| Product: | Red Hat Satellite Proxy 5 | Reporter: | Dimitar Yordanov <dyordano> |
| Component: | Server | Assignee: | Miroslav Suchý <msuchy> |
| Status: | CLOSED ERRATA | QA Contact: | Dimitar Yordanov <dyordano> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 540 | CC: | cperry, jhutar, mmraka |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-proxy-1.2.2-7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-16 17:38:17 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: | 677501, 677510 | ||
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 |
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: