ampq_config.py is created 0600 by root and can't be read by the upstart job running as nobody/nogroup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
Fix Released
|
Critical
|
Vincent Ladeuil | ||
Ubuntu CI Services |
Fix Released
|
Critical
|
Vincent Ladeuil |
Bug Description
root@juju-
#------
# This file is managed by the rabbitmq-worker Juju charm
#------
description "starts a rabbitmq worker"
start on (local-filesystems and net-device-up IFACE=eth0)
stop on runlevel [!12345]
# use sigint so python code just needs to catch KeyboardInterrupt
kill signal SIGINT
# If the process quits unexpectadly trigger respawn it, unless it
# fails 15 times within 5 seconds
respawn
respawn limit 15 5
setuid nobody
setgid nogroup
chdir /srv/bsb_worker
exec ./run-python ./branch-
root@juju-
total 112
-rw------- 1 root root 196 Mar 10 09:49 amqp_config.py
Related branches
- Andy Doan (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 19 lines (+2/-0)1 file modifiedcharms/precise/rabbitmq-worker/hooks/hooks.py (+2/-0)
Changed in ubuntu-ci-services-itself: | |
importance: | Undecided → Critical |
Changed in ubuntu-ci-services-itself: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ci-services-itself: | |
status: | Fix Released → Fix Committed |
Changed in ubuntu-ci-services-itself: | |
status: | Fix Committed → Fix Released |
Changed in uci-engine: | |
assignee: | nobody → Vincent Ladeuil (vila) |
importance: | Undecided → Critical |
milestone: | none → phase-0 |
status: | New → Fix Released |
Fix in progress but a new bug surfaces:
Traceback (most recent call last): source- builder/ bsbuilder/ run_worker. py", line 91, in <module> utils.process_ queue(config, 'bsbuilder', on_message) worker/ ci-utils/ ci_utils/ amqp_utils. py", line 101, in process_queue worker/ ci-utils/ ci_utils/ amqp_utils. py", line 48, in connection rabbit_ config. AMQP_PASSWORD python2. 7/dist- packages/ amqplib/ client_ 0_8/connection. py", line 144, in __init__ python2. 7/dist- packages/ amqplib/ client_ 0_8/abstract_ channel. py", line 95, in wait channel_ id, allowed_methods) python2. 7/dist- packages/ amqplib/ client_ 0_8/connection. py", line 202, in _wait_method method_ reader. read_method( ) python2. 7/dist- packages/ amqplib/ client_ 0_8/method_ framing. py", line 221, in read_method
File "./branch-
amqp_
File "/srv/bsb_
conn = connection(config)
File "/srv/bsb_
password=
File "/usr/lib/
(10, 30), # tune
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise m
IOError: Socket closed