rajujith opened a new issue, #8747:
URL: https://github.com/apache/cloudstack/issues/8747

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   VMware, Migration
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.17.2
   ~~~
   
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   VMware vSphere 7.0.3
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   On failure to start a VM on a cluster cloudstack attempts to migrate the 
volume and it is not handling the ERROR from vCenter properly and deletes the 
source volume. 
   
   ```
   2024-03-01 16:42:25,106 ERROR [c.c.h.v.r.VmwareResource] 
(DirectAgent-85:ctx-4892dce2 10.48.5.154, job-321733/job-321735, cmd: 
MigrateVolumeCommand) (logid:d44f6d79) Catch Exception 
java.lang.NullPointerException due to java.lang.NullPointerException
   java.lang.NullPointerException
           at 
com.cloud.hypervisor.vmware.resource.VmwareResource.appendFileType(VmwareResource.java:2972)
           at 
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:4937)
           at 
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:510)
           at 
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
           at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
    
   2024-03-01 16:42:25,109 DEBUG [o.a.c.s.m.VmwareStorageMotionStrategy] 
(Work-Job-Executor-72:ctx-03206dff job-321733/job-321735 ctx-80e4ae4d) 
(logid:d44f6d79) retrieved 'null' as new path for volume(20763)
    
   2024-03-01 16:42:25,203 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(Work-Job-Executor-72:ctx-03206dff job-321733/job-321735 ctx-80e4ae4d) 
(logid:d44f6d79) Cleaning up 
{"name":"ROOT-10728","uuid":"a79915c0-f2fb-4326-a6ba-c2827fe71bd8"} on storage 
[110].
   
   ```
   <!-- You can also paste gist.github.com links for larger files -->
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to