Updated Branches:
  refs/heads/master 506f2a4b9 -> 7b5f4bd99

CLOUDSTACK-4079: Made a change to make sure we are setting the hypervisor 
capabilities for storage motion to true.
If an upgrade is taking place from an older setup which supported a hypervisor 
but not storage motion on that
hypervisor, the upgraded setup will not have the storage motion field enabled. 
Enabled it explicitly.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7b5f4bd9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7b5f4bd9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7b5f4bd9

Branch: refs/heads/master
Commit: 7b5f4bd99cd003170d9aeab5ae51905723302524
Parents: 506f2a4
Author: Devdeep Singh <[email protected]>
Authored: Mon Aug 5 18:39:43 2013 +0530
Committer: Devdeep Singh <[email protected]>
Committed: Mon Aug 5 18:57:44 2013 +0530

----------------------------------------------------------------------
 setup/db/db/schema-410to420.sql | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7b5f4bd9/setup/db/db/schema-410to420.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql
index 25a1bb9..f5094c5 100644
--- a/setup/db/db/schema-410to420.sql
+++ b/setup/db/db/schema-410to420.sql
@@ -36,6 +36,8 @@ INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, 
hypervisor_type, hype
 INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, 
hypervisor_version, max_guests_limit, security_group_enabled, 
max_hosts_per_cluster) VALUES (UUID(), 'VMware', '5.1', 128, 0, 32);
 UPDATE `cloud`.`hypervisor_capabilities` SET `storage_motion_supported`=true 
WHERE `hypervisor_type`='VMware' AND `hypervisor_version`='5.1';
 UPDATE `cloud`.`hypervisor_capabilities` SET `storage_motion_supported`=true 
WHERE `hypervisor_type`='VMware' AND `hypervisor_version`='5.0';
+UPDATE `cloud`.`hypervisor_capabilities` SET `storage_motion_supported`=true 
WHERE `hypervisor_type`='XenServer' AND `hypervisor_version`='6.1.0';
+UPDATE `cloud`.`hypervisor_capabilities` SET `storage_motion_supported`=true 
WHERE `hypervisor_type`='XenServer' AND `hypervisor_version`='6.2.0';
 DELETE FROM `cloud`.`configuration` where name='vmware.percluster.host.max';
 DELETE FROM `cloud`.`configuration` where name='router.template.id';
 DELETE FROM `cloud`.`configuration` where name='swift.enable';

Reply via email to