ci-airline-ppa-django/logs/{cleaner.log,django.log} are owned by root breaking the ppa-assigner

Bug #1347528 reported by Vincent Ladeuil
This bug report is a duplicate of:  Bug #1347220: ppa assigner 500 error in _get_ppa. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Triaged
Undecided
Unassigned

Bug Description

From a fresh deployment from trunk@revno 701

The webui health page reported a failure for the cleaner on ci-airline-ppa-django/0

Digging, I ended up with:

  /var/lib/lxc/vila-lxc-machine-5/delta0/srv/ci-airline-ppa-django/logs:
  total used in directory 60 available 676576996
  drwxr-xr-x 2 www-data www-data 4096 Jul 23 11:17 .
  dr-xr-xr-x 4 root root 4096 Jul 23 11:16 ..
  -rw-r--r-- 1 www-data www-data 0 Jul 23 11:16 access.log
  -rw-r--r-- 1 root root 34530 Jul 23 11:33 cleaner.log
  -rw-r--r-- 1 root root 4476 Jul 23 11:33 django.log
  -rw-r--r-- 1 www-data www-data 7976 Jul 23 11:33 gunicorn.log

chmoding 666 the {cleaner,django}.log and doing:

# service jujud-unit-ci-airline-ppa-cleaner-0 restart
# service jujud-unit-ci-airline-ppa-django-0 restart
# service jujud-unit-ci-airline-ppa-gunicorn-0 restart

Worked around the issue

Tags: airline
Vincent Ladeuil (vila)
description: updated
Revision history for this message
Paul Larson (pwlars) wrote :

I filed a bug for this yesterday after hitting it also. I didn't see any negative effects of the cleaner.log being owned by root, but I did have to chown the django.log and restart the cleaner to get things moving for me as well. See Bug #1347220

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.