CLOUDSTACK-3609: ASF 4.1 to 4.2 Upgrade: Invalid Global Configuration
parameters are present on the Upgraded Setup
Description:
Remove unused global config parameters from database after
upgrade from 4.1.0/4.1.1/4.1.2 to 4.2.0.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0185c2f4
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0185c2f4
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0185c2f4
Branch: refs/heads/4.2
Commit: 0185c2f47b5a0f9194f6fa2754d8a6aa2dd27ef0
Parents: d47b4a9
Author: Vijayendra Bhamidipati <[email protected]>
Authored: Wed Aug 7 10:45:34 2013 -0700
Committer: Vijayendra <[email protected]>
Committed: Fri Aug 9 18:24:10 2013 -0700
----------------------------------------------------------------------
setup/db/db/schema-412to420.sql | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0185c2f4/setup/db/db/schema-412to420.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-412to420.sql b/setup/db/db/schema-412to420.sql
index cbd4fac..f00ee22 100644
--- a/setup/db/db/schema-412to420.sql
+++ b/setup/db/db/schema-412to420.sql
@@ -2289,3 +2289,7 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES
('Advanced', 'DEFAULT', 'manag
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Snapshots', 'DEFAULT',
'SnapshotManager', 'kvm.snapshot.enabled', 'false', 'whether snapshot is
enabled for KVM hosts');
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT',
'management-server', 'eip.use.multiple.netscalers', 'false', 'Should be set to
true, if there will be multiple NetScaler devices providing EIP service in a
zone');
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Snapshots', 'DEFAULT',
'SnapshotManager', 'snapshot.backup.rightafter', 'true', 'backup snapshot right
after snapshot is taken');
+
+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';