Closed anonymouse64 closed 5 years ago
While I don't see this exact issue anymore, I do still see this with a slightly different order of commands:
ubuntu@vital-spitz:~$ lxc launch ubuntu-daily:20.04
Creating the instance
Instance name is: lucky-macaw
Starting lucky-macaw
ubuntu@vital-spitz:~$ lxc shell lucky-macaw
To start your first instance, try: lxc launch ubuntu:18.04
root@lucky-macaw:~# logout
ubuntu@vital-spitz:~$ lxc version
Client version: 3.19
Server version: 3.19
ubuntu@vital-spitz:~$ snap info lxd | grep installed:
installed: 3.19 (13162) 67MB -
I removed the lxc lxd-client and lxd debian packages, then installed lxd as a snap, so I'm certain that this was from the snap and not the deb (which is probably old since this was a xenial machine)
Can't reproduce this here.
stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ rm -Rf ~/.config/lxc
stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ lxc list
To start your first instance, try: lxc launch ubuntu:18.04
+------+-------+------+------+------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+-------+------+------+------+-----------+
stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ lxc list
+------+-------+------+------+------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+-------+------+------+------+-----------+
stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ rm -Rf ~/.config/lxc
stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ lxc launch ubuntu:18.04 c1
Creating c1
Starting c1
stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ lxc shell c1
root@c1:~# logout
stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ lxc list
+------+---------+------+------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+---------+------+------+-----------+-----------+
| c1 | RUNNING | | | CONTAINER | 0 |
+------+---------+------+------+-----------+-----------+
Required information
Issue description
lxc suggests to try the exact command I am running:
Information to attach
Note that this was running from inside a lxd container, so perhaps this doesn't happen with a fresh install on a virtual or native host.