Error deploying virtual machine on second kvm node

Hi all,
After i have installed correctly opennebula on the first node that has oned + sunstone and opennebula-node on the second node, i have tried to instantiate a VM on the first node and on the second node. For the first node the VM runs correctly but if i choose to instantiate it on the second node i have the following error:

Wed Mar 21 11:36:46 2018 [Z0][VM][I]: New state is ACTIVE
Wed Mar 21 11:36:46 2018 [Z0][VM][I]: New LCM state is PROLOG
Wed Mar 21 11:36:48 2018 [Z0][VM][I]: New LCM state is BOOT
Wed Mar 21 11:36:48 2018 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/10/deployment.0
Wed Mar 21 11:36:49 2018 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_context.
Wed Mar 21 11:36:49 2018 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Wed Mar 21 11:36:50 2018 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy β€˜/var/lib/one//datastores/0/10/deployment.0’ β€˜node2’ 10 node2
Wed Mar 21 11:36:50 2018 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/10/deployment.0
Wed Mar 21 11:36:50 2018 [Z0][VMM][I]: error: invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm
Wed Mar 21 11:36:50 2018 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/10/deployment.0
Wed Mar 21 11:36:50 2018 [Z0][VMM][I]: ExitCode: 255
Wed Mar 21 11:36:50 2018 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Wed Mar 21 11:36:50 2018 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/10/deployment.0
Wed Mar 21 11:36:50 2018 [Z0][VM][I]: New LCM state is BOOT_FAILURE

Both nodes have the kvm-ok (the capability to virtualize). Also the the configuration for the passwordless for the ssh works ok. I cannot understand why it works on the frontend and not on the second node? What i am wrong? Thanks everyone
n1

n2

while creating passwordless ssh create with ip as well as with hostname (or domain name)

1 Like

maybe it is a problem with the firewall, disable it