Sorry for the trivial question, but I have to ask if only for reassurance (since I couldn’t find the answer in the docs): What happens if I accidentally try to lxc launch
an already existing (and running) CT name?
I canceled the launch immediately with Ctrl-Cs, but it didn’t output any error messages (e.g. “CT with name ‘myct’ already exists, exiting …”)
myname@mylxdhost:~$ lxc launch images:debian/11 myct
Creating myct
Error: User signaled us three times, exiting. The remote operation will keep running
myname@mylxdhost:~$ ^C
myname@mylxdhost:~$ ^C
root@mylxdhost:~# tail /var/log/lxd/lxd.log
t=2022-01-31T16:14:32+0100 lvl=info msg="Pruning expired images"
t=2022-01-31T16:14:32+0100 lvl=info msg="Done pruning expired images"
t=2022-01-31T16:16:37+0100 lvl=info msg="Updating images"
t=2022-01-31T16:16:37+0100 lvl=info msg="Done updating images"
t=2022-01-31T22:16:37+0100 lvl=info msg="Updating images"
t=2022-01-31T22:16:37+0100 lvl=info msg="Done updating images"
t=2022-02-01T01:22:41+0100 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2022-02-01T01:22:46+0100 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2022-02-01T03:57:20+0100 lvl=info msg="Downloading image" alias=debian/11 image=866c279796ba543b5a37a7483
d405bfe66633cf69250d1d3fbbab442f01017e9 operation=70110760-d700-4ab3-8993-dd6ef1d70118 server=https://image
s.linuxcontainers.org trigger=/1.0/operations/70110760-d700-4ab3-8993-dd6ef1d70118
t=2022-02-01T03:58:23+0100 lvl=info msg="Image downloaded" alias=debian/11 image=866c279796ba543b5a37a7483d
405bfe66633cf69250d1d3fbbab442f01017e9 operation=70110760-d700-4ab3-8993-dd6ef1d70118 server=https://images
.linuxcontainers.org trigger=/1.0/operations/70110760-d700-4ab3-8993-dd6ef1d70118
root@mylxdhost:~#
Thank you in advance, KP