Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Haproxy novnc set up please HELP!

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

Haproxy novnc set up please HELP!

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

5

Haproxy novnc set up please HELP!

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 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

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

Haproxy novnc set up please HELP!

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.

Side note: If I update novncproxy_base_url on compute node to the public IP of one controller, I am able to access novnc URL directly, but still not through console.

Have 2 HAproxy server with a vip on internal network

Haprox1 Haproxy1 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

Controllers

 Controller1 10.1.1.4 (internal)  130.245.1.4 (external)
 Controller2 10.1.1.5 (internal)  130.245.1.5 (external)

(external)

Compute node : 10.1.1.6

no vnc CONFIG INFORMATION:

Controller1 Controllers Nova.conf

my_ip = 10.1.1.4  (each controller respectively controller 1 = 10.1.1.4 controller 2 = 10.1.1.5) 
vncserver_listen = 10.1.1.4
10.1.1.4 (each controller respectively controller 1 = 10.1.1.4 controller 2 = 10.1.1.5)
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

Haproxy novnc set up please HELP!How to properly setup HAproxy novnc

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. 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.

Side note: If I update novncproxy_base_url on compute node to the public IP of one controller, I am able to access novnc URL directly, but still not through console.

Have 2 HAproxy server with a vip on internal network

Haproxy1 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

Controllers

   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:

Controllers Nova.conf

my_ip = 10.1.1.4  (each controller respectively controller 1 = 10.1.1.4 controller 2 = 10.1.1.5) 
vncserver_listen = 10.1.1.4 (each controller respectively controller 1 = 10.1.1.4 controller 2 = 10.1.1.5)
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