Skip to content

Commit 37972a2

Browse files
author
Alena Prokharchyk
committed
CLOUDSTACK-4035: set uuid for autoscale related tables as a part of the upgrade (was null on the previous versions of the code)
Conflicts: setup/db/db/schema-410to420.sql
1 parent 8d53887 commit 37972a2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎setup/db/db/schema-410to420.sql‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2286,3 +2286,14 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'manag
22862286
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Snapshots', 'DEFAULT', 'SnapshotManager', 'kvm.snapshot.enabled', 'false', 'whether snapshot is enabled for KVM hosts');
22872287
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');
22882288
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Snapshots', 'DEFAULT', 'SnapshotManager', 'snapshot.backup.rightafter', 'true', 'backup snapshot right after snapshot is taken');
2289+
2290+
DELETE FROM `cloud`.`configuration` where name='vmware.guest.vswitch';
2291+
DELETE FROM `cloud`.`configuration` where name='vmware.private.vswitch';
2292+
DELETE FROM `cloud`.`configuration` where name='vmware.public.vswitch';
2293+
2294+
2295+
UPDATE `cloud`.`autoscale_vmgroups` set uuid=id WHERE uuid is NULL;
2296+
UPDATE `cloud`.`autoscale_vmprofiles` set uuid=id WHERE uuid is NULL;
2297+
UPDATE `cloud`.`autoscale_policies` set uuid=id WHERE uuid is NULL;
2298+
UPDATE `cloud`.`counter` set uuid=id WHERE uuid is NULL;
2299+
UPDATE `cloud`.`conditions` set uuid=id WHERE uuid is NULL;

0 commit comments

Comments
 (0)