I was using lxd snapd package on productuon, opensuse 15.0, i just did an update and reboot then the server wont boot, after digging i found that lxd is broken and preventing the server connection to outside world, tried removing the package and re installing it, no chance, since my apps were offline could not spend more time debugging, so i moved to a kvm backup.
Now for the past couple month all was good, but dose the snapd package have issues on opensuse? is not there a rpm package for opensuse? which i prefer if there is. i have an export of my lxd, i wish to re use them soon, but the file system of the backup was btrfs, and i currently on ext4, is there a way around this, since its not possible to be on btrfs anymore? Thanks in Advance.
I found this package for leap15.1, i tried installing it , but i get the following error.
Error: Failed to connect to local LXD: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connect: permission denied
i had this error before all what had to do to fix it is,
sudo usermod -a -G lxd myuser
but that did not work, plus, i notice that, after
sudo systemctl enable lxcfs lxd
the system will hangout on
sudo systemctl start lxd for too long and not output,
sudo systemctl status lxd
● lxd.service - LXD Container Hypervisor
Loaded: loaded (/usr/lib/systemd/system/lxd.service; enabled; vendor preset: disabled)
Active: activating (start-post) (Result: exit-code) since Fri 2019-08-16 21:10:09 +03; 2min 0s ago
Main PID: 2227 (code=exited, status=2); Control PID: 2228 (lxd)
└─2228 /usr/bin/lxd waitready --timeout=600
Aug 16 21:10:09 static lxd: database/sql.(*DB).connectionOpener(0xc0001a89c0, 0x557e221e7260, 0xc0001f6200) Aug 16 21:10:09 static lxd: /usr/lib64/go/1.11/src/database/sql/sql.go:1001 +0xea Aug 16 21:10:09 static lxd: created by database/sql.OpenDB Aug 16 21:10:09 static lxd: /usr/lib64/go/1.11/src/database/sql/sql.go:671 +0x15f Aug 16 21:10:09 static lxd: goroutine 74 [select]: Aug 16 21:10:09 static lxd: database/sql.(*DB).connectionResetter(0xc0001a89c0, 0x557e221e7260, 0xc0001f6200) Aug 16 21:10:09 static lxd: /usr/lib64/go/1.11/src/database/sql/sql.go:1014 +0xfd Aug 16 21:10:09 static lxd: created by database/sql.OpenDB Aug 16 21:10:09 static lxd: /usr/lib64/go/1.11/src/database/sql/sql.go:672 +0x195 Aug 16 21:10:09 static systemd: lxd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT