I also have the same exact problem, tried reinstalling my entire distro to start new and still have the same issue.
Blockquote
Mon Jan 11 21:25:27 2021 [Z0][VM][I]: New LCM state is LCM_INIT
Mon Jan 11 21:25:27 2021 [Z0][VM][I]: New state is PENDING
Mon Jan 11 21:25:45 2021 [Z0][VM][I]: New state is ACTIVE
Mon Jan 11 21:25:46 2021 [Z0][VM][I]: New LCM state is PROLOG
Mon Jan 11 21:25:47 2021 [Z0][VM][I]: New LCM state is BOOT
Mon Jan 11 21:25:47 2021 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/0/deployment.2
Mon Jan 11 21:25:47 2021 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_context.
Mon Jan 11 21:25:47 2021 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Mon Jan 11 21:25:48 2021 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/0/0/deployment.2’ ‘192.168.1.159’ 0 192.168.1.159
Mon Jan 11 21:25:48 2021 [Z0][VMM][I]: error: Disconnected from qemu:///system due to end of file
Mon Jan 11 21:25:48 2021 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/0/deployment.2
Mon Jan 11 21:25:48 2021 [Z0][VMM][I]: error: End of file while reading data: Input/output error
Mon Jan 11 21:25:48 2021 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/0/deployment.2
Mon Jan 11 21:25:48 2021 [Z0][VMM][I]: ExitCode: 255
Mon Jan 11 21:25:48 2021 [Z0][VMM][I]: Successfully execute network driver operation: clean.
Mon Jan 11 21:25:48 2021 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Mon Jan 11 21:25:48 2021 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/0/deployment.2
Mon Jan 11 21:25:48 2021 [Z0][VM][I]: New LCM state is BOOT_FAILURE
I have tried quite a few fixes and got nothing. The only thing I do not have set up as I am still working on it is my bridge for the VM. Other than that I followed the instructions on the Open Nebula website.
These are the things I have tried as of now to fix my problem.
- Add security_driver=“none” to /etc/libvirt/qemu.conf
- sudo losetup -f --show /var/lib/one/datastores/0/26/disk.0
tail /var/log/one/oned.log
Tue Jan 12 12:40:29 2021 [Z0][ReM][D]: Req:5776 UID:0 one.vmpool.info result SUCCESS, “<VM_POOL>0</…”
Tue Jan 12 12:40:29 2021 [Z0][ReM][D]: Req:8048 UID:0 IP:127.0.0.1 one.user.info invoked , 0, false
Tue Jan 12 12:40:29 2021 [Z0][ReM][D]: Req:8048 UID:0 one.user.info result SUCCESS, “0<GID…”
Tue Jan 12 12:40:30 2021 [Z0][ReM][D]: Req:5312 UID:0 IP:127.0.0.1 one.vmpool.info invoked , -2, 0, -200, -1
Tue Jan 12 12:40:30 2021 [Z0][ReM][D]: Req:5312 UID:0 one.vmpool.info result SUCCESS, “<VM_POOL>0</…”
Tue Jan 12 12:40:30 2021 [Z0][ReM][D]: Req:9360 UID:0 IP:127.0.0.1 one.user.info invoked , 0, false
Tue Jan 12 12:40:30 2021 [Z0][ReM][D]: Req:9360 UID:0 one.user.info result SUCCESS, “0<GID…”
tail /var/log/one/sched.log
Tue Jan 12 12:40:26 2021 [Z0][VM][D]: Found 1 pending/rescheduling VMs.
Tue Jan 12 12:40:26 2021 [Z0][HOST][D]: Discovered 1 enabled hosts.
Tue Jan 12 12:40:26 2021 [Z0][VM][D]: VMs in VMGroups:
Tue Jan 12 12:40:26 2021 [Z0][VNET][D]: Discovered 0 vnets.
Tue Jan 12 12:40:26 2021 [Z0][SCHED][D]: Dispatching VMs to hosts:
VMID Priority Host System DS
--------------------------------------------------------------
0 0 1 0
tail /var/log/one/0.log
Tue Jan 12 12:40:29 2021 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/0/0/deployment.4’ ‘192.168.1.159’ 0 192.168.1.159
Tue Jan 12 12:40:29 2021 [Z0][VMM][I]: error: Disconnected from qemu:///system due to end of file
Tue Jan 12 12:40:29 2021 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/0/deployment.4
Tue Jan 12 12:40:29 2021 [Z0][VMM][I]: error: End of file while reading data: Input/output error
Tue Jan 12 12:40:29 2021 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/0/deployment.4
Tue Jan 12 12:40:29 2021 [Z0][VMM][I]: ExitCode: 255
Tue Jan 12 12:40:29 2021 [Z0][VMM][I]: Successfully execute network driver operation: clean.
Tue Jan 12 12:40:29 2021 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Tue Jan 12 12:40:29 2021 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/0/deployment.4
Tue Jan 12 12:40:29 2021 [Z0][VM][I]: New LCM state is BOOT_FAILURE
this is an updated log, I don’t know if it should be incrementing the deployment.# but it is
Disconnected from qemu:///system due to end of file
Based on the other errors I am seeing posted on this site I believe that this is the issue that needs troubleshooting. I have looked into the issue on other sites but most of the issues referencing this were problems with libvirtd versions and QEMU network issues. I don’t believe that I should have those issues though as I have the patched versions of libvirtd and when following the Open Nebula instructions I saw no need to mess with QEMU at all. Any one got any potential fixes for this or any idea at all?