grnet / ganetimgr

Ganetimgr is a Django application that manages Ganeti clusters
https://grnet.github.io/ganetimgr/
GNU General Public License v3.0
36 stars 19 forks source link

Integration of snf-vncauthproxy v1.6: add TCP control socket #47

Open salsa-dev opened 8 years ago

salsa-dev commented 8 years ago

Hi, devs!

Code in util/vapclient.py of the master branch says we must use the snf-vncauthproxy of the version prior to 1.5 when Unix domain control sockets were replaced with TCP control sockets: CTRL_SOCKET = "/var/run/vncauthproxy/vncproxy.sock"

Right now I'm deploying GanetiMGR (master branch) with https://github.com/grnet/snf-vncauthproxy (master, v1.6). And I'm working towards rewriting some code to support that.

Is there any specific reason for using Unix domain control socket?

salsa-dev commented 8 years ago

Hi! I didn't manage to use noVNC websocket console with snf-vncauthproxy v1.6. Greenlet workers are dying upon connection. I will further investigate this later. For now I just edited ganeti/models.py and util/vapclient.py to make connections on TCP control socket. This works fine.

psomas commented 8 years ago

Hi,

do you have any logs of the greenlet workers, when using websockets?