Bug #4253

Resource Pool confinement fails

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

Status:ClosedStart date:12/16/2015
Priority:NormalDue date:
Assignee:Tino Vázquez% Done:

100%

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

Description

The resource_pool is asked from cluster instead of connection.

Fix with following patch

diff --git a/src/vmm_mad/remotes/vcenter/vcenter_driver.rb b/src/vmm_mad/remotes/vcenter/vcenter_driver.rb
index 553beae..0dbc741 100644
--- a/src/vmm_mad/remotes/vcenter/vcenter_driver.rb
+++ b/src/vmm_mad/remotes/vcenter/vcenter_driver.rb
@ -1431,7 +1431,7 @ private
vc_template = connection.find_vm_template(uuid)

if connection.rp_confined?
- rp = connection.cluster.resource_pool.first
+ rp = connection.resource_pool.first
else
rp = connection.default_resource_pool
end

Associated revisions

Revision 18b3a72b
Added by Tino Vázquez over 5 years ago

Bug #4253: Fix for resource pool confinnment bug

Revision c9b4709a
Added by Tino Vázquez over 5 years ago

Bug #4253: Fix for resource pool confinnment bug

(cherry picked from commit 18b3a72b022c2d56c6838b5a03d901fab2b2a7f7)

History

#1 Updated by OpenNebula Systems Support Team over 5 years ago

  • Status changed from Pending to Closed
  • Assignee set to Tino Vázquez
  • % Done changed from 0 to 100
  • Resolution set to fixed

#2 Updated by Ruben S. Montero over 5 years ago

  • Target version changed from 82 to Release 5.0

Also available in: Atom PDF