[one-users] bug NameError - uninitialized constant SunstoneServer::ClusterPoolJSON:

Jorge Mario Manuel Ortega ortegajorge at gmail.com
Tue Oct 16 12:58:39 PDT 2012


oh you are right
IM upgrading, i installed the default package from ubuntu to do all the
"hard work" for me
jeje, then i install the source from github ...
today i will try to install it from clean.. anyway the upgrade path isnt
working well..




Live long , and Prosper .-


2012/10/16 Hector <hector at convivencial.org>

> It works for me...
>
> I wonder if something has gone wrong with your install? Were you upgrading
> from a previous version or installing on top of one? Did you restart
> sunstone server afterwards?
>
> Hector
>
> En Tue, 16 Oct 2012 15:18:05 +0200, Jorge Mario Manuel Ortega <
> ortegajorge at gmail.com> escribió:
>
>
>  hy , i think i bumped into a bug in the sunstone gui .
>> it manifests itself when you try to update any cluster or datastore view
>> in
>> the gui.
>> i created a few via cli and they seem to work fine but sunstone view
>> crash.
>>
>> im having this issue in latest git master branch build. i installed it
>> from
>> source
>> tested in i386 and amd64 in ubuntu 12.04 ,fully updated , server versions.
>>
>>
>> NameError - uninitialized constant SunstoneServer::**DatastorePoolJSON:
>>
>>>  /usr/lib/one/sunstone/models/**SunstoneServer.rb:62:in `get_pool'
>>>  /usr/lib/one/sunstone/**sunstone-server.rb:344:in `GET /:pool'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1151:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1151:in `compile!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:724:in `instance_eval'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:724:in `route_eval'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:708:in `route!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:758:in `process_route'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:755:in `catch'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:755:in `process_route'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:707:in `route!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:706:in `each'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:706:in `route!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:843:in `dispatch!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:644:in `call!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:808:in `instance_eval'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:808:in `invoke'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:808:in `catch'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:808:in `invoke'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:644:in `call!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:629:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**rack/commonlogger.rb:20:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**rack/session/abstract/id.rb:**195:in
>>> `context'
>>>  /usr/lib/ruby/vendor_ruby/**rack/session/abstract/id.rb:**190:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**rack/head.rb:9:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/showexceptions.rb:21:**in `call'
>>>  /usr/lib/ruby/vendor_ruby/**rack/methodoverride.rb:24:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1272:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1303:in `synchronize'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1272:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**thin/connection.rb:80:in `pre_process'
>>>  /usr/lib/ruby/vendor_ruby/**thin/connection.rb:78:in `catch'
>>>  /usr/lib/ruby/vendor_ruby/**thin/connection.rb:78:in `pre_process'
>>>  /usr/lib/ruby/vendor_ruby/**thin/connection.rb:53:in `process'
>>>  /usr/lib/ruby/vendor_ruby/**thin/connection.rb:38:in `receive_data'
>>>  /usr/lib/ruby/vendor_ruby/**eventmachine.rb:257:in `run_machine'
>>>  /usr/lib/ruby/vendor_ruby/**eventmachine.rb:257:in `run'
>>>  /usr/lib/ruby/vendor_ruby/**thin/backends/base.rb:61:in `start'
>>>  /usr/lib/ruby/vendor_ruby/**thin/server.rb:159:in `start'
>>>  /usr/lib/ruby/vendor_ruby/**rack/handler/thin.rb:13:in `run'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1234:in `run!'
>>>  /usr/lib/one/sunstone/**sunstone-server.rb:397
>>> NameError - uninitialized constant SunstoneServer::**ClusterPoolJSON:
>>>  /usr/lib/one/sunstone/models/**SunstoneServer.rb:54:in `get_pool'
>>>  /usr/lib/one/sunstone/**sunstone-server.rb:344:in `GET /:pool'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1151:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1151:in `compile!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:724:in `instance_eval'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:724:in `route_eval'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:708:in `route!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:758:in `process_route'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:755:in `catch'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:755:in `process_route'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:707:in `route!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:706:in `each'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:706:in `route!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:843:in `dispatch!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:644:in `call!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:808:in `instance_eval'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:808:in `invoke'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:808:in `catch'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:808:in `invoke'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:644:in `call!'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:629:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**rack/commonlogger.rb:20:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**rack/session/abstract/id.rb:**195:in
>>> `context'
>>>  /usr/lib/ruby/vendor_ruby/**rack/session/abstract/id.rb:**190:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**rack/head.rb:9:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/showexceptions.rb:21:**in `call'
>>>  /usr/lib/ruby/vendor_ruby/**rack/methodoverride.rb:24:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1272:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1303:in `synchronize'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1272:in `call'
>>>  /usr/lib/ruby/vendor_ruby/**thin/connection.rb:80:in `pre_process'
>>>  /usr/lib/ruby/vendor_ruby/**thin/connection.rb:78:in `catch'
>>>  /usr/lib/ruby/vendor_ruby/**thin/connection.rb:78:in `pre_process'
>>>  /usr/lib/ruby/vendor_ruby/**thin/connection.rb:53:in `process'
>>>  /usr/lib/ruby/vendor_ruby/**thin/connection.rb:38:in `receive_data'
>>>  /usr/lib/ruby/vendor_ruby/**eventmachine.rb:257:in `run_machine'
>>>  /usr/lib/ruby/vendor_ruby/**eventmachine.rb:257:in `run'
>>>  /usr/lib/ruby/vendor_ruby/**thin/backends/base.rb:61:in `start'
>>>  /usr/lib/ruby/vendor_ruby/**thin/server.rb:159:in `start'
>>>  /usr/lib/ruby/vendor_ruby/**rack/handler/thin.rb:13:in `run'
>>>  /usr/lib/ruby/vendor_ruby/**sinatra/base.rb:1234:in `run!'
>>>  /usr/lib/one/sunstone/**sunstone-server.rb:397
>>>
>>>
>> any idea?
>>
>> Live long , and Prosper .-
>>
>
>
> --
> Hector
> @hecsanjuan
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121016/b15280e4/attachment-0002.htm>


More information about the Users mailing list