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

Share on: Share on FacebookShare on Google+Tweet about this on TwitterShare on StumbleUponShare on LinkedInPin on PinterestBuffer this pageShare on TumblrDigg thisFlattr the authorShare on RedditShare on VKShare on Yummly
Liked it? Take a second to support tuxfixer.com on Patreon!
Hadoop Developer Training

One thought on “OpenStack: Failed to connect to server (code: 1006)

  1. Kcmx July 4, 2017 at 17:07

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

Leave a Reply

Name *
Email *
Website