Comment 10 for bug 1068602

Revision history for this message
pippo (claudio-enjoy) wrote :

I m follow the multiple node(https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst)
also I noticed the Glizzly I have less debugs then Folsom and quantum 's working :D
Now the only thing doesnt work is the vnc on the browser I get error : "
Failed to connect to server (code: 1006)
"
I have tried different browser and safari too.

Now my controller ip is 192.168.2.231 and ext 192.168.221.231

both controller and compute /etc/nova/nova.conf have :

novnc_enabled=true
novncproxy_base_url=http://192.168.221.231:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=192.168.2.231
vncserver_listen=0.0.0.0

all services are fine , nova and quantum ...

only get problem on nova-novncproxy that is running but :

 cat /var/log/upstart/nova-novncproxy.log
WebSocket server settings:
  - Listen on 0.0.0.0:6080
  - Flash security policy server
  - Web server. Web root: /usr/share/novnc
  - No SSL/TLS support (no cert file)
  - proxying from 0.0.0.0:6080 to ignore:ignore

1: 192.168.221.1: new handler Process
  2: 192.168.221.1: new handler Process
  3: 192.168.221.1: new handler Process
  1: 192.168.221.1: "GET /vnc_auto.html?token=f70fbd58-695b-4ddf-8e76-417aa958ee79&title=vm234(f944ad21-54c0-43aa-b218-44c8800a7a53) HTTP/1.1" 200 -
  4: 192.168.221.1: new handler Process
  4: 192.168.221.1: Plain non-SSL (ws://) WebSocket connection
  4: 192.168.221.1: Version hybi-13, base64: 'True'
  4: 192.168.221.1: Path: '/websockify'
  4: connecting to: 192.168.2.231:5900
  4: handler exception: [Errno 111] Connection refused
  4: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/websockify/websocket.py", line 797, in top_new_client
    self.new_client()
  File "/usr/lib/python2.7/dist-packages/nova/console/websocketproxy.py", line 62, in new_client
    tsock = self.socket(host, port, connect=True)
  File "/usr/lib/python2.7/dist-packages/websockify/websocket.py", line 193, in socket
    sock.connect(addrs[0][4])
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused

  2: 192.168.221.1: ignoring socket not ready
  3: 192.168.221.1: ignoring socket not ready

in controller the port 5900 is not open but is open the 6080
sudo lsof -i:6080
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nova-novn 29447 nova 3u IPv4 446639 0t0 TCP *:6080 (LISTEN)

and in compute is open 5900 but not 6080
 lsof -i:5900
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kvm 2016 libvirt-qemu 16u IPv4 792378 0t0 TCP *:5900 (LISTEN)

if you can help to resolve that thanks :)