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

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

2 thoughts on “OpenStack: Failed to connect to server (code: 1006)

  1. Kcmx July 4, 2017 at 17:07

    Hellooo!!! Thank you very much!!!
    It works!!!!

  2. roghuchi May 21, 2018 at 06:26

    Thank you very much!

Leave a Reply to Kcmx Cancel reply

Name *
Email *
Website

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