goroutine panic launching container on xenial

Bug #1592210 reported by Adam Stokes
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Nate Finch
juju-core
Fix Released
High
Nate Finch
1.25
Fix Released
High
Nate Finch

Bug Description

When deploying upwards of 15 applications using the lxd provider at times at least one agent is stick in an allocating state.

Here is the log from machine 6 in this case is ceph-radosgw, as you can see the underlying lxd container is created and does have an IP and the rest of the applications come up as expected.

http://paste.ubuntu.com/17313966/

Note: interesting bit starts at line 184

Here is the juju status output (tabular, yaml formatted):

http://paste.ubuntu.com/17314052/ (tabular)
http://paste.ubuntu.com/17314074/ (yaml)

This can easily be reproduced by running conjure-up:

sudo apt-add-repository ppa:conjure/next
sudo apt update
sudo apt install conjure-up
conjure-up -d battlemidget/openstack-novalxd

Then during the application walkthrough view select the button that says 'deploy remaining applications with defaults'

Tags: conjure
tags: added: conjure
description: updated
description: updated
description: updated
Revision history for this message
Cheryl Jennings (cherylj) wrote :

There is an upstream fix in godbus. Nate is updating the dependency.

Changed in juju-core:
status: New → Triaged
importance: Undecided → Critical
tags: added: blocker
Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Nate Finch (natefinch)
milestone: none → 2.0-beta9
Revision history for this message
Cheryl Jennings (cherylj) wrote :
summary: - juju2beta9 agent stuck in allocating state
+ goroutine panic launching container on xenial
Revision history for this message
Cheryl Jennings (cherylj) wrote :

This panic is present in the machine log:

panic: send on closed channel

goroutine 321 [running]:
panic(0x1cecb00, 0xc8201178b0)
 /usr/lib/go-1.6/src/runtime/panic.go:464 +0x3e6
github.com/godbus/dbus.(*Conn).inWorker(0xc8203b5320)
 /build/juju-core-2avUTs/juju-core-2.0-beta9~20160608~4037~719e6ec/src/github.com/godbus/dbus/conn.go:327 +0x1048
created by github.com/godbus/dbus.(*Conn).Auth
 /build/juju-core-2avUTs/juju-core-2.0-beta9~20160608~4037~719e6ec/src/github.com/godbus/dbus/auth.go:118 +0xf3d

Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
tags: removed: blocker
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta9 → none
milestone: none → 2.0-beta9
Changed in juju-core:
assignee: nobody → Nate Finch (natefinch)
importance: Undecided → High
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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