cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9200) Account Resources fail to get cleaned up if a snapshot is in Allocated State
Date Thu, 13 Apr 2017 22:28:41 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-9200:
--------------------------------------------

Github user Slair1 commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1282#discussion_r111500346
  
    --- Diff: engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/XenserverSnapshotStrategy.java
---
    @@ -245,6 +245,12 @@ public boolean deleteSnapshot(Long snapshotId) {
                 return true;
             }
     
    +        if(snapshotVO.getState() == Snapshot.State.Allocated) {
    --- End diff --
    
    @rhtyd , you're right, this change has since already been merged by PR #977.  


> Account Resources fail to get cleaned up if a snapshot is in Allocated State
> ----------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9200
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9200
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Anshul Gangwar
>            Assignee: Anshul Gangwar
>
> If a snapshot ( Volume ) is in Allocated state (snapshots table), and if we delete the
account associated with that account, it is removed from UI but the account resources (snapshots
and virtual machines) are not cleaned up because of the failure to delete the snapshot which
is in Allocated state.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message