mirror of https://github.com/apache/cloudstack.git
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:
parent
08ac8fb468
commit
a688d63104
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue