OpenNebula can't shut down VM

Hi all,

I have a VM running Linux SUSE.
When I try to do a gentle powerOff from Sunstone, I get an error message in the logs:
Wed Apr 3 16:42:06 2019 [Z0][VM][I]: New LCM state is SHUTDOWN_POWEROFF
Wed Apr 3 16:42:06 2019 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/shutdown ‘one-293’ ‘s11kvm’ 293 s11kvm
Wed Apr 3 16:42:06 2019 [Z0][VMM][E]: shutdown: Command “virsh --connect qemu:///system shutdown one-293” failed: error: failed to get domain ‘one-293’
Wed Apr 3 16:42:06 2019 [Z0][VMM][I]: error: Domaine non trouvé : no domain with matching name ‘one-293’
Wed Apr 3 16:42:06 2019 [Z0][VMM][E]: Could not shutdown one-293
Wed Apr 3 16:42:06 2019 [Z0][VMM][I]: ExitCode: 1
Wed Apr 3 16:42:06 2019 [Z0][VMM][I]: Failed to execute virtualization driver operation: shutdown.
Wed Apr 3 16:42:06 2019 [Z0][VMM][E]: Error shutting down VM: Could not shutdown one-293
Wed Apr 3 16:42:06 2019 [Z0][VM][I]: New LCM state is RUNNING
Wed Apr 3 16:42:06 2019 [Z0][LCM][I]: Fail to shutdown VM. Assuming that the VM is still RUNNING (will poll VM).
Wed Apr 3 16:42:34 2019 [Z0][LCM][I]: VM running but monitor state is POWEROFF
Wed Apr 3 16:42:34 2019 [Z0][VM][I]: New LCM state is SHUTDOWN_POWEROFF
Wed Apr 3 16:42:34 2019 [Z0][VM][I]: New state is POWEROFF
Wed Apr 3 16:42:34 2019 [Z0][VM][I]: New LCM state is LCM_INIT

Any idea where to look ?

Hi @saint

It seems that the VM is not running on libvirt. Please check the following command virsh -c qemu:///system list (the command must be executed on the host where the VM is running) you should see the VM listed there.