<div dir="ltr"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px"><div><div><div><div>Hi,<br>  <br></div> 
 I used devstack Multi-Node + VLANs to install openstack-havana 
recently. Installation was successful and i verified basic things like 
vm launch, ping between vm's.<br>
<br></div>  I have two nodes: 1. Ctrl+Compute  2. Compute  <br><br></div> 
 The VM which gets launched on second compute node (here 2, see above) 
doesn't gets vnc console. I tried to acces from both horizon and the url
 given by nova-cli.<br>
<br></div>   The *n-novnc* screen on first node which is controller (here 1) gave this error log:<br><br>   Traceback (most recent call last):<br>  File "/usr/local/lib/python2.7/dist-packages/websockify/websocket.py", line 711, in top_new_client<br>


    self.new_client()<br>  File "/opt/stack/nova/nova/console/websocketproxy.py", line 68, in new_client<br>    tsock = self.socket(host, port, connect=True)<br>  File "/usr/local/lib/python2.7/dist-packages/websockify/websocket.py", line 188, in socket<br>


    sock.connect(addrs[0][4])<br>  File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio.py", line 192, in connect<br>    socket_checkerr(fd)<br>  File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio.py", line 46, in socket_checkerr<br>


    raise socket.error(err, errno.errorcode[err])<br>error: [Errno 111] ECONNREFUSED<br><br><br></div><div style="font-family:arial,sans-serif;font-size:13px">  The vnc related configuration in nova.conf on Ctrl+Compute node:<br>


   <br>   vncserver_proxyclient_address = 127.0.0.1<br>   vncserver_listen = 127.0.0.1<br>   vnc_enabled = true<br>   xvpvncproxy_base_url = <a href="http://192.168.2.151:6081/console" target="_blank">http://192.168.2.151:6081/console</a><br>


   novncproxy_base_url = <a href="http://192.168.2.151:6080/vnc_auto.html" target="_blank">http://192.168.2.151:6080/vnc_auto.html</a><br><br></div><div style="font-family:arial,sans-serif;font-size:13px">   and on second Compute node:<br>


</div><div style="font-family:arial,sans-serif;font-size:13px">  /* I corrected the I.P. of first two address, by default it sets to 127.0.0.1 */<br></div><div style="font-family:arial,sans-serif;font-size:13px">   vncserver_proxyclient_address = 192.168.2.157<br>


   vncserver_listen = 0.0.0.0<br>   vnc_enabled = true<br>   xvpvncproxy_base_url = <a href="http://192.168.2.151:6081/console" target="_blank">http://192.168.2.151:6081/console</a><br>   novncproxy_base_url = <a href="http://192.168.2.151:6080/vnc_auto.html" target="_blank">http://192.168.2.151:6080/vnc_auto.html</a><br>


<br></div><div style="font-family:arial,sans-serif;font-size:13px">    I also added the host name of compute node in hosts file of controllernode. With this ERORR 111 gone and new error came.<br><br>    connecting to: 192.168.2.157:-1<br>


  7: handler exception: [Errno -8] Servname not supported for ai_socktype<br>  7: Traceback (most recent call last):<br>  File "/usr/local/lib/python2.7/dist-packages/websockify/websocket.py", line 711, in top_new_client<br>


    self.new_client()<br>  File "/opt/stack/nova/nova/console/websocketproxy.py", line 68, in new_client<br>    tsock = self.socket(host, port, connect=True)<br>  File "/usr/local/lib/python2.7/dist-packages/websockify/websocket.py", line 180, in socket<br>


    socket.IPPROTO_TCP, flags)<br>  gaierror: [Errno -8] Servname not supported for ai_socktype<br><br><br></div><div style="font-family:arial,sans-serif;font-size:13px">   What need to be done to resolve this ?<br><br></div>


<div style="font-family:arial,sans-serif;font-size:13px">Thnx</div></div></div>