[
https://issues.apache.org/jira/browse/CLOUDSTACK-9200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15262310#comment-15262310
]
ASF GitHub Bot commented on CLOUDSTACK-9200:
--------------------------------------------
Github user swill commented on the pull request:
https://github.com/apache/cloudstack/pull/1282#issuecomment-215460320
@anshul1886 I see in some other places in that file when
`snapshotDao.remove(snapshotId);` is called there is a `return true` right
after it. Can you help me understand why we would or would not do that in this
case? Thanks...
> 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.4#6332)