[one-users] Help using Sunstone GUI

Bruno Ferreira brunosilvaferreira at gmail.com
Mon Oct 10 08:32:43 PDT 2011


Here it is:
rackup: /usr/bin/rackup1.8 /usr/bin/rackup(S.Link)

Thank you

2011/10/10 Héctor Sanjuán <hsanjuan at opennebula.org>

> Well, that exception is probably at the origin of all the problems you
> describe.
>
> What is the full path of the rackup1.8 binary you are linking to?
>
> Héctor Sanjuán
> OpenNebula Developer
>
> El 10/10/11 17:03, Bruno Ferreira escribió:
> > For sure, Hector.
> > I dont know if it matters, but i create a simbolic Link of rackup1.8 to
> > rackup.
> >
> >
> > *LOG:*
> > 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /js/opennebula.js HTTP/1.1"
> > 500 118504 0.1166
> > NoMethodError - undefined method `byte_ranges' for Rack::Utils:Module:
> >     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/file.rb:72:in
> > `serving'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:230:in
> > `send_file'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:852:in
> > `static!'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:884:in
> > `dispatch!'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:706:in
> > `call!'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in
> > `invoke'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in
> > `catch'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in
> > `invoke'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:706:in
> > `call!'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:692:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/session/abstract/id.rb:195:in
> > `context'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/session/abstract/id.rb:190:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-protection-1.1.4/lib/rack/protection/path_traversal.rb:16:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-protection-1.1.4/lib/rack/protection/json_csrf.rb:17:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-protection-1.1.4/lib/rack/protection/base.rb:47:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in
> > `call'
> >
> > /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/logger.rb:15:in
> `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/commonlogger.rb:20:in
> > `call'
> >     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/head.rb:9:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/methodoverride.rb:24:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/showexceptions.rb:21:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1334:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1403:in
> > `synchronize'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1334:in
> > `call'
> >     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/lint.rb:48:in
> > `_call'
> >     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/lint.rb:36:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/showexceptions.rb:24:in
> > `call'
> >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/commonlogger.rb:20:in
> > `call'
> >     /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'
> >     /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call'
> >     /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
> >     /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
> >     /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
> >     /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
> >     /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
> >     /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
> >     /usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
> >     /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
> >     /usr/lib/ruby/1.8/thin/server.rb:156:in `start'
> >     /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run'
> >     /usr/lib/ruby/1.8/rack/server.rb:155:in `start'
> >     /usr/lib/ruby/1.8/rack/server.rb:83:in `start'
> >     /usr/bin/rackup:4
> > 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /js/login.js HTTP/1.1" 500
> > 118474 0.0878
> > 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /favicon.ico HTTP/1.1" 401 -
> > 0.0013
> > 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /favicon.ico HTTP/1.1" 401 -
> > 0.0019
> > 127.0.0.1 - - [10/Oct/2011 10:58:36] "GET /favicon.ico HTTP/1.1" 401 -
> > 0.0060
> > 127.0.0.1 - - [10/Oct/2011 10:58:36] "GET /favicon.ico HTTP/1.1" 401 -
> > 0.0070
> >
> >
> >
> > 2011/10/10 Héctor Sanjuán <hsanjuan at opennebula.org
> > <mailto:hsanjuan at opennebula.org>>
> >
> >     It looks there is an exception showing in your sunstone.log, but you
> >     didnt paste all of it. Please, can you provide the full log?
> >
> >     Hector
> >
> >     El 10/10/11 16:06, Bruno Ferreira escribió:
> >     > Hi Olivier!
> >     > So i tested with firebug but nothing nothing interesting comes
> up...
> >     > Searching the HTMl file of sunstone i just found 2 files:
> >     > /usr/lib/one/sunstone/templates/index.html
> >     > /usr/lib/one/sunstone/templates/login.html
> >     >
> >     > Hi Hector im using firefox, Yes all the files in /usr/lib/one are
> >     > readable for my user oneadmin...
> >     > Thank you very much.
> >     >
> >     > *sunstone log:*
> >     >
> >     >
> >     >
> >     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/lint.rb:36:in
> >     > `call'
> >     >
> >     >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/showexceptions.rb:24:in
> >     > `call'
> >     >
> >     >
> >
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/commonlogger.rb:20:in
> >     > `call'
> >     >     /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'
> >     >     /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call'
> >     >     /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
> >     >     /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
> >     >     /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
> >     >     /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
> >     >     /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
> >     >     /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
> >     >     /usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
> >     >     /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
> >     >     /usr/lib/ruby/1.8/thin/server.rb:156:in `start'
> >     >     /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run'
> >     >     /usr/lib/ruby/1.8/rack/server.rb:155:in `start'
> >     >     /usr/lib/ruby/1.8/rack/server.rb:83:in `start'
> >     >     /usr/bin/rackup:4
> >     > 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /js/login.js HTTP/1.1"
> 500
> >     > 118474 0.0878
> >     > 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /favicon.ico HTTP/1.1"
> 401 -
> >     > 0.0013
> >     > 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /favicon.ico HTTP/1.1"
> 401 -
> >     > 0.0019
> >     > 127.0.0.1 - - [10/Oct/2011 10:58:36] "GET /favicon.ico HTTP/1.1"
> 401 -
> >     > 0.0060
> >     > 127.0.0.1 - - [10/Oct/2011 10:58:36] "GET /favicon.ico HTTP/1.1"
> 401 -
> >     > 0.0070
> >     >
> >     > sunstone.png
> >     >
> >     > 2011/10/9 Héctor Sanjuán <hsanjuan at opennebula.org
> >     <mailto:hsanjuan at opennebula.org>
> >     > <mailto:hsanjuan at opennebula.org <mailto:hsanjuan at opennebula.org>>>
> >     >
> >     >     Hi,
> >     >
> >     >     this is a bit weird. Any messages in sunstone.log? Are you
> using a
> >     >     compatible browser? Are the /usr/lib/one/sunstone/public/
> >     readable?
> >     >
> >     >     Hector
> >     >
> >     >     El 07/10/11 17:54, Bruno Ferreira escribió:
> >     >     > Hello there again!
> >     >     >
> >     >     > I already finish my basic cloud and would like to start
> >     using the
> >     >     sun stone.
> >     >     > I follow this model :
> >     >     > http://opennebula.org/documentation:archives:rel2.2:sunstone
> >     >     >
> >     >     > The sunstone server is ok, but when a acess via
> >     localhost:4567 the
> >     >     page
> >     >     > just load the basic html(without images and css) and dont
> >     recognize my
> >     >     > Opennebula server.
> >     >     > It says thet my opennebula is not running.
> >     >     > I didnt found any information about it and i dont know how
> >     organize it
> >     >     > manually.
> >     >     > If you guys could give me some help i will appreciate.
> >     >     > My installation is system wide.
> >     >     > Thank you in advance,
> >     >     > Bruno Ferreira
> >     >     >
> >     >     > *Here is my sun stone structure:*
> >     >     > /usr/bin/sunstone-server
> >     >     > /usr/lib/one/sunstone
> >     >     > /usr/lib/one/sunstone/config.ru <http://config.ru>
> >     <http://config.ru> <http://config.ru>
> >     >     > /usr/lib/one/sunstone/models
> >     >     > /usr/lib/one/sunstone/public
> >     >     > /usr/lib/one/sunstone/sunstone-server.rb
> >     >     > /usr/lib/one/sunstone/templates
> >     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON
> >     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON.rb
> >     >     > /usr/lib/one/sunstone/models/SunstoneServer.rb
> >     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/ClusterJSON.rb
> >     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/HostJSON.rb
> >     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/ImageJSON.rb
> >     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/JSONUtils.rb
> >     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/PoolJSON.rb
> >     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/UserJSON.rb
> >     >     >
> >     /usr/lib/one/sunstone/models/OpenNebulaJSON/VirtualMachineJSON.rb
> >     >     >
> >     /usr/lib/one/sunstone/models/OpenNebulaJSON/VirtualNetworkJSON.rb
> >     >     > /usr/lib/one/sunstone/public/css
> >     >     > /usr/lib/one/sunstone/public/images
> >     >     > /usr/lib/one/sunstone/public/js
> >     >     > /usr/lib/one/sunstone/public/vendor
> >     >     > /usr/lib/one/sunstone/public/css/application.css
> >     >     > /usr/lib/one/sunstone/public/css/layout.css
> >     >     > /usr/lib/one/sunstone/public/css/login.css
> >     >     > /usr/lib/one/sunstone/public/images/Refresh-icon.png
> >     >     > /usr/lib/one/sunstone/public/images/ajax-loader.gif
> >     >     > /usr/lib/one/sunstone/public/images/login.png
> >     >     > /usr/lib/one/sunstone/public/images/login_over.png
> >     >     >
> /usr/lib/one/sunstone/public/images/opennebula-sunstone-big.png
> >     >     >
> >     /usr/lib/one/sunstone/public/images/opennebula-sunstone-small.png
> >     >     > /usr/lib/one/sunstone/public/images/panel.png
> >     >     > /usr/lib/one/sunstone/public/images/pbar.gif
> >     >     > /usr/lib/one/sunstone/public/js/layout.js
> >     >     > /usr/lib/one/sunstone/public/js/login.js
> >     >     > /usr/lib/one/sunstone/public/js/one-ui_views.js
> >     >     > /usr/lib/one/sunstone/public/js/one-ui_views.templates.js
> >     >     > /usr/lib/one/sunstone/public/js/opennebula.js
> >     >     > /usr/lib/one/sunstone/public/vendor/dataTables
> >     >     > /usr/lib/one/sunstone/public/vendor/jGrowl
> >     >     > /usr/lib/one/sunstone/public/vendor/jQuery
> >     >     > /usr/lib/one/sunstone/public/vendor/jQueryLayout
> >     >     > /usr/lib/one/sunstone/public/vendor/jQueryUI
> >     >     >
> /usr/lib/one/sunstone/public/vendor/dataTables/BSD-LICENSE.txt
> >     >     > /usr/lib/one/sunstone/public/vendor/dataTables/NOTICE
> >     >     >
> >     /usr/lib/one/sunstone/public/vendor/dataTables/demo_table_jui.css
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/dataTables/jquery.dataTables.min.js
> >     >     > /usr/lib/one/sunstone/public/vendor/jGrowl/NOTICE
> >     >     > /usr/lib/one/sunstone/public/vendor/jGrowl/jquery.jgrowl.css
> >     >     >
> >     /usr/lib/one/sunstone/public/vendor/jGrowl/jquery.jgrowl_minimized.js
> >     >     > /usr/lib/one/sunstone/public/vendor/jQuery/MIT-LICENSE.txt
> >     >     > /usr/lib/one/sunstone/public/vendor/jQuery/NOTICE
> >     >     >
> /usr/lib/one/sunstone/public/vendor/jQuery/jquery-1.4.4.min.js
> >     >     > /usr/lib/one/sunstone/public/vendor/jQueryLayout/NOTICE
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryLayout/jquery.layout.min-1.2.0.js
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryLayout/layout-default-latest.css
> >     >     > /usr/lib/one/sunstone/public/vendor/jQueryUI/MIT-LICENSE.txt
> >     >     > /usr/lib/one/sunstone/public/vendor/jQueryUI/NOTICE
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/jquery-ui-1.8.7.custom.css
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/jquery-ui-1.8.7.custom.min.js
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_flat_0_575c5b_40x100.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_flat_0_8f9392_40x100.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_flat_0_aaaaaa_40x100.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_flat_75_ffffff_40x100.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_glass_55_fbf9ee_1x400.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_glass_65_ffffff_1x400.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_glass_75_dadada_1x400.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_glass_75_e6e6e6_1x400.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_glass_95_fef1ec_1x400.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_highlight-soft_75_cccccc_1x100.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_222222_256x240.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_2e83ff_256x240.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_454545_256x240.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_888888_256x240.png
> >     >     >
> >     >
> >
> /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_cd0a0a_256x240.png
> >     >     > /usr/lib/one/sunstone/templates/index.html
> >     >     > /usr/lib/one/sunstone/templates/login.html
> >     >     > /var/log/one/sunstone.log
> >     >     >
> >     >     >
> >     >     > _______________________________________________
> >     >     > Users mailing list
> >     >     > Users at lists.opennebula.org
> >     <mailto:Users at lists.opennebula.org>
> >     <mailto:Users at lists.opennebula.org <mailto:
> Users at lists.opennebula.org>>
> >     >     >
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >     >
> >     >
> >     >     --
> >     >     Héctor Sanjuán
> >     >     OpenNebula Sunstone Developer
> >     >
> >     >
> >     >
> >     >
> >     > --
> >     > Atenciosamente,
> >     > Bruno Ferreira.
> >     >
> >
> >
> >     --
> >     Héctor Sanjuán
> >     OpenNebula Sunstone Developer
> >
> >
> >
> >
> > --
> > Atenciosamente,
> > Bruno Ferreira.
> >
>



-- 
Atenciosamente,
Bruno Ferreira.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111010/4e5afd55/attachment-0003.htm>


More information about the Users mailing list