allura-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicolas david <nicolas.da...@ign.fr>
Subject error on new allura install while init task processing
Date Fri, 15 Mar 2013 13:09:19 GMT
Hi,

We want to test Allura for our private code management. In order to lead 
some tests, I'm trying to install Allura on a fresh 
<http://ubuntu.com>Ubuntu 12.04 minimal install.

To do so, I'm following step by step the README.markdow.  Except some 
minor issues with our proxy setting when dowloading package all run fine 
until the task processing initialization step.

When running :

   (anvil)~/src/forge/Allura$ nohup paster taskd development.ini > 
~/logs/taskd.log &

It's seems that something goes wrong with our network configuration 
(proxy settings ?), see taskd.log below.
Have you any idea to resolve this issues ?

Thank you

Nicolas DAVID


*************************** 
/logs/taskd.log***************************************************
10:17:45,418 INFO  [allura.command] Initialize command with config 
'development.ini'
10:17:46,254 INFO  [allura.command] Loaded tools
10:17:46,255 INFO  [allura.command] Starting taskd, pid 1241
10:17:46,539 INFO  [ew.resource] Loading ep ew_resources = 
allura.config.resources:register_ew_resources
10:17:46,558 INFO  [ew.resource] Loading ep ew_resources = 
forgeactivity.config.resources:register_ew_resources
10:17:46,561 INFO  [ew.resource] Loading ep ew_resources = 
forgetracker.config.resources:register_ew_resources
10:17:46,754 INFO  [allura.model.monq_model] starting <MonQTask 
51420980200cb40b3bea23a1 (busy) P:10 
allura.tasks.index_tasks.add_artifacts del-9323825 pid 1241 project:None 
app:None user:None>
10:17:46,787 INFO  [allura.model.monq_model] Error on job <MonQTask 
51420980200cb40b3bea23a1 (busy) P:10 
allura.tasks.index_tasks.add_artifacts del-9323825 pid 1241 project:None 
app:None user:None>, re-raising it
10:17:47,161 ERROR [allura.command] taskd error (403, 'Forbidden'); 
pausing for 10s before taking more tasks
Traceback (most recent call last):
   File "/home/taram/src/forge/Allura/allura/command/taskd.py", line 
112, in worker
     list(wsgi_app(r.environ, start_response))
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/paste/registry.py", 
line 409, in streaming_iter
     for item in self.application(environ, start_response):
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/ming/odm/middleware.py", 
line 16, in __call__
     result = self.app(environ, start_response)
   File "/home/taram/src/forge/Allura/allura/lib/custom_middleware.py", 
line 41, in __call__
     return self.app(environ, start_response)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/ew/middleware.py", 
line 65, in __call__
     result = self.app(environ, start_response)
   File "/home/taram/src/forge/Allura/allura/config/middleware.py", line 
164, in AlluraGlobalsMiddleware
     return app(environ, start_response)
   File "/home/taram/src/forge/Allura/allura/lib/custom_middleware.py", 
line 121, in __call__
     return self._app(environ, session_start_response)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/timermiddleware/__init__.py", 
line 172, in __call__
     resp = req.get_response(self.app)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/webob/request.py", 
line 1053, in get_response
     application, catch_exc_info=False)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/webob/request.py", 
line 1022, in call_application
     app_iter = application(self.environ, start_response)
   File "/home/taram/src/forge/Allura/allura/lib/custom_middleware.py", 
line 91, in __call__
     start_response(status, headers, exc_info)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/weberror/evalexception.py", 
line 431, in respond
     app_iter = self.application(environ, detect_start_response)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/beaker/middleware.py", 
line 152, in __call__
     return self.wrap_app(environ, session_start_response)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/routes/middleware.py", 
line 131, in __call__
     response = self.app(environ, start_response)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/pylons/wsgiapp.py", 
line 107, in __call__
     response = self.dispatch(controller, environ, start_response)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/pylons/wsgiapp.py", 
line 312, in dispatch
     return controller(environ, start_response)
   File "/home/taram/src/forge/Allura/allura/controllers/task.py", line 
11, in __call__
     result = task(restore_context=False)
   File "/home/taram/src/forge/Allura/allura/model/monq_model.py", line 
237, in __call__
     self.result = func(*self.args, **self.kwargs)
   File "/home/taram/src/forge/Allura/allura/tasks/index_tasks.py", line 
36, in add_artifacts
     g.solr.add(solr_updates)
   File "/home/taram/src/forge/Allura/allura/lib/solr.py", line 22, in add
     return pysolr.Solr.add(self, *args, **kw)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/timermiddleware/__init__.py", 
line 116, in wrapper
     return self.run_and_log(func, inst, *args, **kwargs)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/timermiddleware/__init__.py", 
line 141, in run_and_log
     return func(*args, **kwargs)
   File "/home/taram/anvil/local/lib/python2.7/site-packages/pysolr.py", 
line 703, in add
     response = self._update(m, commit=commit, waitFlush=waitFlush, 
waitSearcher=waitSearcher)
   File "/home/taram/anvil/local/lib/python2.7/site-packages/pysolr.py", 
line 401, in _update
     return self._send_request('POST', path, message, {'Content-type': 
'text/xml; charset=utf-8'})
   File "/home/taram/anvil/local/lib/python2.7/site-packages/pysolr.py", 
line 310, in _send_request
     headers, response = http.request(url, method=method, body=body, 
headers=headers)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/httplib2/__init__.py", 
line 1544, in request
     (response, content) = self._request(conn, authority, uri, 
request_uri, method, body, headers, redirections, cachekey)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/httplib2/__init__.py", 
line 1294, in _request
     (response, content) = self._conn_request(conn, request_uri, method, 
body, headers)
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/httplib2/__init__.py", 
line 1230, in _conn_request
     conn.connect()
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/httplib2/__init__.py", 
line 880, in connect
     self.sock.connect((self.host, self.port) + sa[2:])
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/httplib2/socks.py", 
line 424, in connect
     self.__negotiatehttp(destpair[0], destpair[1])
   File 
"/home/taram/anvil/local/lib/python2.7/site-packages/httplib2/socks.py", 
line 390, in __negotiatehttp
     raise HTTPError((statuscode, statusline[2]))
HTTPError: (403, 'Forbidden')
10:17:57,232 INFO  [allura.model.monq_model] starting <MonQTask 
51420980200cb40b3bea23a4 (busy) P:10 
allura.tasks.index_tasks.add_artifacts del-9323825 pid 1241 project:None 
app:None user:None>
10:17:57,238 INFO  [allura.model.monq_model] Error on job <MonQTask 
51420980200cb40b3bea23a4 (busy) P:10 
allura.tasks.index_tasks.add_artifacts del-9323825 pid 1241 project:None 
app:None user:None>, re-raising it
10:17:57,405 ERROR [allura.command] taskd error (403, 'Forbidden'); 
pausing for 10s before taking more tasks
*************************** 
***************************************************

Mime
View raw message