Rajesh Battala created CLOUDSTACK-3037:
------------------------------------------

             Summary: [UI] [Snapshot] deletion of Allocated snapshot is showing 
successful in UI, but server is failing to delete it
                 Key: CLOUDSTACK-3037
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3037
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Snapshot, UI
    Affects Versions: 4.1.1, 4.2.0
            Reporter: Rajesh Battala
            Priority: Critical
             Fix For: 4.1.1, 4.2.0


In UI, 
Try to delete the "Allocated" snapshot. 
UI show snapshot is deleted, But server throws the exception properly. 



ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-3:job-40) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.user.snapshot.DeleteSnapshotCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to delete 
snapshot:com.cloud.exception.InvalidParameterValueException: Can't delete 
snapshotshot 4 due to it is not in BackedUp Status
        at 
com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshot(SnapshotManagerImpl.java:543)
        at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at 
org.apache.cloudstack.api.command.user.snapshot.DeleteSnapshotCmd.execute(DeleteSnapshotCmd.java:96)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
        at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)

After refreshing the page, "listsnapshot" is getting called and then showing 
the snapshot.

--
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

Reply via email to