I hit errors in the configure hook of the LXD snap when trying to upgrade from 2.16 (3235) to 2.17 (3628) in the latest/candidate
channel.
I’m using snapd 2.26.14 on Ubuntu 17.04:
⟫ snap version
snap 2.26.14
snapd 2.26.14
series 16
ubuntu 17.04
kernel 4.10.0-32-generic
The tasks from the failed change are shown below:
Status Spawn Ready Summary
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:14Z Download snap "lxd" (3628) from channel "candidate"
Done 2017-08-25T10:34:04Z 2017-08-25T10:34:13Z Fetch and check assertions for snap "lxd" (3628)
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:17Z Mount snap "lxd" (3628)
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:17Z Stop snap "lxd" services
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:16Z Remove aliases for snap "lxd"
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:16Z Make current revision for snap "lxd" unavailable
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:16Z Copy snap "lxd" data
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:16Z Setup snap "lxd" (3628) security profiles
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:15Z Make snap "lxd" (3628) available to the system
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:15Z Set automatic aliases for snap "lxd"
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:15Z Setup snap "lxd" aliases
Undone 2017-08-25T10:34:04Z 2017-08-25T10:34:15Z Start snap "lxd" (3628) services
Done 2017-08-25T10:34:04Z 2017-08-25T10:34:13Z Clean up "lxd" (3628) install
Error 2017-08-25T10:34:04Z 2017-08-25T10:34:13Z Run configure hook of "lxd" snap if present
......................................................................
Run configure hook of "lxd" snap if present
2017-08-25T11:34:13+01:00 ERROR run hook "configure":
-----
error: cannot communicate with server: Post http://localhost/v2/snapctl: dial unix /run/snapd-snap.socket: connect: no such file or directory
error: cannot communicate with server: Post http://localhost/v2/snapctl: dial unix /run/snapd-snap.socket: connect: no such file or directory
-----