Skip to content

Commit 61c85fe

Browse files
author
Harikrishna Patnala
committed
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.
1 parent a5ca762 commit 61c85fe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎setup/db/db/schema-452to460.sql‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@ CREATE TABLE `cloud`.`external_bigswitch_bcf_devices` (
403403
CONSTRAINT `fk_external_bigswitch_bcf_devices__physical_network_id` FOREIGN KEY (`physical_network_id`) REFERENCES `physical_network`(`id`) ON DELETE CASCADE
404404
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
405405

406+
UPDATE `cloud`.`host` SET `resource`='com.cloud.hypervisor.xenserver.resource.XenServer600Resource' WHERE `resource`='com.cloud.hypervisor.xenserver.resource.XenServer602Resource';
407+
406408
CREATE TABLE `cloud`.`ldap_trust_map` (
407409
`id` int unsigned NOT NULL AUTO_INCREMENT,
408410
`domain_id` bigint unsigned NOT NULL,

0 commit comments

Comments
 (0)