Rayees Namathponnan created CLOUDSTACK-3046: -----------------------------------------------
Summary: [Automation] Snapshot not getting removed from nfs storage Key: CLOUDSTACK-3046 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3046 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Storage Controller Affects Versions: 4.2.0 Environment: KVM Master build Reporter: Rayees Namathponnan Priority: Blocker Fix For: 4.2.0 Attachments: CLOUDSTACK-3046.rar Steps to reproduce Step 1 : Create advanced zone on kvm, deploy and VM, then create snapshot fom data volume Step 2 : check your nfs storage [root@nfs2 175]# pwd /export/home/rayees/SC_QA_AUTO4/secondary/snapshots/1/2/175 [root@nfs2 175]# ll total 1476468 -rw-r--r-- 1 root root 1510539264 Jun 17 17:13 31494145-c3c2-43fc-bbe2-f87a6b8f5f8b_20130618001003 [root@nfs2 175]# Step 3: Delete the snapshot from MS Expected result Snapshot should be removed from UI also from nfs (in my case /....secondary/snapshots/1/2/175) Actual Result Snapshot removed from UI, but still i can see this in nfs1 location Management server issue delete command, seems its not actually getting removed 2013-06-17 20:10:52,315 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===END=== 10.216.133.100 -- GET command=deleteSnapshot&id=39088f48-965c-4d0f-9712-72fb1fa23935&response=jso n&sessionkey=Qlsn3qydKWiT7WbnS7NBdnTTBnI%3D&_=1371514234464 2013-06-17 20:10:52,321 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-57:job-80) Executing org.apache.cloudstack.api.command.user.snapshot.DeleteSnapshotCmd for job-80 2013-06-17 20:10:52,372 DEBUG [agent.transport.Request] (Job-Executor-57:job-80) Seq 12-779616685: Sending { Cmd , MgmtId: 29066118877352, via: 12, Ver: v1, Flags: 100011, [{"DeleteSna pshotBackupCommand":{"all":false,"primaryStoragePoolNameLabel":"fff90cb5-06dd-33b3-8815-d78c08ca01d9","primaryPool":{"id":1,"uuid":"fff90cb5-06dd-33b3-8815-d78c08ca01d9","host":"10.223. 110.232","path":"/export/home/rayees/SC_QA_AUTO4/primary","port":2049,"type":"NetworkFilesystem"},"snapshotUuid":"/snapshots/1/2/175/31494145-c3c2-43fc-bbe2-f87a6b8f5f8b_20130618001003" ,"secondaryStorageUrl":"nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary","dcId":1,"accountId":2,"volumeId":175,"wait":0}}] } 2013-06-17 20:10:52,620 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-12:null) SeqA 13-549: Processing Seq 13-549: { Cmd , MgmtId: -1, via: 13, Ver: v1, Flags: 11, [{"Co nsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } 2013-06-17 20:10:52,640 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-12:null) SeqA 13-549: Sending Seq 13-549: { Ans: , MgmtId: 29066118877352, via: 13, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] } 2013-06-17 20:10:52,877 DEBUG [agent.transport.Request] (AgentManager-Handler-11:null) Seq 12-779616685: Processing: { Ans: , MgmtId: 29066118877352, via: 12, Ver: v1, Flags: 10, [{"An swer":{"result":true,"details":"success","wait":0}}] } 2013-06-17 20:10:52,877 DEBUG [agent.transport.Request] (Job-Executor-57:job-80) Seq 12-779616685: Received: { Ans: , MgmtId: 29066118877352, via: 12, Ver: v1, Flags: 10, { Answer } } 2013-06-17 20:10:52,877 DEBUG [agent.manager.AgentManagerImpl] (Job-Executor-57:job-80) Details from executing class com.cloud.agent.api.DeleteSnapshotBackupCommand: success 2013-06-17 20:10:52,958 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-57:job-80) Complete async job-80, jobStatus: 1, resultCode: 0, result: org.apache.cloudstack.api.response.S uccessResponse@3cde0b68 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira