Skip to content

Commit a782495

Browse files
committed
CLOUDSTACK-7642. Class not found exception after upgrading from 4.3 to 4.5 on a
XenServer hypervisor setup. The resource path has changed for xenserver resources in 4.5. On an upgraded setup the db entries in host table for the resource path needs to be updated. Made a fix in the upgrade script.
1 parent 7e6ec2c commit a782495

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

setup/db/db/schema-441to450.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,3 +754,4 @@ ALTER TABLE `cloud_usage`.`usage_vpn_user` CHANGE `user_name` `user_name` VARCHA
754754
--Increase key value size generated from RSA-8192 to be stored.
755755
ALTER TABLE `cloud`.`user_vm_details` MODIFY `value` VARCHAR(5120);
756756

757+
UPDATE `cloud`.`host` SET resource = REPLACE(resource, 'com.cloud.hypervisor.xen.resource', 'com.cloud.hypervisor.xenserver.resource') WHERE hypervisor_type='XenServer' AND REMOVED IS NULL;

0 commit comments

Comments
 (0)