CLOUDSTACK-5953: In hypervisor_capabilities, max_guests_limit are not correct for XS 6.2 or other specific version hypervisor. (cherry picked from commit bba6b77177a6404f1d27f7adc278b46fe00759f0)
Signed-off-by: Animesh Chaturvedi <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8a9b1f70 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8a9b1f70 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8a9b1f70 Branch: refs/heads/4.3 Commit: 8a9b1f70b89a55290c42e10e33bb8e20ef765566 Parents: cf7b627 Author: Sanjay Tripathi <[email protected]> Authored: Thu Feb 6 17:42:14 2014 +0530 Committer: Animesh Chaturvedi <[email protected]> Committed: Fri Feb 7 13:23:33 2014 -0800 ---------------------------------------------------------------------- setup/db/db/schema-421to430.sql | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8a9b1f70/setup/db/db/schema-421to430.sql ---------------------------------------------------------------------- diff --git a/setup/db/db/schema-421to430.sql b/setup/db/db/schema-421to430.sql index 316cbe9..43e94db 100644 --- a/setup/db/db/schema-421to430.sql +++ b/setup/db/db/schema-421to430.sql @@ -828,6 +828,8 @@ CREATE TABLE `cloud`.`network_acl_item_details` ( ALTER TABLE `cloud`.`alert` ADD COLUMN `name` varchar(255) DEFAULT NULL COMMENT 'name of the alert'; +UPDATE `cloud`.`hypervisor_capabilities` set max_guests_limit='150' WHERE hypervisor_version='6.1.0'; +UPDATE `cloud`.`hypervisor_capabilities` set max_guests_limit='500' WHERE hypervisor_version='6.2.0'; UPDATE `cloud`.`hypervisor_capabilities` SET `max_data_volumes_limit`=13 WHERE `hypervisor_type`='Vmware'; INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, hypervisor_version, max_guests_limit, security_group_enabled, max_data_volumes_limit, storage_motion_supported) VALUES (UUID(), 'Hyperv', '6.2', 1024, 0, 64, 0);
