Bug #1575

OpenNebulaVNC.rb doesn't fit with the new websockify

Added by Jochem Ippers over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:10/23/2012
Priority:NormalDue date:
Assignee:Jaime Melis% Done:


Target version:Release 4.0
Resolution:worksforme Pull request:
Affected Versions:OpenNebula 3.8


I just upgraded from 3.6 to 3.8. on OpenSuse 12.1 with the rpm packages from the Opennebula website.
After installing Sunstone there is a little problem with noVNC.


    websockify [options] [source_addr:]source_port target_addr:target_port
    websockify [options] [source_addr:]source_port -- WRAP_COMMAND_LINE

websockify: error: no such option: --target-config

So the --target-config option doesn't fit to the (new) kanaka-websockify.

--target-config is used in the file /usr/lib/one/sunstone/OpenNebulaVNC.rb:

proxy_options = "--target-config=#{@token_folder} " 

It seems that this websockify can only be called and configured with command line options and not with a config file:




#1 Updated by Daniel Molina over 8 years ago

Did you use the install_novnc.sh script included in the package?, this script should install a compatible version of websockify.

#2 Updated by Jochem Ippers over 8 years ago

Ah, I wanted to execute the script but it isn't included in the Opensuse rpm-packages opennebula and opennebula-sunstone which I installed only. I just saw that it is included in the development-package (and src), that I didn't install.
My fault, but I think the script should better be placed in the opennebula-sunstone rpm.

Kind regards

#3 Updated by Daniel Molina over 8 years ago

  • Assignee set to Jaime Melis

#4 Updated by Ruben S. Montero over 8 years ago

  • Status changed from New to Closed
  • Resolution set to worksforme

Also available in: Atom PDF