Bug #4103

Make Cancel action more resiliant in vCenter

Added by OpenNebula Systems Support Team almost 5 years ago. Updated almost 5 years ago.

Status:ClosedStart date:10/28/2015
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:vCenter
Target version:Release 4.14.2
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.14

Description

Currently it may fail due to object not found:

"uninitialized constant VCenterDriver::VIClient::ManagedObjectNotFound". Backtrace "/usr/lib/one/ruby/vcenter_driver.rb:206:in `find_vm_template'/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/type_loader.rb:97:in`find'/usr/lib/one/ruby/vcenter_driver.rb:203:in `each'/usr/lib/one/ruby/vcenter_driver.rb:203:in`find'/usr/lib/one/ruby/vcenter_driver.rb:203:in `find_vm_template'/usr/lib/one/ruby/vcenter_driver.rb:830:in`cancel'/var/lib/one/remotes/vmm/vcenter/cancel:43"

Associated revisions

Revision 547f61c3
Added by Javi Fontan almost 5 years ago

bug #4103: fix bug when an object does not exist

Revision f6a566b8
Added by Javi Fontan almost 5 years ago

bug #4103: fix bug when an object does not exist

(cherry picked from commit 547f61c31883b19e09ff14673f5d9c5e4d10bb8d)

History

#1 Updated by Ruben S. Montero almost 5 years ago

  • Category changed from Drivers - VM to vCenter

#2 Updated by Tino Vázquez almost 5 years ago

  • Assignee changed from OpenNebula Systems Support Team to Javi Fontan

#3 Updated by Javi Fontan almost 5 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF