cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject git commit: updated refs/heads/4.2 to ecd2a27
Date Thu, 11 Jul 2013 05:40:11 GMT
Updated Branches:
  refs/heads/4.2 b5cf3510e -> ecd2a273c


fix db upgrade
(cherry picked from commit 7eb3d49e8e0a9b247ea974cad744803420982eda)


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

Branch: refs/heads/4.2
Commit: ecd2a273cbf21ec7388afdc1cbeda35aa421bd1a
Parents: b5cf351
Author: Edison Su <sudison@gmail.com>
Authored: Wed Jul 10 14:50:51 2013 -0700
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Thu Jul 11 11:07:58 2013 +0530

----------------------------------------------------------------------
 setup/db/db/schema-410to420.sql | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ecd2a273/setup/db/db/schema-410to420.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql
index 2c49cb9..1e9c201 100644
--- a/setup/db/db/schema-410to420.sql
+++ b/setup/db/db/schema-410to420.sql
@@ -36,6 +36,9 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT',
'manage
 INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 'management-server',
'midonet.providerrouter.id', 'd7c5e6a3-e2f4-426b-b728-b7ce6a0448e5', 'Specifies the UUID of
the Midonet provider router (if using Midonet)');
 ALTER TABLE `cloud`.`load_balancer_vm_map` ADD state VARCHAR(40) NULL COMMENT 'service status
updated by LB healthcheck manager';
 
+ALTER TABLE `cloud`.`vm_template` ADD COLUMN `dynamically_scalable` tinyint(1) unsigned NOT
NULL DEFAULT 0  COMMENT 'true if template contains XS/VMWare tools inorder to support dynamic
scaling of VM cpu/memory';
+UPDATE `cloud`.`vm_template` SET dynamically_scalable = 1 WHERE name = "CentOS 5.6(64-bit)
no GUI (XenServer)" AND type = "BUILTIN";
+
 alter table storage_pool add hypervisor varchar(32);
 alter table storage_pool change storage_provider_id storage_provider_name varchar(255);
 alter table storage_pool change available_bytes used_bytes bigint unsigned;
@@ -2155,8 +2158,6 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT',
'manag
 
 INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server',
'direct.agent.scan.interval', 90, 'Time interval (in seconds) to run the direct agent scan
task.');
 
-ALTER TABLE `cloud`.`vm_template` ADD COLUMN `dynamically_scalable` tinyint(1) unsigned NOT
NULL DEFAULT 0  COMMENT 'true if template contains XS/VMWare tools inorder to support dynamic
scaling of VM cpu/memory';
-UPDATE `cloud`.`vm_template` SET dynamically_scalable = 1 WHERE name = "CentOS 5.6(64-bit)
no GUI (XenServer)" AND type = "BUILTIN";
 
 INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server',
'external.baremetal.system.url', null, 'url of external baremetal system that CloudStack will
talk to');
 INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server',
'external.baremetal.resource.classname', null, 'class name for handling external baremetal
resource');


Mime
View raw message