[one-users] [beta] novnc python dependency CentOS
Héctor Sanjuán
hsanjuan at opennebula.org
Mon Aug 1 04:39:46 PDT 2011
Hello,
thanks for pointing this out. I have added a section to the Sunstone
documentation [1] about the vnc requirements.
Hector
[1] http://opennebula.org/documentation:rel3.0:sunstone#vnc_requirements
El 30/07/11 23:56, Rogier Mars escribió:
> Hi,
>
> I've installed Beta 3.0 on a test platform to see all the new features. It looks great!
>
> I've enabled the novnc feature by running the install_novnc.sh script. This script finished successfully and the VNC icon showed in the web interface. However it did not work, and showed a "failed to connect" error in the VNC popup.
>
> After some troubleshooting and running the launch.sh script manually it showed that the default python version on CentOS5 is not supported:
>
> Traceback (most recent call last):
> File "/usr/share/one/noVNC/utils/wsproxy.py", line 270, in ?
> opts.target_host, sep, opts.target_port = args[1].rpartition(':')
> AttributeError: 'str' object has no attribute 'rpartition'
> Failed to start WebSockets proxy
>
> The repartition attribute was only included in python 2.5 I think. I installed python26 from EPEL and updated the novnc python scripts to use python26 instead of the default system python. Now the proxy starts and works.
>
> As is mentioned in this bug http://dev.opennebula.org/issues/757 the VNC proxy currently only works when the VMs are running on the same host as OpenNebula.
>
> I'm not sure if the documentation includes the python dependency for CentOS5, I might have missed it.
>
> Best regards,
>
> Rogier
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Héctor Sanjuán
OpenNebula Sunstone Developer
More information about the Users
mailing list