Hi Aung Ye Kyaw, Looking at the error message, it seems like that either volume or datastore is not accessible
! java.io.IOException: Server returned HTTP response code: 500 for URL: https://prod-vcenter-server.local/folder/i-5-7-VM%2F655417d91606473eaa2e3d70074f9a56.vmdk?dcPath=YGN-DC01&dsName=wl01-vsan-ds01 Directly from the vCenter do you able to locate that volume on that datastore ? can you check if it exists in “fcd” folder on the datastore ? Regards, Harikrishna From: Aung Ye Kyaw <[email protected]> Date: Tuesday, 18 November 2025 at 1:55 PM To: [email protected] <[email protected]> Subject: Data volume cannot be attached instance provisioned in vSphere vSAN 8 Cluster *Hello Everyone,* *Good day to you !!!!* I am currently facing an issue where a volume cannot be attached to an instance, and I am seeing the following error logs (attached below). I have tested this with multiple CloudStack versions from *4.20.1.0 up to 4.22.0.0*, and the same error occurs in all versions. My environment is *vSphere 8.0.3.0* running on a *vSAN cluster*. Could anyone please help or advise on how to resolve this issue? Thank you. 2025-11-18 13:34:45,285 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-378:[ctx-54c354db, vhost01-r7525-wl01.1cloudng.com, job-69/job-70, cmd: AttachCommand]) (logid:36979aa0) Failed to attach volume! java.io.IOException: Server returned HTTP response code: 500 for URL: https://prod-vcenter-server.local/folder/i-5-7-VM%2F655417d91606473eaa2e3d70074f9a56.vmdk?dcPath=YGN-DC01&dsName=wl01-vsan-ds01 2025-11-18 13:34:45,296 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-4:[ctx-67641e5e, job-69/job-70, ctx-67cd1a6c]) (logid:36979aa0) Invocation exception, caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to attach volume test-vol-1 to VM test-instance-01 2025-11-18 13:34:45,296 INFO [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-4:[ctx-67641e5e, job-69/job-70, ctx-67cd1a6c]) (logid:36979aa0) Rethrow exception com.cloud.utils.exception.CloudRuntimeException: Failed to attach volume test-vol-1 to VM test-instance-01 2025-11-18 13:34:45,296 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-4:[ctx-67641e5e, job-69/job-70]) (logid:36979aa0) Unable to complete AsyncJob {"accountId":5,"cmd":"com.cloud.vm.VmWorkAttachVolume","cmdInfo":"rO0ABXNyAB9jb20uY2xvdWQudm0uVm1Xb3JrQXR0YWNoVm9sdW1lB62v-WGH4hwCAAJMAAhkZXZpY2VJZHQAEExqYXZhL2xhbmcvTG9uZztMAAh2b2x1bWVJZHEAfgABeHIAE2NvbS5jbG91ZC52bS5WbVdvcmufmbZW8CVnawIABEoACWFjY291bnRJZEoABnVzZXJJZEoABHZtSWRMAAtoYW5kbGVyTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO3hwAAAAAAAAAAUAAAAAAAAABQAAAAAAAAAHdAAUVm9sdW1lQXBpU2VydmljZUltcGxwc3IADmphdmEubGFuZy5Mb25nO4vkkMyPI98CAAFKAAV2YWx1ZXhyABBqYXZhLmxhbmcuTnVtYmVyhqyVHQuU4IsCAAB4cAAAAAAAAAAJ","cmdVersion":0,"completeMsid":null,"created":"Tue Nov 18 13:34:04 MMT 2025","id":70,"initMsid":345052099831,"instanceId":null,"instanceType":null,"lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":5,"uuid":"7ec49864-4353-4920-b616-7984b947eb33"}, job origin: 69 com.cloud.utils.exception.CloudRuntimeException: Failed to attach volume test-vol-1 to VM test-instance-01 2025-11-18 13:34:45,320 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-10:[ctx-6e44b796, job-69]) (logid:36979aa0) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd com.cloud.utils.exception.CloudRuntimeException: Failed to attach volume test-vol-1 to VM test-instance-01 *Best regards,*
