CLOUDSTACK-2689

Create volume after upgrade from snapshot taken in 2.2.14 deletes the snapshot physically from sec. storage. Added DB upgrade sql to make swift_id NULL if they are set to 0
This commit is contained in:
Nitin Mehta 2013-05-27 14:16:16 +05:30
parent 08ac8fb468
commit a688d63104
1 changed files with 2 additions and 0 deletions

View File

@ -1709,6 +1709,8 @@ update `cloud`.`vpc_gateways` set network_acl_id = 2;
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'VpcManager', 'blacklisted.routes', NULL, 'Routes that are blacklisted, can not be used for Static Routes creation for the VPC Private Gateway');
UPDATE `cloud`.`snapshots` set swift_id=null where swift_id=0;
-- Re-enable foreign key checking, at the end of the upgrade path
SET foreign_key_checks = 1;