From 61c85fe2dca09b0189b7a9dae7a29d8692dcca0c Mon Sep 17 00:00:00 2001 From: Harikrishna Patnala Date: Mon, 21 Sep 2015 15:47:15 +0530 Subject: [PATCH] CLOUDSTACK-8888: Xenserver 6.0.2 host stuck in disconnected state after upgrade to 4.6 XenServer602Resource class is removed but existing xenserver 6.0.2 hosts are not handled properly. --- setup/db/db/schema-452to460.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/db/db/schema-452to460.sql b/setup/db/db/schema-452to460.sql index 5887e538904..27b931ba44c 100644 --- a/setup/db/db/schema-452to460.sql +++ b/setup/db/db/schema-452to460.sql @@ -403,6 +403,8 @@ CREATE TABLE `cloud`.`external_bigswitch_bcf_devices` ( CONSTRAINT `fk_external_bigswitch_bcf_devices__physical_network_id` FOREIGN KEY (`physical_network_id`) REFERENCES `physical_network`(`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; +UPDATE `cloud`.`host` SET `resource`='com.cloud.hypervisor.xenserver.resource.XenServer600Resource' WHERE `resource`='com.cloud.hypervisor.xenserver.resource.XenServer602Resource'; + CREATE TABLE `cloud`.`ldap_trust_map` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `domain_id` bigint unsigned NOT NULL,