Bug #1846

Live Migration in 4.0 Sunstone server exception

Added by Bill Campbell almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:04/01/2013
Priority:HighDue date:
Assignee:Daniel Molina% Done:

100%

Category:Sunstone
Target version:Release 4.0
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.0

Description

Currently attempting live migration and get a server exception in the sunstone.error log:


ArgumentError - wrong number of arguments (3 for 1):
 /usr/lib/one/ruby/opennebula/virtual_machine.rb:354:in `migrate'
 /usr/lib/one/ruby/opennebula/virtual_machine.rb:354:in `live_migrate'
 /usr/lib/one/ruby/OpenNebulaJSON/VirtualMachineJSON.rb:91:in `live_migrate'
 /usr/lib/one/ruby/OpenNebulaJSON/VirtualMachineJSON.rb:50:in `perform_action'
 /usr/share/opennebula/sunstone/models/SunstoneServer.rb:195:in `perform_action'
 /usr/share/opennebula/sunstone/sunstone-server.rb:407:in `POST /:resource/:id/action'
 /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/share/opennebula/sunstone/sunstone-server.rb:412

This is being tested with the Ceph datastore (have not verified if this applies to any other datastore type).

Associated revisions

Revision 4d2cb9b1
Added by Daniel Molina almost 8 years ago

bug #1846: Fix live migration in Sunstone

History

#1 Updated by Daniel Molina almost 8 years ago

  • Status changed from New to Closed
  • Assignee set to Daniel Molina
  • Target version set to Release 4.0
  • % Done changed from 0 to 100
  • Resolution set to fixed

It should be fixed now, in the one-4.0 branch. Thanks for the feedback.

Also available in: Atom PDF