LXD VM going into ERROR state, unable to see relevant logs

Hello, I’ve got a LXD VM that is in ERROR state and I cannot find out why it’s failing. I am able to reproduce it - but I’m not sure where I can find the logs.
I’ve been using the following methods to look at the logs:

  • lxc info <VM-name> --show-log
  • lxc monitor <VM-name> --type=logging
  • sudo snap logs lxd

The only log that I get is the following warning log, which I’m not sure is contributing to the machine going into the ERROR state.

2025-06-05T11:52:51Z lxd.daemon[2650]: time="2025-06-05T11:52:51Z" level=warning msg="The backing filesystem doesn't support quotas, skipping set quota" driver=dir path=/var/snap/lxd/common/lxd/storage-pools/default/virtual-machines/openstack pool=default size=200104861696 volID=83

Hi. Could you provide a bit more info like is this a single node or a clustered installation, what storage are you using, are there other instances (containers/vms) running ok? Did you try restarting the server? Thanks.

Do you still see the related qemu process running?

Hello! Thanks for the replies!

@eglinas The installation was a single node installation, I’ve used the default configurations for the setup. I can’t restart the server given that it has went into an errored state. The other VMs are running OK, just that this particular instance with openstack installed was going into an error state.

@tomp I’ve had to reinstall LXD to continue with my work progress so I don’t have any information than the current (I couldn’t find any relevant logs either). Would you have any recommended steps that I could take to provide better feedback for next time when it happens? Thank you!

1 Like

The ERROR state usually occurs when the qemu process is still running, but is non-responsive.

So likely its a qemu crash/hang. But would be worth confirming the qemu process is still present the next time it occurs.