HI All,
Need some help in properly configuring novnc to work with HAproxy. If I try launching vm through console receive page can not be displayed. If I go directly to public URL (novnc) of controller with instance information it works. I'm pretty sure my configuration is wrong, just not sure how to correct it.
Have 2 HAproxy server with a vip on internal network Haprox1 10.1.1.1 (internal) 130.245.1.1 (external) Haproxy2 10.1.1.2 (internal) 130.245.1.2 (external) VIP 10.1.1.3
Controller1 10.1.1.4 (internal) 130.245.1.4 (external) Controller2 10.1.1.5 (internal) 130.245.1.5 (external)
Compute node : 10.1.1.6
no vnc CONFIG INFORMATION:
Controller1 Nova.conf
my_ip = 10.1.1.4
vncserver_listen = 10.1.1.4
vncserver_proxyclient_address = 10.1.1.3 (vip)
Compute nova.conf
my_ip = 10.1.1.6
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 10.1.1.6
novncproxy_base_url = http:/10.1.1.3:6080/vnc_auto.html (VIP)
Haproxy:
listen novnc
bind 10.1.1.3:6080
balance source
option tcpka
maxconn 10000
server controller1 130.245.1.4:6080 check inter 2000 rise 2 fall 5
server controller2 130.245.1.5:6080 check inter 2000 rise 2 fall 5