shweta agarwal created CLOUDSTACK-4519:
------------------------------------------

             Summary: hitting java.lang.RuntimeException during volume deletion 
of router vm in vmware
                 Key: CLOUDSTACK-4519
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4519
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Upgrade, VMware
    Affects Versions: 4.2.1
            Reporter: shweta agarwal
            Priority: Blocker
             Fix For: 4.2.1
         Attachments: management-server-router.log.tar.gz

did and upgrade on 3.0.4 patch1 to 4.2 .
Having two advance zone
1 with EXI 4.1
second with xen


With vmware zone i stopped router vm
and StorageManager-Scavenger tried to delete volume to rotuer vm and hit 
follwoing exception

MS log snippet : 
2013-08-27 14:11:01,148 ERROR [storage.resource.VmwareStorageProcessor] 
(DirectAgent-28:10.147.40.27) delete volume failed due to Exception: 
java.lang.RuntimeException
Message: Cannot delete file [d9a91dba343e38dcbbe169a3f57fd335] 
r-24-VM/ROOT-24-flat.vmdk

java.lang.RuntimeException: Cannot delete file 
[d9a91dba343e38dcbbe169a3f57fd335] r-24-VM/ROOT-24-flat.vmdk
        at 
com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:378)
        at 
com.cloud.hypervisor.vmware.mo.DatastoreMO.deleteFile(DatastoreMO.java:175)
        at 
com.cloud.storage.resource.VmwareStorageLayoutHelper.deleteVolumeVmdkFiles(VmwareStorageLayoutHelper.java:237)
        at 
com.cloud.storage.resource.VmwareStorageProcessor.deleteVolume(VmwareStorageProcessor.java:1548)
        at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:114)
        at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:53)
        at 
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:561)
        at 
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
        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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)
2013-08-27 14:11:01,149 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-28:null) Seq 5-982581483: Response Received:
2013-08-27 14:11:01,149 DEBUG [agent.transport.Request] (DirectAgent-28:null) 
Seq 5-982581483: Processing:  { Ans: , MgmtId: 7217726095403, via: 5, Ver: v1, 
Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"delete 
volume failed due to Exception: java.lang.RuntimeException\nMessage: Cannot 
delete file [d9a91dba343e38dcbbe169a3f57fd335] 
r-24-VM/ROOT-24-flat.vmdk\n","wait":0}}] }
2013-08-27 14:11:01,150 DEBUG [agent.transport.Request] 
(StorageManager-Scavenger-1:null) Seq 5-982581483: Received:  { Ans: , MgmtId: 
7217726095403, via: 5, Ver: v1, Flags: 10, { Answer } }


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