Re: [one-users] Screencast - OpenNebula 3.0 Sunstone

2011-10-13 Thread Bruno Ferreira
I enjoy a lot the ideia, its better to demonstrate the power of opennebula
with sunstone with this videos...


2011/10/13 Jaime Melis 

> Hello,
>
> We have released a screencast about OpenNebula Sunstone:
> http://blog.opennebula.org/?p=2070
>
> This is the first in a series of screencasts that will show the major
> features of OpenNebula.
>
> Cheers,
> Jaime
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | jme...@opennebula.org
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Atenciosamente,
Bruno Ferreira.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Help using Sunstone GUI

2011-10-10 Thread Bruno Ferreira
Wow, now im lost...I remove the package rack, install the gem install rack
--version 1.0.1 (ubuntu 10.4) ...
update my path
*export PATH="/home/oneadmin/.gem/ruby/1.8/gems/bin:$PATH"*

Now the error changes(sunstone.log):

*from /home/oneadmin/.gem/ruby/1.8/bin/rackup:19:in `load'
from /home/oneadmin/.gem/ruby/1.8/bin/rackup:19*

Lines of rackup file:
*(18)gem 'rack', version
(19)load Gem.bin_path('rack', 'rackup', version)*

Im not developer and know nothing about ruby =/
I also tried with the sim link but fails too...



2011/10/10 Héctor Sanjuán 

> Yes, as I thought you are linking the binary from the package rack,
> whereas ruby is including the "gem install" rack. Uninstall the rack
> package and include the gem binary folder in your PATH. Something like:
>
> export PATH="/home/oneadmin/.gem/ruby/1.8/gems/bin":$PATH
>
> You can also sym link the rack binary in that folder.
>
> Héctor Sanjuán
> OpenNebula Developer
>
> El 10/10/11 17:32, Bruno Ferreira escribió:
> > Here it is:
> > rackup: /usr/bin/rackup1.8 /usr/bin/rackup(S.Link)
> >
> > Thank you
> >
> > 2011/10/10 Héctor Sanjuán  > <mailto:hsanj...@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'
> > >
> >   

Re: [one-users] Help using Sunstone GUI

2011-10-10 Thread Bruno Ferreira
Here it is:
rackup: /usr/bin/rackup1.8 /usr/bin/rackup(S.Link)

Thank you

2011/10/10 Héctor Sanjuán 

> 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.

Re: [one-users] Help using Sunstone GUI

2011-10-10 Thread Bruno Ferreira
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 

> 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.
> >
&

[one-users] Help using Sunstone GUI

2011-10-07 Thread Bruno Ferreira
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
/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_aa_40x100.png
/usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_flat_75_ff_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_ff_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_cc_1x100.png
/usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_22_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_88_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

Re: [one-users] Almost there...but failing

2011-10-04 Thread Bruno Ferreira
YES!!!
Its running now... =)
I just create the int *br0* on the worker node and try to run again...

Now i have a new issue, i cant acesses the VM... I discover that i already
have a bridge working on my workers nodes, but with a different name (*
virbr0*).
Probably the opennebula express install did it for me...

Now i'll try to resubmit th vm using this interface(*virbr0*) instead of *
br0* which is "misconfigured"

Tue Oct  4 14:35:43 2011 [LCM][I]: New VM state is BOOT
Tue Oct  4 14:35:43 2011 [VMM][I]: Generating deployment file:
/var/lib/one/9/deployment.2
Tue Oct  4 14:35:44 2011 [LCM][I]: New VM state is RUNNING
Tue Oct  4 14:45:55 2011 [VMM][D]: Monitor Information:
CPU   : 98
Memory: 65536
Net_TX: 0
Net_RX: 468

Thx a lot guy!


2011/10/4 Héctor Sanjuán 

> Hi
>
> br0 must be a bridge defined in the physical host where you are going to
> deploy the VM. It seems that it doesnt exist...
>
> Hector
>
> El 04/10/11 17:12, Bruno Ferreira escribió:
> > Hector Thank you for reply.
> >
> > I gave permission to the DIR in var VM_DIR.
> > Now im getting other error.
> >
> > I take a look at the log of the vm and everything goes ok until the boot
> > then i get this errors message:
> >
> > /Tue Oct  4 11:52:55 2011 [VMM][I]: STDERR follows.
> > Tue Oct  4 11:52:55 2011 [VMM][I]: /usr/lib/ruby/1.8/open3.rb:73:
> > warning: Insecure world writable dir /srv/cloud/one in PATH, mode 040777
> > Tue Oct  4 11:52:55 2011 [VMM][I]: Warning: Permanently added
> > 'xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.
> > Tue Oct  4 11:52:55 2011 [VMM][I]: error: Failed to create domain from
> > /srv/cloud//8/images/deployment.0
> > Tue Oct  4 11:52:55 2011 [VMM][I]: error: Failed to add tap interface to
> > bridge 'br0': No such device
> > Tue Oct  4 11:52:55 2011 [VMM][I]: ExitCode: 255
> > Tue Oct  4 11:52:55 2011 [VMM][E]: Error deploying virtual machine:
> > /usr/lib/ruby/1.8/open3.rb:73: warning: Insecure world writable dir
> > /srv/cloud/one in PATH, mode 040777
> > Tue Oct  4 11:52:55 2011 [DiM][I]: New VM state is FAILED
> > /
> > I have the interface br0 configured in the vm.
> > Bellow is info about the network and vm.*
> >
> > _onevnet show_*/_:_
> > VIRTUAL NETWORK 1
> > INFORMATION
> > ID:   : 1
> > UID:  : 0
> > PUBLIC: N
> >
> > VIRTUAL NETWORK
> > TEMPLATE
> > BRIDGE=br0
> > LEASES=[ IP=192.168.0.5 ]
> > LEASES=[ IP=192.168.0.6 ]
> > LEASES=[ IP=192.168.0.7 ]
> > NAME=Small network
> > TYPE=FIXED
> >
> > LEASES
> > INFORMATION
> > LEASE=[ IP=192.168.0.5, MAC=02:00:c0:a8:00:05, USED=1, VID=7 ]
> > LEASE=[ IP=192.168.0.6, MAC=02:00:c0:a8:00:06, USED=0, VID=-1 ]
> > LEASE=[ IP=192.168.0.7, MAC=02:00:c0:a8:00:07, USED=0, VID=-1 ]/
> >
> > _*onehost show *"id"_:
> >
> > /VIRTUAL MACHINE 7
> > INFORMATION
> > ID : 7
> > NAME   : ttylinux
> > STATE  : FAILED
> > LCM_STATE  : LCM_INIT
> > START TIME : 10/04 11:24:29
> > END TIME   : 10/04 11:27:09
> > DEPLOY ID: : -
> >
> > VIRTUAL MACHINE
> > MONITORING
> > NET_TX : 0
> > NET_RX : 0
> > USED MEMORY: 0
> > USED CPU   : 0
> >
> > VIRTUAL MACHINE
> > TEMPLATE
> > CONTEXT=[
> >   FILES=/home/oneadmin/init.sh /home/oneadmin/.ssh/id_rsa.pub,
> >   HOSTNAME=ttylinux,
> >   IP_PUBLIC=xxx.xxx.xxx.xxx,
> >   ROOT_PUBKEY=id_dsa.pub,
> >   TARGET=hdc,
> >   USERNAME=opennebula,
> >   USER_PUBKEY=id_dsa.pub ]
> > CPU=0.5
> > DISK=[
> >   CLONE=YES,
> >   DISK_ID=0,
> >   IMAGE=ttylinux,
> >   IMAGE_ID=7,
> >   READONLY=NO,
> >   SAVE=NO,
> >   SOURCE=/srv/cloud/var/images/8625d68b699fd30e64360471eb2c38fed47fcfb6,
> >   TARGET=hda,
> >   TYPE=DISK ]
> > FEATURES=[
> >   ACPI=no ]
> > MEMORY=64
> > NAME=ttylinux
> > NIC=[
> >   BRIDGE=br0,
> >   IP=192.168.0.5,
> >   MAC=02:00:c0:a8:00:05,
> >   NETWORK=Small network,
> >   NETWORK_ID=1 ]
> > VMID=7
> > /
> > Best Regards,
> > Bruno Ferreira.
> >
> > 2011/10/3 Héctor Sanjuán  > <mailto:hsanj...@opennebula.org>>
> >
> > oneadmin user seems not to have rights to write to /srv/cloud/one on
> the
> > remote node. You may want to make VM_DIR in oned.conf point to a
> > writable folder (maybe /var/one) or give writing permissions to
> oneadmin
> > in /srv/cloud in the remote node.
>

[one-users] Almost there...but failing

2011-10-03 Thread Bruno Ferreira
Hello guys!
I am doing a cloud project for my college using open nebula.

So i follow this model bellow .Almost everything is okay except the *"onevm"
* procedure.
http://opennebula.org/documentation:archives:rel2.2:vmg

When i try to deploy a vm its show fail status.

Mon Oct  3 16:14:56 2011 [DiM][I]: New VM state is PENDING.
Mon Oct  3 16:15:15 2011 [DiM][I]: New VM state is ACTIVE.
Mon Oct  3 16:15:15 2011 [LCM][I]: New VM state is PROLOG.
Mon Oct  3 16:15:15 2011 [TM][I]: Command execution fail:
/usr/lib/one/tm_commands/ssh/tm_clone.sh
ubuntucloud:/srv/cloud/var/images/8625d68b699fd30e64360471eb2c38fed47fcfb6xxx.xxx.xxx.xxx
:/srv/cloud/one/var/4/images/disk.0
Mon Oct  3 16:15:15 2011 [TM][I]: STDERR follows.
Mon Oct  3 16:15:15 2011 [TM][I]: /usr/lib/ruby/1.8/open3.rb:73: warning:
Insecure world writable dir /srv/cloud/one in PATH, mode 040777
Mon Oct  3 16:15:15 2011 [TM][I]: ERROR MESSAGE --8<--
Mon Oct  3 16:15:15 2011 [TM][I]: Warning: Permanently added '
xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.
Mon Oct  3 16:15:15 2011 [TM][I]: mkdir: é impossível criar o diretório
`/srv/cloud/one': Permissão negada
Mon Oct  3 16:15:15 2011 [TM][I]: ERROR MESSAGE -->8--
Mon Oct  3 16:15:15 2011 [TM][I]: ExitCode: 1
Mon Oct  3 16:15:15 2011 [TM][I]: tm_clone.sh:
ubuntucloud:/srv/cloud/var/images/8625d68b699fd30e64360471eb2c38fed47fcfb6
xxx.xxx.xxx.xxx:/srv/cloud/one/var/4/images/disk.0
Mon Oct  3 16:15:15 2011 [TM][I]: tm_clone.sh: DST:
/srv/cloud/one/var/4/images/disk.0
Mon Oct  3 16:15:15 2011 [TM][I]: tm_clone.sh: Creating directory
/srv/cloud/one/var/4/images
Mon Oct  3 16:15:15 2011 [TM][I]: tm_clone.sh: ERROR: Command "/usr/bin/ssh
xxx.xxx.xxx.xxx mkdir -p /srv/cloud/one/var/4/images" failed.
Mon Oct  3 16:15:15 2011 [TM][I]: tm_clone.sh: ERROR: Warning: Permanently
added 'xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.
Mon Oct  3 16:15:15 2011 [TM][I]: mkdir: é impossível criar o diretório
`/srv/cloud/one': Permissão negada
Mon Oct  3 16:15:15 2011 [TM][E]: Error excuting image transfer script:
Warning: Permanently added '146.164.84.91' (RSA) to the list of known hosts.
Mon Oct  3 16:15:15 2011 [DiM][I]: New VM state is FAILED
Mon Oct  3 16:15:15 2011 [TM][W]: Ignored: LOG - 4 tm_delete.sh: Deleting
/srv/cloud/one/var/4/images

Mon Oct  3 16:15:15 2011 [TM][W]: Ignored: LOG - 4 tm_delete.sh: Executed
"/usr/bin/ssh xxx.xxx.xxx.xxx rm -rf /srv/cloud/one/var/4/images".

Mon Oct  3 16:15:15 2011 [TM][W]: Ignored: TRANSFER SUCCESS 4 -

Would you guys pleas give me a hand?
Using open nebula 2.2.1
Sorry my bad english.

Best regards,
Bruno Ferreira.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org