Mon Jan 25 11:06:55 2021 [Z0][VM][I]: New state is ACTIVE
Mon Jan 25 11:06:55 2021 [Z0][VM][I]: New LCM state is PROLOG
Mon Jan 25 11:06:56 2021 [Z0][VM][I]: New LCM state is BOOT
Mon Jan 25 11:06:56 2021 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/64/deployment.0
Mon Jan 25 11:06:57 2021 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_context.
Mon Jan 25 11:06:57 2021 [Z0][VMM][I]: pre: Executed "sudo -n ip link add name onebr8 type bridge ".
Mon Jan 25 11:06:57 2021 [Z0][VMM][I]: pre: Executed “sudo -n ip link set onebr8 up”.
Mon Jan 25 11:06:57 2021 [Z0][VMM][I]: pre: Running /var/tmp/one/vnm/bridge/pre.d/firecracker
Mon Jan 25 11:06:57 2021 [Z0][VMM][I]: pre:
Mon Jan 25 11:06:57 2021 [Z0][VMM][I]: ExitCode: 0
Mon Jan 25 11:06:57 2021 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Mon Jan 25 11:06:58 2021 [Z0][VMM][I]: ExitCode: 0
Mon Jan 25 11:06:58 2021 [Z0][VMM][I]: Successfully execute virtualization driver operation: deploy.
Mon Jan 25 11:06:59 2021 [Z0][VMM][I]: ExitCode: 0
Mon Jan 25 11:06:59 2021 [Z0][VMM][I]: Successfully execute network driver operation: post.
Mon Jan 25 11:06:59 2021 [Z0][VM][I]: New LCM state is RUNNING
Mon Jan 25 11:07:38 2021 [Z0][LCM][I]: VM running but monitor state is POWEROFF
Mon Jan 25 11:07:38 2021 [Z0][VM][I]: New LCM state is SHUTDOWN_POWEROFF
Mon Jan 25 11:07:38 2021 [Z0][VM][I]: New state is POWEROFF
Mon Jan 25 11:07:38 2021 [Z0][VM][I]: New LCM state is LCM_INIT
What’s wrong? Where I can see an exact error, in what log?
Versions of the related components and OS (frontend, hypervisors, VMs):
opennebula-node-firecracker-5.12.0.3-1.ce.el8.x86_64
CentOS Linux release 8.3.2011
Kernel: 4.18.0-240.1.1.el8_3.x86_64
Running Firecracker v0.21.1
2021-01-25T11:26:09.402310765 [one-69] Setting configuration for VMM from one single json failed: Invalid block device path!
This is not supported as Firecracker microVM process are isolated in the VM folder (via chroot) in order to increase the security. This is explained here in the documentation. Could you try using a non persistent image?
I have the same problem but I don’t see that error about failed: Invalid block device path!. Basically, my microVM starts and stops. Any idea how to resolve it?
Hi @mehrdad-yousefi . This is the same problem you reference here. Since the microVM starts and stops, the monitoring systems detects the status has changed and even though it was RUNNING after successfully executing the instantiation, the hypervisor reports the VM as POWEROFF.