mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
7e6ec2ce82
commit
a782495c68
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user