[one-users] opennebula 3.8 and market compatiable problem!

mario wu iamokcn at gmail.com
Wed Feb 19 22:37:35 PST 2014


hi,all

today i found my opennebula 3.8's sunstone is show me this error
"
×
Error

Ruby (Rack) application could not be started
These are the possible causes:

    There may be a syntax error in the application's code. Please check for
such errors and fix them.
    A required library may not installed. Please install all libraries that
this application requires.
    The application may not be properly configured. Please check whether
all configuration files are written correctly, fix any incorrect
configurations, and restart this application.
    A service that the application relies on (such as the database server
or the Ferret search engine server) may not have been started. Please start
that service.

Further information about the error may have been written to the
application's log file. Please check it in order to analyse the problem.

Error message:
    Failed to connect to a master node at localhost:27017
(Mongo::ConnectionFailure)
Exception class:
    PhusionPassenger::UnknownError
Application root:
    /usr/lib/one/ruby/oneapps/market
Backtrace:
    # File Line Location
    0 /var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb 415 in
`connect'
    1 /var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb 589 in
`setup'
    2 /var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb 114 in
`initialize'
    3 /usr/lib/one/ruby/oneapps/market/init.rb 28 in `new'
    4 /usr/lib/one/ruby/oneapps/market/init.rb 28 in `'
    5 /usr/lib/one/ruby/oneapps/market/models.rb 16 in `require'
    6 /usr/lib/one/ruby/oneapps/market/models.rb 16 in `'
    7 /usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb 42 in
`require'
    8 /usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb 42 in
`'
    9 config.ru 17 in `require'
    10 config.ru 17 in `block in '
    11 /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb 51 in
`instance_eval'
    12 /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb 51 in
`initialize'
    13 config.ru 1 in `new'
    14 config.ru 1 in `'
    15 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
225 in `eval'
    16 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
225 in `load_rack_app'
    17 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
75 in `block (2 levels) in spawn_application'
    18 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb
572 in `report_app_init_status'
    19 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
73 in `block in spawn_application'
    20 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb
479 in `safe_fork'
    21 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
64 in `spawn_application'
    22 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb
264 in `spawn_rack_application'
    23 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb
137 in `spawn_application'
    24 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb
275 in `handle_spawn_application'
    25 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb
357 in `server_main_loop'
    26 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb
206 in `start_synchronously'
    27 /var/lib/gems/1.9.1/gems/passenger-3.0.12/helper-scripts/passenger-spawn-server
99 in `'

Powered by Phusion Passenger, mod_rails / mod_rack for Apache.
"

through few minutes research,i found this issue is cause by the market app
is not work on one3.8 anymore. then i disable this plugin
from etc/sunstone-plugins.yaml , this error message gone! i'm not going to
update one3.8 to new version one, because it's work fine. just let somebody
have same issue know this workaround.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140220/d6f061c8/attachment.htm>


More information about the Users mailing list