Unable to pull rpm's with registered clients
Issue
- When a client tries to update by yum, from the /etc/httpd/logs/access_log:
(ip) - - [17/Apr/2013:15:27:07 +0000] "GET /XMLRPC/GET-REQ/rhel-x86_64-server-6/repodata/repomd.xml HTTP/1.1" 500 - "-" "rhn.rpclib.py/$Revision$"
(ip) - - [17/Apr/2013:15:27:07 +0000] "GET /XMLRPC/GET-REQ/rhel-x86_64-server-6/repodata/repomd.xml HTTP/1.1" 500 - "-" "rhn.rpclib.py/$Revision$"
(ip) - - [17/Apr/2013:15:27:07 +0000] "GET /XMLRPC/GET-REQ/rhel-x86_64-server-6/repodata/repomd.xml HTTP/1.1" 500 - "-" "rhn.rpclib.py/$Revision$"
(ip) - - [17/Apr/2013:15:27:07 +0000] "GET /XMLRPC/GET-REQ/rhel-x86_64-server-6/repodata/repomd.xml HTTP/1.1" 500 - "-" "rhn.rpclib.py/$Revision$"
- I/O errors in the error_log:
[Wed Apr 17 13:10:03 2013] [error] Exception reported from satellite.example.com
[Wed Apr 17 13:10:03 2013] [error] Time: Wed Apr 17 13:10:03 2013
[Wed Apr 17 13:10:03 2013] [error] Exception type <type 'exceptions.IOError'>
[Wed Apr 17 13:10:03 2013] [error] Exception while handling function repodata
[Wed Apr 17 13:10:03 2013] [error] Request object information:
[Wed Apr 17 13:10:03 2013] [error] URI: /XMLRPC/GET-REQ/rhel-i386-server-6/repodata/repomd.xml
[Wed Apr 17 13:10:03 2013] [error] Remote Host: 192.168.1.101
[Wed Apr 17 13:10:03 2013] [error] Server Name: satellite.example.com:443
[Wed Apr 17 13:10:03 2013] [error] Headers passed in:
[Wed Apr 17 13:10:03 2013] [error] \tAccept: */*
[Wed Apr 17 13:10:03 2013] [error] \tDOCUMENT_ROOT: /var/www/html
[Wed Apr 17 13:10:03 2013] [error] \tGATEWAY_INTERFACE: CGI/1.1
<snip>
[Wed Apr 17 13:10:03 2013] [error] \tX-RHN-Auth-User-Id:
[Wed Apr 17 13:10:03 2013] [error] \tX-RHN-Server-Id: 1000010001
[Wed Apr 17 13:10:03 2013] [error] \tX-RHN-Transport-Capability: follow-redirects=3
[Wed Apr 17 13:10:03 2013] [error] \tmod_ssl.is_https: <built-in method ssl_is_https of mod_wsgi.Adapter object at 0x7f0a2fcf7468>
[Wed Apr 17 13:10:03 2013] [error] \tmod_ssl.var_lookup: <built-in method ssl_var_lookup of mod_wsgi.Adapter object at 0x7f0a2fcf7468>
[Wed Apr 17 13:10:03 2013] [error] \tmod_wsgi.application_group: satellite.example.com|/xmlrpc
[Wed Apr 17 13:10:03 2013] [error] \tmod_wsgi.callable_object: application
[Wed Apr 17 13:10:03 2013] [error] \tmod_wsgi.handler_script:
[Wed Apr 17 13:10:03 2013] [error] \tmod_wsgi.input_chunked: 0
[Wed Apr 17 13:10:03 2013] [error] \tmod_wsgi.listener_host:
[Wed Apr 17 13:10:03 2013] [error] \tmod_wsgi.listener_port: 443
[Wed Apr 17 13:10:03 2013] [error] \tmod_wsgi.process_group:
[Wed Apr 17 13:10:03 2013] [error] \tmod_wsgi.request_handler: wsgi-script
[Wed Apr 17 13:10:03 2013] [error] \tmod_wsgi.script_reloading: 1
[Wed Apr 17 13:10:03 2013] [error] \tmod_wsgi.version: (3, 2)
[Wed Apr 17 13:10:03 2013] [error] \twsgi.errors: <mod_wsgi.Log object at 0x7f0a4e1de5f0>
[Wed Apr 17 13:10:03 2013] [error] \twsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f0a2fcf7468>
[Wed Apr 17 13:10:03 2013] [error] \twsgi.input: <mod_wsgi.Input object at 0x7f0a2faa4fb0>
[Wed Apr 17 13:10:03 2013] [error] \twsgi.multiprocess: True
[Wed Apr 17 13:10:03 2013] [error] \twsgi.multithread: False
[Wed Apr 17 13:10:03 2013] [error] \twsgi.run_once: False
[Wed Apr 17 13:10:03 2013] [error] \twsgi.url_scheme: https
[Wed Apr 17 13:10:03 2013] [error] \twsgi.version: (1, 1)
[Wed Apr 17 13:10:03 2013] [error]
[Wed Apr 17 13:10:03 2013] [error] Exception Handler Information
[Wed Apr 17 13:10:03 2013] [error] Traceback (most recent call last):
[Wed Apr 17 13:10:03 2013] [error] File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py", line 122, in call_function
[Wed Apr 17 13:10:03 2013] [error] response = apply(func, params)
[Wed Apr 17 13:10:03 2013] [error] File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py", line 252, in repodata
[Wed Apr 17 13:10:03 2013] [error] return self._repodata_taskomatic(file_name)
[Wed Apr 17 13:10:03 2013] [error] File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py", line 227, in _repodata_taskomatic
[Wed Apr 17 13:10:03 2013] [error] return self._getFile(CFG.REPOMD_CACHE_MOUNT_POINT + "/" + file_path)
[Wed Apr 17 13:10:03 2013] [error] File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py", line 295, in _getFile
[Wed Apr 17 13:10:03 2013] [error] return rhnRepository.Repository._getFile(self, path)
[Wed Apr 17 13:10:03 2013] [error] File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnRepository.py", line 170, in _getFile
[Wed Apr 17 13:10:03 2013] [error] return rpclib.transports.File(open(filePath, "rb"), length, name=filePath)
[Wed Apr 17 13:10:03 2013] [error] IOError: [Errno 13] Permission denied: '/var/cache/rhn/repodata/rhel-i386-server-6/repomd.xml'
Environment
- Red Hat Enterprise Linux 6
- Red Hat Network Satellite
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.