Re: [Spacewalk-list] Kickstart related error -- need help debugging

2012-10-13 Thread Jan Pazdziora
On Mon, Oct 08, 2012 at 02:01:19PM -0400, Boyd, Robert wrote:
 I'm getting emails sent to root on my spacewalk 1.7 server.   It looks like 
 there's something going on with kickstarts, even though I'm not really using 
 kickstart explicitly currently.  There's a lot of output - where should I 
 send this kind of error output to have someone look through it for clues?
 

[...]

 Exception Handler Information
 Traceback (most recent call last):
   File /usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py, 
 line 122, in call_function
 response = apply(func, params)
   File /usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py, 
 line 252, in repodata
 return self._repodata_taskomatic(file_name)
   File /usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py, 
 line 221, in _repodata_taskomatic
 return self._repodata_python(file_name)
   File /usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py, 
 line 196, in _repodata_python
 output = repo.get_comps_file()
   File 
 /usr/lib/python2.6/site-packages/spacewalk/server/repomd/repository.py, 
 line 165, in get_comps_file
 return comps_view.get_file()
   File /usr/lib/python2.6/site-packages/spacewalk/server/repomd/view.py, 
 line 347, in get_file
 comps_file = open(self.comps.filename)
 IOError: [Errno 2] No such file or directory: 
 '/var/satellite/rhn/kickstart/ks-rhel-x86_64-server-5/Server/repodata/comps-rhel5-server-core.xml'
 
 
 I'm not sure why anything is looking for something under kickstart at all ... 
 if someone is willing to look at it, I can send the rest of the error output.

Well, it's your Apache log which should tell you what the system
110223 tries to do -- what it requested before this GET that
failed.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


[Spacewalk-list] Kickstart related error -- need help debugging

2012-10-08 Thread Boyd, Robert
I'm getting emails sent to root on my spacewalk 1.7 server.   It looks like 
there's something going on with kickstarts, even though I'm not really using 
kickstart explicitly currently.  There's a lot of output - where should I send 
this kind of error output to have someone look through it for clues?

Here is the first part of one of these messages:

Exception reported from rhqengbld03.corp.peopleclick.com
Time: Mon Oct  8 13:03:49 2012
Exception type type 'exceptions.IOError'
Exception while handling function repodata
Request object information:
URI: /XMLRPC/GET-REQ/rhel-x86_64-server-5/repodata/comps.xml
Remote Host:  sanitized client name
Server Name: spacewalk-server:80
Headers passed in:
Accept-Encoding: identity
Connection: close
DOCUMENT_ROOT: /var/www/html
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT_ENCODING: identity
HTTP_CONNECTION: close
HTTP_HOST: spacewalk-server
HTTP_PRAGMA: no-cache
HTTP_USER_AGENT: rhn.rpclib.py/$Revision$
HTTP_X_RHN_AUTH: 2cnQ5FDMfiI4HfZb6EH1wA==
HTTP_X_RHN_AUTH_EXPIRE_OFFSET: 3600.0
HTTP_X_RHN_AUTH_SERVER_TIME: 1349712229.44
HTTP_X_RHN_AUTH_USER_ID:
HTTP_X_RHN_SERVER_ID: 110223
HTTP_X_RHN_TRANSPORT_CAPABILITY: follow-redirects=3
Host: spacewalk-server
PATH_INFO: /GET-REQ/rhel-x86_64-server-5/repodata/comps.xml
PATH_TRANSLATED: 
/var/www/html/GET-REQ/rhel-x86_64-server-5/repodata/comps.xml
Pragma: no-cache
QUERY_STRING:
REMOTE_ADDR: ip address deleted
REMOTE_PORT: 50434
REQUEST_METHOD: GET
REQUEST_URI: /XMLRPC/GET-REQ/rhel-x86_64-server-5/repodata/comps.xml
SCRIPT_FILENAME: /usr/share/rhn/wsgi/xmlrpc.py
   SCRIPT_NAME: /XMLRPC
SCRIPT_URI: 
http://spacewalk-server/XMLRPC/GET-REQ/rhel-x86_64-server-5/repodata/comps.xml
SCRIPT_URL: /XMLRPC/GET-REQ/rhel-x86_64-server-5/repodata/comps.xml
SERVER_ADDR: ip address deleted
SERVER_ADMIN: root@localhost
SERVER_NAME: spacewalk-server
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: addressApache Server at spacewalk-server Port 
80/address

SERVER_SOFTWARE: Apache
User-Agent: rhn.rpclib.py/$Revision$
X-RHN-Auth: 2cnQ5FDMfiI4HfZb6EH1wA==
X-RHN-Auth-Expire-Offset: 3600.0
X-RHN-Auth-Server-Time: 1349712229.44
X-RHN-Auth-User-Id:
X-RHN-Server-Id: 110223
X-RHN-Transport-Capability: follow-redirects=3
mod_wsgi.application_group: spacewalk-server|/xmlrpc
mod_wsgi.callable_object: application
mod_wsgi.handler_script:
mod_wsgi.input_chunked: 0
mod_wsgi.listener_host:
mod_wsgi.listener_port: 80
mod_wsgi.process_group:
mod_wsgi.request_handler: wsgi-script
mod_wsgi.script_reloading: 1
mod_wsgi.version: (3, 2)
wsgi.errors: mod_wsgi.Log object at 0x7fd1fddbdfb0
wsgi.file_wrapper: built-in method file_wrapper of mod_wsgi.Adapter 
object at 0x7fd1fe0103f0
wsgi.input: mod_wsgi.Input object at 0x7fd216f23b30
wsgi.multiprocess: True
wsgi.multithread: False
wsgi.run_once: False
wsgi.url_scheme: http
wsgi.version: (1, 1)

Exception Handler Information
Traceback (most recent call last):
  File /usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py, 
line 122, in call_function
response = apply(func, params)
  File /usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py, 
line 252, in repodata
return self._repodata_taskomatic(file_name)
  File /usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py, 
line 221, in _repodata_taskomatic
return self._repodata_python(file_name)
  File /usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py, 
line 196, in _repodata_python
output = repo.get_comps_file()
  File 
/usr/lib/python2.6/site-packages/spacewalk/server/repomd/repository.py, line 
165, in get_comps_file
return comps_view.get_file()
  File /usr/lib/python2.6/site-packages/spacewalk/server/repomd/view.py, line 
347, in get_file
comps_file = open(self.comps.filename)
IOError: [Errno 2] No such file or directory: 
'/var/satellite/rhn/kickstart/ks-rhel-x86_64-server-5/Server/repodata/comps-rhel5-server-core.xml'


I'm not sure why anything is looking for something under kickstart at all ... 
if someone is willing to look at it, I can send the rest of the error output.

Thanks,

Robert Boyd
Senior Systems Engineer
Phone: 919-645-2972
Mobile: 919-306-4681
Peoplefluent
434 Fayetteville Street
Raleigh, NC  27601

robert.b...@peoplefluent.commailto:michael.dileona...@peoplefluent.com

[cid:image001.png@01CDA55D.63E13EA0]



This email message is for the sole use of the intended recipient(s) and may 
contain confidential information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are