<div>hy , i think i bumped into a bug in the sunstone gui .<br>it manifests itself when you try to update any cluster or datastore view in the gui.<br>i created a few via cli and they seem to work fine but sunstone view crash.<br>
<br> im having this issue in latest git master branch build. i installed it from source <br>tested in i386 and amd64 in ubuntu 12.04 ,fully updated , server versions. <br><br><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div style="margin-left:40px">NameError - uninitialized constant SunstoneServer::DatastorePoolJSON:<br> /usr/lib/one/sunstone/models/SunstoneServer.rb:62:in `get_pool'<br> /usr/lib/one/sunstone/sunstone-server.rb:344:in `GET /:pool'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1151:in `call'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1151:in `compile!'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:724:in `instance_eval'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:724:in `route_eval'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:708:in `route!'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:758:in `process_route'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `catch'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `process_route'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:707:in `route!'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:706:in `each'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:706:in `route!'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:843:in `dispatch!'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:644:in `call!'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `instance_eval'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `invoke'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `catch'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `invoke'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:644:in `call!'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:629:in `call'<br> /usr/lib/ruby/vendor_ruby/rack/commonlogger.rb:20:in `call'<br>
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:195:in `context'<br> /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:190:in `call'<br> /usr/lib/ruby/vendor_ruby/rack/head.rb:9:in `call'<br> /usr/lib/ruby/vendor_ruby/sinatra/showexceptions.rb:21:in `call'<br>
/usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:24:in `call'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1272:in `call'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1303:in `synchronize'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1272:in `call'<br>
/usr/lib/ruby/vendor_ruby/thin/connection.rb:80:in `pre_process'<br> /usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `catch'<br> /usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `pre_process'<br> /usr/lib/ruby/vendor_ruby/thin/connection.rb:53:in `process'<br>
/usr/lib/ruby/vendor_ruby/thin/connection.rb:38:in `receive_data'<br> /usr/lib/ruby/vendor_ruby/eventmachine.rb:257:in `run_machine'<br> /usr/lib/ruby/vendor_ruby/eventmachine.rb:257:in `run'<br> /usr/lib/ruby/vendor_ruby/thin/backends/base.rb:61:in `start'<br>
/usr/lib/ruby/vendor_ruby/thin/server.rb:159:in `start'<br> /usr/lib/ruby/vendor_ruby/rack/handler/thin.rb:13:in `run'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1234:in `run!'<br> /usr/lib/one/sunstone/sunstone-server.rb:397<br>
NameError - uninitialized constant SunstoneServer::ClusterPoolJSON:<br> /usr/lib/one/sunstone/models/SunstoneServer.rb:54:in `get_pool'<br> /usr/lib/one/sunstone/sunstone-server.rb:344:in `GET /:pool'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1151:in `call'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1151:in `compile!'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:724:in `instance_eval'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:724:in `route_eval'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:708:in `route!'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:758:in `process_route'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `catch'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `process_route'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:707:in `route!'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:706:in `each'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:706:in `route!'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:843:in `dispatch!'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:644:in `call!'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `instance_eval'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `invoke'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `catch'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `invoke'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:644:in `call!'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:629:in `call'<br> /usr/lib/ruby/vendor_ruby/rack/commonlogger.rb:20:in `call'<br> /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:195:in `context'<br>
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:190:in `call'<br> /usr/lib/ruby/vendor_ruby/rack/head.rb:9:in `call'<br> /usr/lib/ruby/vendor_ruby/sinatra/showexceptions.rb:21:in `call'<br> /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:24:in `call'<br>
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1272:in `call'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1303:in `synchronize'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1272:in `call'<br> /usr/lib/ruby/vendor_ruby/thin/connection.rb:80:in `pre_process'<br>
/usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `catch'<br> /usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `pre_process'<br> /usr/lib/ruby/vendor_ruby/thin/connection.rb:53:in `process'<br> /usr/lib/ruby/vendor_ruby/thin/connection.rb:38:in `receive_data'<br>
/usr/lib/ruby/vendor_ruby/eventmachine.rb:257:in `run_machine'<br> /usr/lib/ruby/vendor_ruby/eventmachine.rb:257:in `run'<br> /usr/lib/ruby/vendor_ruby/thin/backends/base.rb:61:in `start'<br> /usr/lib/ruby/vendor_ruby/thin/server.rb:159:in `start'<br>
/usr/lib/ruby/vendor_ruby/rack/handler/thin.rb:13:in `run'<br> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1234:in `run!'<br> /usr/lib/one/sunstone/sunstone-server.rb:397<br></div></blockquote><br>any idea?<br>
<br clear="all">Live long , and Prosper .-<br>