cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devd...@apache.org
Subject git commit: updated refs/heads/4.2 to cd278cf
Date Mon, 05 Aug 2013 13:23:57 GMT
Updated Branches:
  refs/heads/4.2 40e7502bc -> cd278cff4


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/cd278cff
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/cd278cff
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/cd278cff

Branch: refs/heads/4.2
Commit: cd278cff440899bc472a399286c1852e1bd71fc4
Parents: 40e7502
Author: Devdeep Singh <devdeep@gmail.com>
Authored: Mon Aug 5 18:39:43 2013 +0530
Committer: Devdeep Singh <devdeep@gmail.com>
Committed: Mon Aug 5 18:55:52 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cd278cff/setup/db/db/schema-410to420.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql
index f3ce336..183b739 100644
--- a/setup/db/db/schema-410to420.sql
+++ b/setup/db/db/schema-410to420.sql
@@ -37,6 +37,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';


Mime
View raw message