hangs when lxc fails to start

Bug #907655 reported by Martin Pool
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
pyjuju
Triaged
Low
Unassigned

Bug Description

I have some problem that causes lxc-start to fail with

      lxc-start 1324533919.042 ERROR lxc_start - failed to spawn 'mbp-local-udd-0'

(Thanks very much.) Aside from the actual problem, it seems like a bug that lxc doesn't detect that lxc-start failed, and instead it just stays in 'pending' indefinitely.

Tags: local lxc
Changed in juju:
importance: Undecided → High
tags: added: local lxc
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

At the moment we're just lxc-waiting on started, but if the start fails we should detect that and error out appropriately.

Changed in juju:
status: New → Confirmed
milestone: none → florence
Changed in juju:
milestone: florence → galapagos
Changed in juju:
milestone: galapagos → honolulu
Changed in juju:
milestone: 0.6 → none
Revision history for this message
Martin Pool (mbp) wrote :

I was going to close this on the grounds of being unreproducible or a consequence of a bug in lxc, but I see at least two other people are being hit. So perhaps it's worth timing out in juju.

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 907655] Re: hangs when lxc fails to start

There's a state bit mask we can set when we invoke lxc-wait instead of
waiting for started state, instead of straight timeout, but either sounds
reasonable.

On Mon, Sep 10, 2012 at 9:31 PM, Martin Pool <email address hidden> wrote:

> I was going to close this on the grounds of being unreproducible or a
> consequence of a bug in lxc, but I see at least two other people are
> being hit. So perhaps it's worth timing out in juju.
>
> --
> You received this bug notification because you are subscribed to juju.
> https://bugs.launchpad.net/bugs/907655
>
> Title:
> hangs when lxc fails to start
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/907655/+subscriptions
>

Curtis Hovey (sinzui)
Changed in juju:
status: Confirmed → Triaged
importance: High → Low
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.