Errors when a 1.17.4 unit is rebooted

Bug #1288141 reported by Andreas Hasenack
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
juju-core
Triaged
High
Unassigned

Bug Description

I rebooted a unit that was deployed and related using juju-core 1.17.4 and, once it comes back, the unit logs are filled with these:

2014-03-05 09:27:11 INFO juju runner.go:262 worker: start "uniter"
2014-03-05 09:27:11 ERROR juju.worker.uniter runlistener.go:63 failed to listen on unix /var/lib/juju/agents/unit-psql-1/run.socket: listen unix /var/lib/juju/agents/uni
t-psql-1/run.socket: address already in use
2014-03-05 09:27:11 ERROR juju runner.go:220 worker: exited "uniter": failed to initialize uniter for "unit-psql-1": listen unix /var/lib/juju/agents/unit-psql-1/run.soc
ket: address already in use
2014-03-05 09:27:11 INFO juju runner.go:254 worker: restarting "uniter" in 3s
2014-03-05 09:27:14 INFO juju runner.go:262 worker: start "uniter"
2014-03-05 09:27:14 ERROR juju.worker.uniter runlistener.go:63 failed to listen on unix /var/lib/juju/agents/unit-psql-1/run.socket: listen unix /var/lib/juju/agents/uni
t-psql-1/run.socket: address already in use
2014-03-05 09:27:14 ERROR juju runner.go:220 worker: exited "uniter": failed to initialize uniter for "unit-psql-1": listen unix /var/lib/juju/agents/unit-psql-1/run.soc
ket: address already in use
2014-03-05 09:27:14 INFO juju runner.go:254 worker: restarting "uniter" in 3s

Full logs attached.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
tags: added: landscape
Curtis Hovey (sinzui)
tags: added: reboot regression
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.18.0
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1288141] Re: Errors when a 1.17.4 unit is rebooted

confirmed. I just experienced this on a test system.

It appears to be related to the recent additions of the juju run
support. It creates a UNIX socket to communicate on. While starting
up, it tries to create it, but since it already exists it fails, but
will never actually succeed.
We probably should just be using one that is there, or deleting it if
we start up and find one already there.

On Wed, Mar 5, 2014 at 1:09 PM, Curtis Hovey <email address hidden> wrote:
> ** Tags added: reboot regression
>
> ** Changed in: juju-core
> Status: New => Triaged
>
> ** Changed in: juju-core
> Importance: Undecided => High
>
> ** Changed in: juju-core
> Milestone: None => 1.18.0
>
> --
> You received this bug notification because you are subscribed to juju-
> core.
> https://bugs.launchpad.net/bugs/1288141
>
> Title:
> Errors when a 1.17.4 unit is rebooted
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-core/+bug/1288141/+subscriptions

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.