[
https://issues.apache.org/jira/browse/CLOUDSTACK-9572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15611660#comment-15611660
]
ASF GitHub Bot commented on CLOUDSTACK-9572:
--------------------------------------------
GitHub user yvsubhash opened a pull request:
https://github.com/apache/cloudstack/pull/1740
CLOUDSTACK-9572 Snapshot on primary storage not cleaned up after Stor…
Snapshot on primary storage not cleaned up after Storage migration. This
happens in the following two scenarios
Live Migration Case
--------------------
1. Create an instance on the local storage on any host
2. Create a scheduled snapshot of the volume:
3. Wait until ACS created the snapshot. ACS is creating a snapshot on local
storage and is transferring this snapshot to secondary storage. But the latest
snapshot on local storage will stay there. This is as expected.
4. Migrate the instance to another XenServer host with ACS UI and Storage
Live Migration
5. The Snapshot on the old host on local storage will not be cleaned up and
is staying on local storage. So local storage will fill up with unneeded
snapshots.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yvsubhash/cloudstack CLOUDSTACK-9572
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1740.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1740
----
commit 66391617d0fd3f404719c7f675eef5be7ee4ee2f
Author: subhash yedugundla <[email protected]>
Date: 2016-09-12T13:29:53Z
CLOUDSTACK-9572 Snapshot on primary storage not cleaned up after Storage
migration
----
> Snapshot on primary storage not cleaned up after Storage migration
> ------------------------------------------------------------------
>
> Key: CLOUDSTACK-9572
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9572
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Storage Controller
> Affects Versions: 4.8.0
> Environment: Xen Server
> Reporter: subhash yedugundla
> Fix For: 4.8.1
>
>
> Issue Description
> ===============
> 1. Create an instance on the local storage on any host
> 2. Create a scheduled snapshot of the volume:
> 3. Wait until ACS created the snapshot. ACS is creating a snapshot on local
> storage and is transferring this snapshot to secondary storage. But the
> latest snapshot on local storage will stay there. This is as expected.
> 4. Migrate the instance to another XenServer host with ACS UI and Storage
> Live Migration
> 5. The Snapshot on the old host on local storage will not be cleaned up and
> is staying on local storage. So local storage will fill up with unneeded
> snapshots.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)