Bug #260

Cancel action fails in Driver subsystem & missing method

Added by Ruben S. Montero about 11 years ago. Updated almost 11 years ago.

Status:ClosedStart date:06/11/2010
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:Drivers - Auth
Target version:Release 2.0
Resolution: Pull request:
Affected Versions:

Description

With ruby 1.8.5 (confirmed) cancel action may fail with

/home/oneadmin/one/lib/ruby/ActionManager.rb:153:in `delete_at': can't
convert Hash into
 Integer (TypeError)
       from /home/oneadmin/one/lib/ruby/ActionManager.rb:153:in `cancel_action'
       from /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
       from /home/oneadmin/one/lib/ruby/ActionManager.rb:141:in `cancel_action'
       from /home/oneadmin/one/lib/ruby/OpenNebulaDriver.rb:102:in `loop'
       from /home/oneadmin/one/lib/ruby/OpenNebulaDriver.rb:72:in
`start_driver'
       from /home/oneadmin/one/lib/ruby/OpenNebulaDriver.rb:72:in `initialize'
       from /home/oneadmin/one/lib/ruby/OpenNebulaDriver.rb:72:in `new'
       from /home/oneadmin/one/lib/ruby/OpenNebulaDriver.rb:72:in
`start_driver'

Also it seems that 1.8.5 does not like kill!

/home/oneadmin/one/lib/ruby/OpenNebulaDriver.rb:74 - undefi
ned method `kill!' for #<Thread:0x2b569c2aa210 run>
/home/oneadmin/one/lib/ruby/OpenNebulaDriver.rb:74:in `start_driver':
undefined method `
kill!' for #<Thread:0x2b569c2aa210 run> (NoMethodError)
       from /home/oneadmin/one/lib/mads/one_vmm_xen.rb:227

Associated revisions

Revision 5e083026
Added by Ruben S. Montero almost 11 years ago

Bug #260 wrong delete_at method, removed kill!

Revision 264a402a
Added by Jaime Melis about 4 years ago

Merge pull request #260 from juanmont/bug-flow

B Flow resolved bug of roles

History

#1 Updated by Ruben S. Montero about 11 years ago

  • Status changed from New to Assigned

#2 Updated by Ruben S. Montero almost 11 years ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF