Updated Branches:
  refs/heads/4.2 df1756b61 -> e9367f167

CLOUDSTACK-4035: set uuid for autoscale related tables as a part of the upgrade 
(was null on the previous versions of the code)


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

Branch: refs/heads/4.2
Commit: e9367f167e195837b2f4de60b9691749c228d0c0
Parents: df1756b
Author: Alena Prokharchyk <[email protected]>
Authored: Mon Aug 12 09:36:10 2013 -0700
Committer: Alena Prokharchyk <[email protected]>
Committed: Mon Aug 12 09:36:10 2013 -0700

----------------------------------------------------------------------
 setup/db/db/schema-412to420.sql | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e9367f16/setup/db/db/schema-412to420.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-412to420.sql b/setup/db/db/schema-412to420.sql
index 71bd5a9..dc5d02a 100644
--- a/setup/db/db/schema-412to420.sql
+++ b/setup/db/db/schema-412to420.sql
@@ -2306,3 +2306,10 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES 
('Snapshots', 'DEFAULT', 'Snap
 DELETE FROM `cloud`.`configuration` where name='vmware.guest.vswitch';
 DELETE FROM `cloud`.`configuration` where name='vmware.private.vswitch';
 DELETE FROM `cloud`.`configuration` where name='vmware.public.vswitch';
+
+
+UPDATE `cloud`.`autoscale_vmgroups` set uuid=id WHERE uuid is NULL;
+UPDATE `cloud`.`autoscale_vmprofiles` set uuid=id WHERE uuid is NULL;
+UPDATE `cloud`.`autoscale_policies` set uuid=id WHERE uuid is NULL;
+UPDATE `cloud`.`counter` set uuid=id WHERE uuid is NULL;
+UPDATE `cloud`.`conditions` set uuid=id WHERE uuid is NULL;

Reply via email to