You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by de...@apache.org on 2014/11/14 09:39:08 UTC

git commit: updated refs/heads/4.5 to a782495

Repository: cloudstack
Updated Branches:
  refs/heads/4.5 7e6ec2ce8 -> a782495c6


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.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a782495c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a782495c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a782495c

Branch: refs/heads/4.5
Commit: a782495c68c2b27dff2d659ec87a0ec90c9ceb02
Parents: 7e6ec2c
Author: Devdeep Singh <de...@gmail.com>
Authored: Mon Nov 3 15:42:24 2014 +0530
Committer: Devdeep Singh <de...@gmail.com>
Committed: Fri Nov 14 14:10:36 2014 +0530

----------------------------------------------------------------------
 setup/db/db/schema-441to450.sql | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a782495c/setup/db/db/schema-441to450.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-441to450.sql b/setup/db/db/schema-441to450.sql
index 1f0e226..ca915ed 100644
--- a/setup/db/db/schema-441to450.sql
+++ b/setup/db/db/schema-441to450.sql
@@ -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;