GitHub user prashanthr2 added a comment to the discussion: I cannot delete 
Volumes from CloudStack.

@w1a2n3o4 From the logs I can see that cloudstack has sent the VDI destroy 
command to the XCP-ng host "xcp-sr246-u0708.aisrp.local". However this has 
failed on the host with the errors seen below.

As a next step, please check the host logs xensource.log , SMlog to see why 
this is failing.


_2025-12-10 17:01:13,937 DEBUG [c.c.a.t.Request] 
(API-Job-Executor-77:[ctx-d9412154, job-124772, ctx-2f5d6959]) (logid:599b0554) 
Seq 77360-5547027366036914016: Executing:  { Cmd , MgmtId: 108597816265214, 
via: 77360(**xcp-sr246-u0708.aisrp.local**), Ver: v1, Flags: 100011, 
[{"org.apache.cloudstack.storage.command.DeleteCommand":{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"0cac74bc-7664-4ee9-aca9-43184ce317e9","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"SR2410_U10_DM7100F_21","name":"cluster5-SR2410_U10_DM7100F_21","id":"71","poolType":"PreSetup","host":"localhost","path":"/SR2410_U10_DM7100F_21","port":"0","url":"PreSetup://localhost/SR2410_U10_DM7100F_21/?ROLE=Primary&STOREUUID=SR2410_U10_DM7100F_21","isManaged":"false"}},"name":"ROOT-6893","size":"(1000.00
 GB) 
1073741824000","path":"893dbeb2-074a-4cee-b7f0-98516f9df125","volumeId":"8174","vmName":"i-335-6893-VM","accountId":"335","format":"VHD","provisioning
 
Type":"THIN","poolId":"71","id":"8174","deviceId":"0","cacheMode":"NONE","hypervisorType":"XenServer","directDownload":"false","deployAsIs":"false","checkpointPaths":[],"checkpointImageStoreUrls":[],"followRedirects":"true"}},"wait":"0","bypassHostMaintenance":"false"}}]
 }_

_2025-12-10 17:01:13,937 DEBUG [c.c.s.r.StorageSubsystemCommandHandlerBase] 
(DirectAgent-500:[ctx-bbff2f26]) (logid:599b0554) Executing command 
**DeleteCommand**: 
[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"0cac74bc-7664-4ee9-aca9-43184ce317e9","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"SR2410_U10_DM7100F_21","name":"cluster5-SR2410_U10_DM7100F_21","id":71,"poolType":"PreSetup","host":"localhost","path":"/SR2410_U10_DM7100F_21","port":0,"url":"PreSetup://localhost/SR2410_U10_DM7100F_21/?ROLE=Primary&STOREUUID=SR2410_U10_DM7100F_21","isManaged":false}},"name":"ROOT-6893","size":1073741824000,"path":"893dbeb2-074a-4cee-b7f0-98516f9df125","volumeId":8174,"vmName":"i-335-6893-VM","accountId":335,"format":"VHD","provisioningType":"THIN","poolId":71,"id":8174,"deviceId":0,"cacheMode":"NONE","hypervisorType":"XenServer","directDownload":false,"deployAsIs":false,"checkpointPaths":[],"checkpointImageStoreUrls":[],"f
 ollowRedirects":true}},"wait":0,"bypassHostMaintenance":false}].

2025-12-10 17:02:44,019 DEBUG [c.c.h.x.r.XenServerConnectionPool] 
(DirectAgent-500:[ctx-bbff2f26]) (logid:599b0554) **XmlRpcException for method: 
VDI.destroy due to org.apache.xmlrpc.XmlRpcException: Failed to create input 
stream: Read timed out**

2025-12-10 17:02:44,019 DEBUG [c.c.h.x.r.Xenserver625StorageProcessor] 
(DirectAgent-500:[ctx-bbff2f26]) (logid:599b0554) Failed to delete volume 
org.apache.xmlrpc.XmlRpcException: Failed to create input stream: Read timed 
out_




GitHub link: 
https://github.com/apache/cloudstack/discussions/12236#discussioncomment-15229218

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to