What is the SHA? Sorry if I don't know it.

When I want to use the console Openstack says that it is not available and I
have this error in the n-spice log:

2016-09-21 12:17:35.734 INFO nova.console.websocketproxy [-] WebSocket
server settings:

2016-09-21 12:17:35.735 INFO nova.console.websocketproxy [-] - Listen on
0.0.0.0:6082

2016-09-21 12:17:35.735 INFO nova.console.websocketproxy [-] - Flash
security policy server

2016-09-21 12:17:35.735 INFO nova.console.websocketproxy [-] - Web server
(no directory listings). Web root: /usr/share/spice-html5

2016-09-21 12:17:35.735 INFO nova.console.websocketproxy [-] - No SSL/TLS
support (no cert file)

2016-09-21 12:17:35.736 CRITICAL nova [-] error: [Errno 98] Address already
in use

2016-09-21 12:17:35.736 TRACE nova Traceback (most recent call last):

2016-09-21 12:17:35.736 TRACE nova File
"/usr/local/bin/nova-spicehtml5proxy", line 10, in <module>

2016-09-21 12:17:35.736 TRACE nova sys.exit(main())

2016-09-21 12:17:35.736 TRACE nova File
"/opt/stack/nova/nova/cmd/spicehtml5proxy.py", line 49, in main

2016-09-21 12:17:35.736 TRACE nova port=CONF.spice.html5proxy_port)
2016-09-21 12:17:35.736 TRACE nova File
"/opt/stack/nova/nova/cmd/baseproxy.py", line 73, in proxy 2016-09-21
12:17:35.736 TRACE nova
RequestHandlerClass=websocketproxy.NovaProxyRequestHandler 2016-09-21
12:17:35.736 TRACE nova File
"/usr/local/lib/python2.7/dist-packages/websockify/websocket.py", line 973,
in start_server 2016-09-21 12:17:35.736 TRACE nova
tcp_keepintvl=self.tcp_keepintvl) 2016-09-21 12:17:35.736 TRACE nova File
"/usr/local/lib/python2.7/dist-packages/websockify/websocket.py", line 741,
in socket 2016-09-21 12:17:35.736 TRACE nova sock.bind(addrs[0][4])
2016-09-21 12:17:35.736 TRACE nova File "/usr/lib/python2.7/socket.py",
line 228, in meth 2016-09-21 12:17:35.736 TRACE nova return
getattr(self._sock,name)(*args) 2016-09-21 12:17:35.736 TRACE nova error:
[Errno 98] Address already in use 2016-09-21 12:17:35.736 TRACE nova

in the controller nova.conf I have set

html5proxy_base_url=http://controller_IP:6082/spice_auto.html


Thanks

2016-09-21 15:54 GMT+02:00 Jens Rosenboom <j.rosenb...@x-ion.de>:

> 2016-09-19 15:50 GMT+02:00 Silvia Fichera <fichera....@gmail.com>:
> > Hi all,
> > I'm installing Openstack Mitaka via Devstack.
> > Since there is a bug in horizon (reported here
> > https://bugs.launchpad.net/horizon/+bug/1622684 )
>
> Well, the bug is in noVNC really, you can work around it by checking
> out the SHA mentioned in the bug report in /opt/stack/noVNC and
> restarting the n-novnc screen.
>
> > I'm trying to configure my
> > setup to work with Spice instead of vnc. I didn't found any guide to
> write
> > properly the local.conf to use spice, so I supposed that, in the
> controller
> > node I have to disable n-novnc and enable n-spice
> >
> > enable_service n-spice
> > disable_service n-novnc
>
> This part works fine for me in an all-in-one deployment.
>
> > and in the compute nodes
> >
> > NOVA_VNC_ENABLED=False
> > NOVA_SPICE_ENABLED=True
> > SPICEAGENT_ENABLED=True
> > enable_service n-spice
> > disable_service n-novnc
> >
> > I tried in this way but it does not work (for sure there something
> wrong).
> > Any suggestion?
>
> What exactly does "it does not work" mean?
> Do you get an URL from "nova get-spice-console _instance_name_
> spice-html5"?
> Can you connect to that URL? Maybe you need to use another IP or allow
> the port in the security group?
>



-- 
Silvia Fichera
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to