Hi,
I have a problem with virtual machines and LXD. After I stop a virtual machine managed by LXD it can’t be started again. I’ve been investigating the issue with guys from LXD forums, so you may check out the link.
I have opened a bug in bugzilla, but no response so far:
https://bugzilla.opensuse.org/show_bug.cgi?id=1206014
Here are steps to reproduce the issue from bug report:
Steps to reproduce:
- Prerequisites: LXD initialized and running
- Initialize virtual machine
lxc init images:opensuse/15.4 vmtest --vm
- Start the virtual machine
lxc start vmtest
- Wait a while and verify that you can access the shell
lxc shell vmtest
- Stop the virtual machine
lxc stop vmtest
- Start the virtual machine
lxc start vmtest
orlxc start vmtest --console
to see the console, which will be empty as virtual machine refuses to start.Actual results:
Virtual machine fails to start, console output is empty.
Expected result:
Virtual machine should start normally and you should see the output in the console, when you start it with
lxc start vmtest --console
If you have any ideas what could be wrong, please share.