Federation VNC run vm error

Good morning

Good day

mates

My problem is this

Federation with OpenNebula as master/slave. I have detected a error. running the Master Sunstone(172.16.1.232), I can change to the Slave Sunstone(172.16.1.246). It works well, but if we try to run the VNC console from any vm it fails(code: 1006 slave side).

I do not understand how to solve Could you explain me please!

Also as vnc direct traffic to the master / slave?
Or what file should be set to this feature of the federation?
By modifying the part of vnc_proxy but without positive response.

currently the league thus shown a vm
http://172.16.1.232:9869/vnc?host=172.16.1.232&port=29876&token=18vlwzgi038ky02kiend&encrypt=no&title=prueba6&password=null

but I guess I should be this way
http://172.16.1.232:9869/vnc?host=172.16.1.246&port=29876&token=18vlwzgi038ky02kiend&encrypt=no&title=pru

OpenNebula version: 4.14
I do not see any error in the logs.
I do not have connectivity issues.
no use ssl no https

Thanks for your support!

I currently use this platform as a test project, but want to participate this platform as project officer in my company

Hi,

If you are using the zone dropdown in the top-right corner, then you are still using the master Sunstone to contact the slave oned. This is different than connecting to the slave sunstone. In fact, you will notice that the slave sunstone can be stopped, and you will still have access to the slave oned from the master sunstone.

The arquitecture is explained here: Data Center Federation — OpenNebula 4.14.2 documentation

Unfortunately, VNC does not work at the moment between different zones (see Feature #2757: Make noVNC proxy work in a federation to access VMs in any zones - OpenNebula - OpenNebula Development pages). Sunstone will fail to establish a VNC connection when you are switching to a zone different to where sunstone is running.
You will need to point your browser to the slave sunstone, and this way you will have access to the local vnc proxy.

Regards

1 Like

In this part I did not understand,
is it be the usual way to access?
excuse my ignorance

Thank you
for answer

greetings

If you need VNC support from sunstone, then yes, you will need a local sunstone in each zone. Instead of the nice zone dropdown in the top right corner, your users will need to access a different url for each zone.

Regards

1 Like

Carlos

thank you

for your prompt response

Regards