Cannot bootstrap with 2.6/edge when using lxd from a snap on disco
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Achilleas Anagnostopoulos | ||
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Unassigned |
Bug Description
Cannot bootstrap with 2.6/edge when using lxd from a snap on disco
, 2.6/stable seems fine. Looks like it can't find LXD_DIR
$ lxd --version
3.14
$ sudo snap refresh --channel=2.6/edge juju
juju (2.6/edge) 2.6.6+2.6-b255540 from Canonical✓ refreshed
$ env | grep LXD
$ juju bootstrap lxd test --no-gui --debug
10:22:05 INFO juju.cmd supercommand.go:57 running juju [2.6.6 gc go1.10.4]
10:22:05 DEBUG juju.cmd supercommand.go:58 args: []string{
10:22:05 DEBUG juju.container.lxd connection.go:163 using environment LXD_DIR as socket path: "/var/lib/lxd"
ERROR LXD socket not found; is LXD installed & running?
Please install LXD by running:
$ sudo snap install lxd
and then configure it with:
$ newgrp lxd
$ lxd init
10:22:05 DEBUG cmd supercommand.go:496 error stack:
LXD socket not found; is LXD installed & running?
Please install LXD by running:
$ sudo snap install lxd
and then configure it with:
$ newgrp lxd
$ lxd init
/build/
/build/
/build/
/build/
/build/
/build/
/build/
/build/
$ sudo snap refresh --channel=
juju (2.6/stable) 2.6.5 from Canonical✓ refreshed
$ juju bootstrap lxd test2
Creating Juju controller "test2" on lxd/localhost
Looking for packaged Juju agent version 2.6.5 for amd64
To configure your system to better support LXD containers, please see: https:/
Launching controller instance(s) on localhost/
- juju-a707a4-0 (arch=amd64)
Installing Juju agent on bootstrap instance
Fetching Juju GUI 2.14.0
Waiting for address
Changed in juju: | |
status: | New → Incomplete |
Changed in juju: | |
status: | Incomplete → Triaged |
importance: | Undecided → High |
milestone: | none → 2.7-beta1 |
assignee: | nobody → Achilleas Anagnostopoulos (achilleasa) |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in ubuntu-z-systems: | |
status: | New → Fix Committed |
importance: | Undecided → High |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
$ id 1000(liam) ,4(adm) ,24(cdrom) ,27(sudo) ,30(dip) ,46(plugdev) ,121(lpadmin) ,131(sambashare ),132(lxd) ,136(libvirt)
uid=1000(liam) gid=1000(liam) groups=
$ ls -l /var/snap/ lxd/common/ lxd/unix. socket lxd/common/ lxd/unix. socket
srw-rw---- 1 root lxd 0 Jul 3 09:31 /var/snap/