Hi
I have a problem with the preinstalled lxd snap in Ubuntu.
The lxd snap doesn’t refesh/refresh channel is strange (in 4.0/stable and not latest/stabel)
sudo snap refresh --list
All snaps up to date.
sudo snap refresh lxd
snap "lxd" has no updates available
sudo systemctl status snap.lxd.activate.service
● snap.lxd.activate.service - Service for snap application lxd.activate
Loaded: loaded (/etc/systemd/system/snap.lxd.activate.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Tue 2020-12-29 12:02:01 EET; 2min 43s ago
Process: 1063 ExecStart=/usr/bin/snap run lxd.activate (code=exited, status=0/SUCCESS)
Main PID: 1063 (code=exited, status=0/SUCCESS)
Dec 29 12:01:52 ubuntu systemd[1]: Starting Service for snap application lxd.activate...
Dec 29 12:01:57 ubuntu lxd.activate[1063]: => Starting LXD activation
Dec 29 12:01:57 ubuntu lxd.activate[1063]: ==> Loading snap configuration
Dec 29 12:01:57 ubuntu lxd.activate[1063]: ==> Checking for socket activation support
Dec 29 12:01:58 ubuntu lxd.activate[1215]: tool_linux.go:157: cannot read /proc/self/exe: readlink /proc/self/exe: no such file or directory
Dec 29 12:01:59 ubuntu lxd.activate[1063]: ==> Setting LXD socket ownership
Dec 29 12:01:59 ubuntu lxd.activate[1063]: ==> Checking if LXD needs to be activated
Dec 29 12:02:01 ubuntu systemd[1]: snap.lxd.activate.service: Succeeded.
Dec 29 12:02:01 ubuntu systemd[1]: Finished Service for snap application lxd.activate.
sudo snap info lxd
name: lxd
summary: System container manager and API
publisher: Canonical✓
store-url: https://snapcraft.io/lxd
contact: https://github.com/lxc/lxd/issues
license: unset
description: |
**LXD is a system container manager**
With LXD you can run hundreds of containers of a variety of Linux
distributions, apply resource limits, pass in directories, USB devices
or GPUs and setup any network and storage you want.
LXD containers are lightweight, secure by default and a great
alternative to running Linux virtual machines.
**Run any Linux distribution you want**
Pre-made images are available for Ubuntu, Alpine Linux, ArchLinux,
CentOS, Debian, Fedora, Gentoo, OpenSUSE and more.
A full list of available images can be found here: https://images.linuxcontainers.org
Can't find the distribution you want? It's easy to make your own images too, either using our
`distrobuilder` tool or by assembling your own image tarball by hand.
**Containers at scale**
LXD is network aware and all interactions go through a simple REST API,
making it possible to remotely interact with containers on remote
systems, copying and moving them as you wish.
Want to go big? LXD also has built-in clustering support,
letting you turn dozens of servers into one big LXD server.
**Configuration options**
Supported options for the LXD snap (`snap set lxd KEY=VALUE`):
- ceph.builtin: Use snap-specific ceph configuration [default=false]
- criu.enable: Enable experimental live-migration support [default=false]
- daemon.debug: Increases logging to debug level [default=false]
- daemon.group: Group of users that can interact with LXD [default=lxd]
- daemon.preseed: A YAML configuration to feed `lxd init` on initial start
- lxcfs.pidfd: Start per-container process tracking [default=false]
- lxcfs.loadavg: Start tracking per-container load average [default=false]
- lxcfs.cfs: Consider CPU shares for CPU usage [default=false]
- openvswitch.builtin: Run a snap-specific OVS daemon [default=false]
- shiftfs.enable: Enable shiftfs support [default=auto]
Documentation: https://lxd.readthedocs.io
commands:
- lxd.benchmark
- lxd.buginfo
- lxd.check-kernel
- lxd.lxc
- lxd.lxc-to-lxd
- lxd
- lxd.migrate
services:
lxd.activate: oneshot, enabled, inactive
lxd.daemon: simple, enabled, inactive
snap-id: J60k4JY0HppjwOjW8dZdYc8obXKxujRu
tracking: 4.0/stable/ubuntu-20.04
refresh-date: 56 days ago, at 22:53 EET
channels:
latest/stable: 4.9 2020-12-18 (18772) 74MB -
latest/candidate: 4.9 2020-12-18 (18772) 74MB -
latest/beta: ↑
latest/edge: git-ee2375f 2020-12-18 (18782) 74MB -
4.9/stable: 4.9 2020-12-18 (18772) 74MB -
4.9/candidate: 4.9 2020-12-18 (18772) 74MB -
4.9/beta: ↑
4.9/edge: ↑
4.8/stable: 4.8 2020-12-08 (18546) 74MB -
4.8/candidate: 4.8 2020-12-07 (18546) 74MB -
4.8/beta: ↑
4.8/edge: ↑
4.7/stable: 4.7 2020-11-12 (18251) 72MB -
4.7/candidate: 4.7 2020-11-12 (18251) 72MB -
4.7/beta: ↑
4.7/edge: ↑
4.0/stable: 4.0.4 2020-11-03 (18150) 71MB -
4.0/candidate: 4.0.4 2020-11-04 (18165) 71MB -
4.0/beta: ↑
4.0/edge: git-295e020 2020-12-19 (18789) 71MB -
3.0/stable: 3.0.4 2019-10-10 (11348) 55MB -
3.0/candidate: 3.0.4 2019-10-10 (11348) 55MB -
3.0/beta: ↑
3.0/edge: git-81b81b9 2019-10-10 (11362) 55MB -
2.0/stable: 2.0.12 2020-08-18 (16879) 38MB -
2.0/candidate: 2.0.12 2020-08-17 (16879) 38MB -
2.0/beta: ↑
2.0/edge: git-82c7d62 2020-08-17 (16867) 39MB -
installed: 4.0.4 (18150) 71MB -
lxd --version
4.0.4
sudo snap changes
ID Status Spawn Ready Summary
12 Done today at 11:17 EET today at 11:17 EET Running service command
I will use this lxd server for the containers as lxd backup and I noticed the issue after issuing this:
lxc copy bin00:bryssel bryssel --refresh --verbose
Error: Failed instance creation: Unknown configuration key: volatile.uuid