Started as suggested
snap list --all lxd
Name Version Rev Developer Notes
lxd 2.21 5408 canonical disabled
lxd 2.21 5447 canonical disabled
lxd 2.21 5490 canonical -
Somehow I have a newer than expected version
root@debianserver:/# snap revert lxd
lxd reverted to 2.21
root@debianserver:/# snap list --all lxd
Name Version Rev Developer Notes
lxd 2.21 5408 canonical disabled
lxd 2.21 5447 canonical -
lxd 2.21 5490 canonical disabled
Checking on things:
$ lxc start debian
error: The container is already running
Try lxc info --show-log debian
for more info
$ lxc list
±---------------------±--------±-----±-----±-----------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±---------------------±--------±-----±-----±-----------±----------+
| debian | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiancalendar | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianinternalserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianrecordkeeping | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiansmallserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
$ lxc stop debian
$ lxc start debian
$ lxc list
±---------------------±--------±-----±-----±-----------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±---------------------±--------±-----±-----±-----------±----------+
| debian | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiancalendar | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianinternalserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianrecordkeeping | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiansmallserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
Things are still not where they should be. Still no networking. On to a 2nd reversion after checking things.
$ lxc stop debian
snap list --all lxd
Name Version Rev Developer Notes
lxd 2.21 5408 canonical disabled
lxd 2.21 5447 canonical -
lxd 2.21 5490 canonical disabled
snap revert lxd
lxd reverted to 2.21
snap list --all lxd
Name Version Rev Developer Notes
lxd 2.21 5408 canonical -
lxd 2.21 5447 canonical disabled
lxd 2.21 5490 canonical disabled
$ lxc start debian
error: The container is already running
Try lxc info --show-log debian
for more info
This time ALL the containers are running!
$ lxc list
±---------------------±--------±-----±-----±-----------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±---------------------±--------±-----±-----±-----------±----------+
| debian | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiancalendar | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianinternalserver | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianrecordkeeping | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiansmallserver | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
Trying, one more time, to get networking started.
$ lxc stop debian
$ lxc start debian
$ lxc list
±---------------------±--------±-----±-----±-----------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±---------------------±--------±-----±-----±-----------±----------+
| debian | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiancalendar | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianinternalserver | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianrecordkeeping | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiansmallserver | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
Thinking that perhaps if I stop all containers that maybe I’ll have better luck.
$ lxc stop debian
$ lxc stop debiancalendar
$ lxc stop debianinternalserver
$ lxc stop debianrecordkeeping
$ lxc stop debiansmallserver
$ lxc list
±---------------------±--------±-----±-----±-----------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±---------------------±--------±-----±-----±-----------±----------+
| debian | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiancalendar | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianinternalserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianrecordkeeping | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiansmallserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
$ lxc restart debian
error: The container is already stopped
Try lxc info --show-log debian
for more info
$ lxc start debian
$ lxc list
±---------------------±--------±-----±-----±-----------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±---------------------±--------±-----±-----±-----------±----------+
| debian | RUNNING | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiancalendar | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianinternalserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianrecordkeeping | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiansmallserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
$ lxc stop debian
$ lxc list
±---------------------±--------±-----±-----±-----------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±---------------------±--------±-----±-----±-----------±----------+
| debian | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiancalendar | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianinternalserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianrecordkeeping | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiansmallserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
Moving things back up to the previously newest version.
snap refresh --revision 5490 lxd
lxd 2.21 from ‘canonical’ refreshed
This next result is, imo, somewhat unexpected and therefore interesting.
$ lxc list
LXD socket not found; is LXD installed and running?
$ lxc info
LXD socket not found; is LXD installed and running?
snap revert lxd
lxd reverted to 2.21
snap list --all lxd
Name Version Rev Developer Notes
lxd 2.21 5408 canonical -
lxd 2.21 5490 canonical disabled
I’m down to two versions now. Don’t know what happened to the third!
$ lxc list
±---------------------±--------±-----±-----±-----------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±---------------------±--------±-----±-----±-----------±----------+
| debian | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiancalendar | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianinternalserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debianrecordkeeping | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
| debiansmallserver | STOPPED | | | PERSISTENT | 0 |
±---------------------±--------±-----±-----±-----------±----------+
So - - - doesn’t seem like the exercise changed my situation and don’t really know what to make of the stored version that disappeared.
Where to next please?