cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edison su (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-7966) Storage cleanup thread does not delete the entries from snapshot_store_ref with store role Primary
Date Mon, 24 Nov 2014 22:31:12 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-7966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

edison su resolved CLOUDSTACK-7966.
-----------------------------------
    Resolution: Fixed

4e5b3d028dc990f27484b79db67926c4371715ac on master

> Storage cleanup thread does not delete the entries from snapshot_store_ref with store
role Primary
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7966
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7966
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: edison su
>            Assignee: edison su
>             Fix For: 4.5.0
>
>
> Storage cleanup thread does not delete the entries from snapshot_store_ref with store
role Primary even after deleting the snapshots
> Steps to reproduce:
> ================
> 1.Bring up CS in advanced zone with xen/vmware cluster
> 2.Deploy few guest vms using default cent os template
> 3.Create snapshots on all the root volumes of the vms created above
> 4.Verify snapshot_store_ref table entries. For each snapshot there would be two entries
one with store role Primary and another one with Secondary
> 5.Delete all the snapshots and wait for the storage cleanup thread to run
> Expected Behavior:
> ================
> When we destroy snapshots all the snapshot entries should be removed from snapshot_store_ref
table.
> Actual Behavior:
> =============
> After deleting snapshots all the snapshot states are marked as Destroyed in both snapshot_store_ref
and snapshots (status field) table. This is expected. However when the storage cleanup thread
runs it is not deleting the entries from snapshot_store_ref table with store_role primary.
It is only marking removed column in snapshots table and deleting entries from snapshot_store_ref
table with store_role Image.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message