ppa assigner 500 error in _get_ppa
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
New
|
Undecided
|
Unassigned |
Bug Description
From a fresh install today, I saw a ticket hang and never get out of queued state. When I clicked on the watch build link, I found:
Ubuntu logo for print CI Engine
Tickets
Engine health
14:32:19 INFO lander: Steps to run ticket: ppa_assigner, bsbuilder, image_builder, test_runner, publisher, ppa_assigner_
14:32:19 DEBUG lander_
14:32:19 INFO lander_
14:32:19 ERROR root: Unable to handle request: HTTP Error 500: Internal Server Error: <html>
<head>
<title>Internal Server Error</title>
</head>
<body>
<h1>Internal Server Error</h1>
</body>
</html>
Traceback (most recent call last):
File "/srv/ci-
results = handler(
File "/srv/ci-
loc = _get_ppa(
File "/srv/ci-
raise e
HTTPError: HTTP Error 500: Internal Server Error
14:32:19 DEBUG lander: Step completed with rc=1
14:32:19 INFO lander: Freeing up PPA
14:32:19 DEBUG lander_
14:32:19 INFO lander_
14:32:19 DEBUG lander: Step completed with rc=0
Looking a bit closer at the logs on the ppa-assigner, I also found in the cleaner.log:
pgsql settings from /srv/ci-
ALLOWED_HOSTS from (/srv/ci-
Traceback (most recent call last):
File "./ppa-
execute_
File "/usr/lib/
utility.
File "/usr/lib/
self.
File "/usr/lib/
app_name = get_commands(
File "/usr/lib/
apps = settings.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
logging_
File "/usr/lib/
dictConfigC
File "/usr/lib/
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'file': [Errno 13] Permission denied: u'/srv/
root@plars-
total 596
-rw-r--r-- 1 www-data www-data 1692 Jul 22 16:05 access.log
-rw-r--r-- 1 root root 92772 Jul 22 15:04 cleaner.log
-rw-r--r-- 1 root root 497196 Jul 22 17:18 django.log
-rw-r--r-- 1 www-data www-data 4799 Jul 22 16:05 gunicorn.log
This looked a little similar to https:/