# Error deploying virtual machine on second kvm node

**URL:** <https://forum.opennebula.io/t/error-deploying-virtual-machine-on-second-kvm-node/5830>\
**Category:** Product Support\
**Created:** [March 21, 2018, 10:57am UTC](https://forum.opennebula.io/t/error-deploying-virtual-machine-on-second-kvm-node/5830 "2018-03-21T10:57:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Florin\_Tanasache1](https://avatars.discourse-cdn.com/v4/letter/f/cdc98d/32.png) [@Florin\_Tanasache1](https://forum.opennebula.io/u/Florin_Tanasache1)\
**Post date:** [March 21, 2018, 10:57am UTC](https://forum.opennebula.io/t/error-deploying-virtual-machine-on-second-kvm-node/5830/1 "2018-03-21T10:57:45Z")

</div>

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](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/1/1ebe335e519ac305a9597c4f0de90afb56c50772.PNG)

![n2](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/0/0e784e211836c717c7566c950bbf2843db206c2c.PNG)

---

<div class="post-metadata">

**Author:** ![somesh](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@somesh](https://forum.opennebula.io/u/somesh)\
**Post date:** [March 22, 2018, 2:40pm UTC](https://forum.opennebula.io/t/error-deploying-virtual-machine-on-second-kvm-node/5830/2 "2018-03-22T14:40:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![amira](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@amira](https://forum.opennebula.io/u/amira)\
**Post date:** [March 25, 2018, 11:38pm UTC](https://forum.opennebula.io/t/error-deploying-virtual-machine-on-second-kvm-node/5830/3 "2018-03-25T23:38:38Z")

</div>

maybe it is a problem with the firewall, disable it
