provider/lxd: test suite panics if lxd not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
Eric Snow |
Bug Description
PANIC: provider_
[LOG] 0:00.021 DEBUG juju.service discovered init system "upstart" from series "trusty"
[LOG] 0:00.037 DEBUG juju.container.
[LOG] 0:00.038 DEBUG juju.container.
[LOG] 0:00.039 DEBUG juju.container.
[LOG] 0:00.039 DEBUG juju.container.
[LOG] 0:00.040 DEBUG juju.container.
provider_
c.Check(err, jc.ErrorIsNil)
... value *errors.Err = &errors.
.socket/1.0: dial unix /var/lib/
... error stack:
Get http://
... Panic: runtime error: invalid memory address or nil pointer dereference (PC=0x49038E)
/home/dfc/
in call32
/home/dfc/
in gopanic
/home/dfc/
in panicmem
/home/dfc/
in sigpanic
environ.go:137
in environ.Config
provider_test.go:43
in providerSuite.
/home/dfc/
in call32
/home/dfc/
in Value.Call
/home/dfc/
in goexit
-------
FAIL: provider_
Changed in juju-core: | |
status: | New → Triaged |
Changed in juju-core: | |
importance: | Undecided → Critical |
milestone: | none → 1.26-beta1 |
milestone: | 1.26-beta1 → 1.26-alpha2 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
tags: | added: 2.0-count |
I have lxd installed (wily but building with go 1.3) but am still getting lots of failures along the lines of:
Get http:// unix.socket/ 1.0: dial unix /var/lib/ lxd/unix. socket: permission denied com/juju/ juju/provider/ lxd/lxdclient/ client. go:68: can't connect to the local LXD server
github.