Bug #4253
Resource Pool confinement fails
Status: | Closed | Start date: | 12/16/2015 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Bug #4253: Fix for resource pool confinnment bug
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