Greetings chaps.
I have the ganeti web up and running on 0.10.2 version, and right now trying to include the VNC capability for console.
So i ended up cloning the git repo to my /usr/local dir.
Here is what my problem is -
root@exec01:/usr/local/twisted_vncauthproxy# ls
COPYING LICENSE MANIFEST.in README.mkd setup.py twisted vncap
root@exec01:/usr/local/twisted_vncauthproxy# twistd --pidfile=/tmp/proxy.pid -n vncap
Traceback (most recent call last):
File "/usr/bin/twistd", line 14, in <module>
run()
File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 27, in run
app.run(runApp, ServerOptions)
File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 652, in run
runApp(config)
File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 386, in run
self.application = self.createOrGetApplication()
File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 446, in createOrGetApplication
ser = plg.makeService(self.config.subOptions)
File "/usr/local/twisted_vncauthproxy/twisted/plugins/vncap_proxy.py", line 27, in makeService
from vncap.control import ControlFactory
File "/usr/local/twisted_vncauthproxy/vncap/control.py", line 10, in <module>
from txws import WebSocketFactory
ImportError: No module named txws
since this is production environment, i did export the PYTHONPATH variable to "." from the folder.
root@exec01:/usr/local/twisted_vncauthproxy# printenv | grep PYTHON
PYTHONPATH=.
root@exec01:/usr/local/twisted_vncauthproxy#
I do believe i could export the variable to be PYTHONPATH=/usr/local/twisted_vncauthproxy/
Meanwhile, i havent been able to run the VNCauthproxy app yet.
On the side note, i have also replaced localhost to my server FQDN in the settings.py under ganeti web manager.
Hope someone can help me with this
Here is more info on the clone -
root@exec01:/usr/local/twisted_vncauthproxy# git log
commit 3163a2ec77768dd14f986681bec4b9e5e8e4e2e3
Merge: 6bf5ad4 7032a0b
Author: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Date: Wed Dec 19 15:11:22 2012 -0800
Merge remote-tracking branch 'github/master'
AJ