You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "edison su (JIRA)" <ji...@apache.org> on 2014/11/24 23:30:14 UTC
[jira] [Created] (CLOUDSTACK-7966) Storage cleanup thread does not
delete the entries from snapshot_store_ref with store role Primary
edison su created CLOUDSTACK-7966:
-------------------------------------
Summary: 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)