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.
This commit is contained in:
Devdeep Singh 2014-11-03 15:42:24 +05:30
parent 7e6ec2ce82
commit a782495c68

View File

@ -754,3 +754,4 @@ ALTER TABLE `cloud_usage`.`usage_vpn_user` CHANGE `user_name` `user_name` VARCHA
--Increase key value size generated from RSA-8192 to be stored.
ALTER TABLE `cloud`.`user_vm_details` MODIFY `value` VARCHAR(5120);
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;