You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Lianping Chen (JIRA)" <ji...@apache.org> on 2013/05/13 12:29:17 UTC

[jira] [Comment Edited] (CLOUDSTACK-2217) Snapshots backups are not deleted according to CleanupSnapshotBackupCommand. Those snapshots backups that should be garbage collected but not get deleted can fill up the secondary storage.

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655891#comment-13655891 ] 

Lianping Chen edited comment on CLOUDSTACK-2217 at 5/13/13 10:28 AM:
---------------------------------------------------------------------

I have fixed this issue in our deployment.  I shared the fix by sending in a pull request for the code changes I made. https://github.com/apache/incubator-cloudstack/pull/3
                
      was (Author: lianping):
    I have fixed this issue in our deployment.  I shared the fix by sending in a pull request for the code changes I made. https://issues.apache.org/jira/browse/CLOUDSTACK-2217.
                  
> Snapshots backups are not deleted according to CleanupSnapshotBackupCommand. Those snapshots backups that should be garbage collected but not get deleted can fill up the secondary storage.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2217
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2217
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.0.0
>         Environment: CloudStack Manager running on CentOS
> Secondary Storage Manager running on CentOS
> Hosts running on CentOS
> KVM
>            Reporter: Lianping Chen
>              Labels: backup, cleanup, snapshot
>
> We are running CloudStack version 4.0.0.20121024012150. We defined a recurring snapshots backup policy to run daily and only keep the most recent 2 backups.
> However, we found that the snapshots backups were not deleted according to this policy. According to the logs, the CleanupSnapshotBackupCommand has been sent by CloudStack manager and the command is received by Secondary Storage VM Agent. The secondary storage does contain backups that are not included in the validBackupUUIDs of CleanupSnapshotBackupCommand. But these backups that are not in the list of validBackupUUIDs still remain in the  file system and get the secondary storage being filled up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira