OpenStack: Failed to connect to server (code: 1006)

Feb 29, 2016 Cloud Computing

install openstack on three nodes
In OpenStack Dashboard (Horizon), when I launch an Instance and I am trying to connect to the Instance via Dashboard VNC Console – I am getting error: Failed to connect to server (code: 1006). This is most often caused by improper /etc/nova/nova.conf configuration on Compute node, where the Instance is running:

openstack_vnc_failed_to_connect_to_server_code_1006

To fix the issue, set Compute’s own IP in /etc/nova/nova.conf on each Compute node.

Example:
Controller IP: 192.168.2.13
Compute IP: 192.168.2.14

On Compute node in /etc/nova/nova.conf file set:

vncserver_proxyclient_address=192.168.2.14

Restart Compute service:

[root@compute ~]# systemctl restart openstack-nova-compute.service
3 thoughts on “OpenStack: Failed to connect to server (code: 1006)”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.