# VCENTER\_ESX\_HOST inconsistent produces novnc 1006 error

**URL:** <https://forum.opennebula.io/t/vcenter-esx-host-inconsistent-produces-novnc-1006-error/6656>\
**Category:** Installation & Configuration\
**Created:** [November 18, 2018, 6:27pm UTC](https://forum.opennebula.io/t/vcenter-esx-host-inconsistent-produces-novnc-1006-error/6656 "2018-11-18T18:27:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidp](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@davidp](https://forum.opennebula.io/u/davidp)\
**Post date:** [November 18, 2018, 6:27pm UTC](https://forum.opennebula.io/t/vcenter-esx-host-inconsistent-produces-novnc-1006-error/6656/1 "2018-11-18T18:27:11Z")

</div>

Hello, I’ve detected eventual errors after launching vmware instances from one, when I try to connect to the console with noVNC, it reports code 1006. Verified it is not due to firewall rules in the hosts.  
After investigating a little I’ve detected that the VCENTER\_ESX\_HOST variable in the “vCenter Information” section is wrong, and looking below in the “Monitoring” section is reported correctly. If I move the VM to the host reported in the “vCenter” section it works, but leaving as is the failure kept.

> **[FireShot%20Capture%2010.pdf](https://www.dropbox.com/s/qksw0mftwyzdqs7/FireShot%20Capture%2010.pdf)**

In previous capture you can see the inconsistence at both sections.  
Is it a bug?

OpenNebula 5.6.1  
VSA 6.7.0.20000

---

<div class="post-metadata">

**Author:** ![jmccourt](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jmccourt](https://forum.opennebula.io/u/jmccourt)\
**Post date:** [December 5, 2018, 7:57pm UTC](https://forum.opennebula.io/t/vcenter-esx-host-inconsistent-produces-novnc-1006-error/6656/2 "2018-12-05T19:57:55Z")

</div>

I’d like to bump this up in the list… I too am having the same issues.  
It seems that when a VM is deployed it chooses a host based on the scheduler. After some time DRS moves the system around, and updates the VCENTER\_ESX\_HOST variable in the monitoring section. Looking at the novnc.log the connections are attempting to use the VCENTER\_ESX\_HOST from the “vCenter Information”, which didn’t update.  
Therefore my vnc connection attempt is being made to the incorrect ESXi host.

Is anyone else having these issues? I’ve been scouring forums and configuration guides but haven’t seen a mention of these issues.

---

<div class="post-metadata">

**Author:** ![jmccourt](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jmccourt](https://forum.opennebula.io/u/jmccourt)\
**Post date:** [December 5, 2018, 8:56pm UTC](https://forum.opennebula.io/t/vcenter-esx-host-inconsistent-produces-novnc-1006-error/6656/3 "2018-12-05T20:56:51Z")

</div>

I spoke too soon:  
There is a fix in 5.6.2

# VCENTER\_ESX\_HOST fail with DRS in vCenter #2477

[https://github.com/OpenNebula/one/issues/2477](https://github.com/OpenNebula/one/issues/2477)
