lxd no longer works with 2.21
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Invalid
|
Undecided
|
Zygmunt Krynicki |
Bug Description
I updated to 2.21 and lxd no longer works.
sergiusens@
snap 2.21
snapd 2.21
series 16
ubuntu 16.04
sergiusens@
name: lxd
summary: "LXD - the container lightervisor"
publisher: canonical
description: |
LXD is a container manager for system containers.
It offers a REST API to remotely manage containers over the network, using an
image based workflow and with support for live migration.
Images are available for all Ubuntu releases and architectures as well as for
a wide number of other Linux distributions.
LXD containers are lightweight, secure by default and a great alternative to
virtual machines.
commands:
- lxd.benchmark
- lxd.lxc (lxc)
- lxd
tracking: stable
installed: 2.7 (887) 12MB -
refreshed: 2017-01-12 13:07:24 -0300 ART
channels:
stable: 2.7 (887) 12MB -
candidate: 2.7 (887) 12MB -
beta: 2.7 (887) 12MB -
edge: git-08e2d82 (923) 12MB -
sergiusens@
Status Spawn Ready Summary
Done 2017-01-
Done 2017-01-
Done 2017-01-
Done 2017-01-
Done 2017-01-
Done 2017-01-
Done 2017-01-
Done 2017-01-
Done 2017-01-
Done 2017-01-
sergiusens@
● snap.lxd.
Loaded: loaded (/etc/systemd/
Active: inactive (dead) (Result: exit-code) since mar 2017-01-17 17:34:38 ART; 36min ago
Process: 4889 ExecStop=
Process: 4879 ExecStart=
Main PID: 4879 (code=exited, status=126)
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: Failed to start Service for snap application lxd.daemon.
sergiusens@
-- Logs begin at mar 2017-01-17 17:27:35 ART, end at mar 2017-01-17 18:10:57 ART. --
ene 17 17:27:43 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:27:43 lindon /usr/bin/
ene 17 17:27:43 lindon snap[2651]: cat: /proc/self/
ene 17 17:27:43 lindon snap[2651]: /snap/lxd/
ene 17 17:27:43 lindon systemd[1]: snap.lxd.
ene 17 17:27:43 lindon /usr/bin/
ene 17 17:27:43 lindon snap[2703]: cat: /proc/self/
ene 17 17:27:43 lindon snap[2703]: /snap/lxd/
ene 17 17:27:43 lindon systemd[1]: snap.lxd.
ene 17 17:27:43 lindon systemd[1]: snap.lxd.
ene 17 17:27:43 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:27:44 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:27:44 lindon /usr/bin/
ene 17 17:27:44 lindon snap[2796]: cat: /proc/self/
ene 17 17:27:44 lindon snap[2796]: /snap/lxd/
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon /usr/bin/
ene 17 17:27:44 lindon snap[2816]: cat: /proc/self/
ene 17 17:27:44 lindon snap[2816]: /snap/lxd/
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:27:44 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:27:44 lindon /usr/bin/
ene 17 17:27:44 lindon snap[2876]: cat: /proc/self/
ene 17 17:27:44 lindon snap[2876]: /snap/lxd/
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon /usr/bin/
ene 17 17:27:44 lindon snap[2912]: cat: /proc/self/
ene 17 17:27:44 lindon snap[2912]: /snap/lxd/
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:44 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:27:44 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:27:44 lindon /usr/bin/
ene 17 17:27:45 lindon snap[2961]: cat: /proc/self/
ene 17 17:27:45 lindon snap[2961]: /snap/lxd/
ene 17 17:27:44 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon /usr/bin/
ene 17 17:27:45 lindon snap[2993]: cat: /proc/self/
ene 17 17:27:45 lindon snap[2993]: /snap/lxd/
ene 17 17:27:45 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:27:45 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:27:45 lindon /usr/bin/
ene 17 17:27:45 lindon snap[3055]: cat: /proc/self/
ene 17 17:27:45 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon snap[3055]: /snap/lxd/
ene 17 17:27:45 lindon /usr/bin/
ene 17 17:27:45 lindon snap[3082]: cat: /proc/self/
ene 17 17:27:45 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon snap[3082]: /snap/lxd/
ene 17 17:27:45 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:27:45 lindon systemd[1]: snap.lxd.
ene 17 17:27:45 lindon systemd[1]: Failed to start Service for snap application lxd.daemon.
ene 17 17:29:17 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:30:11 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:30:11 lindon /usr/bin/
ene 17 17:30:12 lindon snap[4017]: cat: /proc/self/
ene 17 17:30:12 lindon snap[4017]: /snap/lxd/
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon /usr/bin/
ene 17 17:30:12 lindon snap[4028]: cat: /proc/self/
ene 17 17:30:12 lindon snap[4028]: /snap/lxd/
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:30:12 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:30:12 lindon /usr/bin/
ene 17 17:30:12 lindon snap[4041]: cat: /proc/self/
ene 17 17:30:12 lindon snap[4041]: /snap/lxd/
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon /usr/bin/
ene 17 17:30:12 lindon snap[4052]: cat: /proc/self/
ene 17 17:30:12 lindon snap[4052]: /snap/lxd/
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:30:12 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:30:12 lindon /usr/bin/
ene 17 17:30:12 lindon snap[4063]: cat: /proc/self/
ene 17 17:30:12 lindon snap[4063]: /snap/lxd/
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon /usr/bin/
ene 17 17:30:12 lindon snap[4074]: cat: /proc/self/
ene 17 17:30:12 lindon snap[4074]: /snap/lxd/
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:30:12 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:30:12 lindon /usr/bin/
ene 17 17:30:12 lindon snap[4086]: cat: /proc/self/
ene 17 17:30:12 lindon snap[4086]: /snap/lxd/
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon /usr/bin/
ene 17 17:30:12 lindon snap[4096]: cat: /proc/self/
ene 17 17:30:12 lindon snap[4096]: /snap/lxd/
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:12 lindon systemd[1]: snap.lxd.
ene 17 17:30:13 lindon systemd[1]: snap.lxd.
ene 17 17:30:13 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:30:13 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:30:13 lindon /usr/bin/
ene 17 17:30:13 lindon snap[4107]: cat: /proc/self/
ene 17 17:30:13 lindon snap[4107]: /snap/lxd/
ene 17 17:30:13 lindon systemd[1]: snap.lxd.
ene 17 17:30:13 lindon /usr/bin/
ene 17 17:30:13 lindon snap[4117]: cat: /proc/self/
ene 17 17:30:13 lindon snap[4117]: /snap/lxd/
ene 17 17:30:13 lindon systemd[1]: snap.lxd.
ene 17 17:30:13 lindon systemd[1]: snap.lxd.
ene 17 17:30:13 lindon systemd[1]: snap.lxd.
ene 17 17:30:13 lindon systemd[1]: snap.lxd.
ene 17 17:30:13 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:30:13 lindon systemd[1]: snap.lxd.
ene 17 17:30:13 lindon systemd[1]: Failed to start Service for snap application lxd.daemon.
ene 17 17:34:37 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:34:37 lindon /usr/bin/
ene 17 17:34:37 lindon snap[4790]: cat: /proc/self/
ene 17 17:34:37 lindon snap[4790]: /snap/lxd/
ene 17 17:34:37 lindon systemd[1]: snap.lxd.
ene 17 17:34:37 lindon /usr/bin/
ene 17 17:34:37 lindon snap[4800]: cat: /proc/self/
ene 17 17:34:37 lindon snap[4800]: /snap/lxd/
ene 17 17:34:37 lindon systemd[1]: snap.lxd.
ene 17 17:34:37 lindon systemd[1]: snap.lxd.
ene 17 17:34:37 lindon systemd[1]: snap.lxd.
ene 17 17:34:37 lindon systemd[1]: snap.lxd.
ene 17 17:34:37 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:34:37 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:34:37 lindon /usr/bin/
ene 17 17:34:37 lindon snap[4812]: cat: /proc/self/
ene 17 17:34:37 lindon snap[4812]: /snap/lxd/
ene 17 17:34:37 lindon systemd[1]: snap.lxd.
ene 17 17:34:37 lindon /usr/bin/
ene 17 17:34:37 lindon snap[4824]: cat: /proc/self/
ene 17 17:34:37 lindon snap[4824]: /snap/lxd/
ene 17 17:34:37 lindon systemd[1]: snap.lxd.
ene 17 17:34:37 lindon systemd[1]: snap.lxd.
ene 17 17:34:37 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:34:38 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:34:38 lindon /usr/bin/
ene 17 17:34:38 lindon snap[4835]: cat: /proc/self/
ene 17 17:34:38 lindon snap[4835]: /snap/lxd/
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon /usr/bin/
ene 17 17:34:38 lindon snap[4846]: cat: /proc/self/
ene 17 17:34:38 lindon snap[4846]: /snap/lxd/
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:34:38 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:34:38 lindon /usr/bin/
ene 17 17:34:38 lindon snap[4857]: cat: /proc/self/
ene 17 17:34:38 lindon snap[4857]: /snap/lxd/
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon /usr/bin/
ene 17 17:34:38 lindon snap[4868]: cat: /proc/self/
ene 17 17:34:38 lindon snap[4868]: /snap/lxd/
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:34:38 lindon systemd[1]: Started Service for snap application lxd.daemon.
ene 17 17:34:38 lindon /usr/bin/
ene 17 17:34:38 lindon snap[4879]: cat: /proc/self/
ene 17 17:34:38 lindon snap[4879]: /snap/lxd/
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon /usr/bin/
ene 17 17:34:38 lindon snap[4889]: cat: /proc/self/
ene 17 17:34:38 lindon snap[4889]: /snap/lxd/
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: Stopped Service for snap application lxd.daemon.
ene 17 17:34:38 lindon systemd[1]: snap.lxd.
ene 17 17:34:38 lindon systemd[1]: Failed to start Service for snap application lxd.daemon.
summary: |
- snapd no longer works with 2.21 + lxd no longer works with 2.21 |
Changed in snapd: | |
assignee: | nobody → Zygmunt Krynicki (zyga) |
Changed in snapd: | |
status: | New → Triaged |
seems this happens on 2.20 as well
I added the following to the apparmor generated profile:
sergiusens@ lindon: ~$ tail -5 /var/lib/ snapd/apparmor/ profiles/ snap.lxd. daemon /@{pid} /attr/current r, /self/attr/ current r,
@{PROC}
@{PROC}
/usr/sbin/aa-exec ixr,
}
reset the profile (apparmor_parser -r) and now get a different error in the service logs:
Jan 18 11:31:38 lindon snap[6404]: aa-exec: ERROR: profile 'unconfined' does not exist