[Spacewalk-list] Spacewalk on nginx + uwsgi, xmlrpc exception

Stepan Rogov rogov at km-media.ru
Mon Nov 18 12:46:00 UTC 2013


Hi all!

I'm trying to set up nginx and uwsgi for the spacewalk, to compare the 
performance with apache mod_wsgi.
When setting up xmlrpc(/usr/share/rhn/wsgi/xmlrpc.py) the problem 
occurred. Do not download repositories metadata with the
following error:

Response sent back to the caller:
While running 'centos-6.4-kmsearch-sys-prod-x86_64': caught
<class 'spacewalk.server.apacheRequest.UnknownXML'> : Invalid request 
received (function 'centos-6.4-kmsearch-sys-prod-x86_64' invalid; 
path_info is 
/XMLRPC/GET-REQ/centos-6.4-kmsearch-sys-prod-x86_64/repodata/repomd.xml).

Exception Handler Information
Traceback (most recent call last):
   File 
"/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py", 
line 121, in call_function
     func = self.method_ref(method)
   File 
"/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py", 
line 537, in method_ref
     method, self.req.path_info))
UnknownXML: Invalid request received (function 
'centos-6.4-kmsearch-sys-prod-x86_64' invalid; path_info is 
/XMLRPC/GET-REQ/centos-6.4-kmsearch-sys-prod-x86_64/repodata/repomd.xml).

uwsgi config:
[uwsgi]
uid=apache
gid=apache
chmod-socket=777
chown-socket=apache
buffer-size=65535
enable-threads
max-requests=5000
workers=10
plugins=python
http-timeout=60
pythonpath=/usr/share/rhn
pythonpath=/usr/lib/python2.6/site-packages
wsgi-file=/usr/share/rhn/wsgi/xmlrpc.py
socket=127.0.0.1:18008


What could be wrong?
Maybe I did not have any path connected to the python?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20131118/615c9572/attachment.htm>


More information about the Spacewalk-list mailing list