mirror of https://github.com/apache/cloudstack.git
Bug 13842 Mark the snapshots that belong to a removed secondary storage as removed.
Reviewed-By: Nitin Status 13842: resolved fixed
This commit is contained in:
parent
3ced403a88
commit
24b4007149
|
|
@ -19,4 +19,6 @@
|
|||
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Project Defaults', 'DEFAULT', 'management-server', 'max.project.networks', '20', 'The default maximum number of networks that can be created for a project');
|
||||
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Account Defaults', 'DEFAULT', 'management-server', 'max.account.networks', '20', 'The default maximum number of networks that can be created for an account');
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Account Defaults', 'DEFAULT', 'management-server', 'max.account.networks', '20', 'The default maximum number of networks that can be created for an account');
|
||||
|
||||
UPDATE snapshots SET removed=now() WHERE removed IS NULL AND sechost_id IN (SELECT id FROM host WHERE type='SecondaryStorage' AND removed IS NOT NULL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue