rp- commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3209256862

   ```
   2025-08-21 06:56:18,117 DEBUG [c.c.a.ApiServer] 
(qtp1438988851-18:[ctx-7efce117, ctx-b0128148]) (logid:619c3a5e) Retrieved 
cmdEventType from job info: VOLUME.CREATE
   2025-08-21 06:56:18,118 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-82:[ctx-aa54f249, job-170]) (logid:1c225a39) Add job-170 into 
job monitoring
   2025-08-21 06:56:18,119 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(qtp1438988851-18:[ctx-7efce117, ctx-b0128148]) (logid:619c3a5e) submit async 
job-170, details: AsyncJob 
{"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin","cmdInfo":"{\"snapshotid\":\"ffd6b8a4-18ec-4e0c-b437-f41353a49d42\",\"sessionkey\":\"6m0yzvxJKeK7qzZvnst3VAYZZSo\",\"httpmethod\":\"POST\",\"ctxAccountId\":\"2\",\"uuid\":\"7b333b33-4c91-42f3-bd0b-6455d8b75360\",\"domainid\":\"563b4c50-7dfd-11f0-a9b9-525400000078\",\"cmdEventType\":\"VOLUME.CREATE\",\"response\":\"json\",\"ctxUserId\":\"2\",\"name\":\"fsdf\",\"zoneid\":\"45e225f9-894b-4e0f-8aef-f576f117052f\",\"ctxStartEventId\":\"393\",\"id\":\"18\",\"ctxDetails\":\"{\\\"interface
 
com.cloud.storage.Snapshot\\\":\\\"ffd6b8a4-18ec-4e0c-b437-f41353a49d42\\\",\\\"interface
 
com.cloud.dc.DataCenter\\\":\\\"45e225f9-894b-4e0f-8aef-f576f117052f\\\",\\\"interface
 com.cloud.domain.Domain\\\":\\\"563b4c50-7dfd-11f0-a9b9-525400000078\
 \\",\\\"interface 
com.cloud.storage.Volume\\\":\\\"7b333b33-4c91-42f3-bd0b-6455d8b75360\\\"}\",\"account\":\"admin\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":170,"initMsid":90520730730616,"instanceId":18,"instanceType":"Volume","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"641fbb02-a925-444a-b49b-b75a27e35705"}
   2025-08-21 06:56:18,119 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] 
(API-Job-Executor-82:[ctx-aa54f249, job-170]) (logid:641fbb02) Executing 
AsyncJob 
{"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin","cmdInfo":"{\"snapshotid\":\"ffd6b8a4-18ec-4e0c-b437-f41353a49d42\",\"sessionkey\":\"6m0yzvxJKeK7qzZvnst3VAYZZSo\",\"httpmethod\":\"POST\",\"ctxAccountId\":\"2\",\"uuid\":\"7b333b33-4c91-42f3-bd0b-6455d8b75360\",\"domainid\":\"563b4c50-7dfd-11f0-a9b9-525400000078\",\"cmdEventType\":\"VOLUME.CREATE\",\"response\":\"json\",\"ctxUserId\":\"2\",\"name\":\"fsdf\",\"zoneid\":\"45e225f9-894b-4e0f-8aef-f576f117052f\",\"ctxStartEventId\":\"393\",\"id\":\"18\",\"ctxDetails\":\"{\\\"interface
 
com.cloud.storage.Snapshot\\\":\\\"ffd6b8a4-18ec-4e0c-b437-f41353a49d42\\\",\\\"interface
 
com.cloud.dc.DataCenter\\\":\\\"45e225f9-894b-4e0f-8aef-f576f117052f\\\",\\\"interface
 
com.cloud.domain.Domain\\\":\\\"563b4c50-7dfd-11f0-a9b9-525400000078\\\",\\\"interface
 com
 
.cloud.storage.Volume\\\":\\\"7b333b33-4c91-42f3-bd0b-6455d8b75360\\\"}\",\"account\":\"admin\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":170,"initMsid":90520730730616,"instanceId":18,"instanceType":"Volume","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"641fbb02-a925-444a-b49b-b75a27e35705"}
   2025-08-21 06:56:18,120 DEBUG [c.c.a.ApiServlet] 
(qtp1438988851-18:[ctx-7efce117, ctx-b0128148]) (logid:619c3a5e) ===END===  
192.168.125.1 -- POST  
   command=createVolume 
   response=json 
   zoneid=45e225f9-894b-4e0f-8aef-f576f117052f 
   name=fsdf 
   snapshotid=ffd6b8a4-18ec-4e0c-b437-f41353a49d42 
   domainid=563b4c50-7dfd-11f0-a9b9-525400000078 
   account=admin 
   sessionkey=6m0yzvxJKeK7qzZvnst3VAYZZSo 
   
   2025-08-21 06:56:18,126 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
LocalStoragePoolAllocator is returning null since the disk profile does not use 
local storage and bypassStorageTypeCheck is false.
   2025-08-21 06:56:18,126 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Could not find any available Storage Pool using Storage Pool Allocator 
[LocalStoragePoolAllocator].
   2025-08-21 06:56:18,126 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Looking for pools in dc [1], pod [1] and cluster [null]. Disabled pools will be 
ignored.
   2025-08-21 06:56:18,127 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Found pools [[StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}]]
 that match with tags [[]].
   2025-08-21 06:56:18,128 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Checking if storage pool [StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}]
 is suitable to disk [DskChr[DATADISK|8589934592|]].
   2025-08-21 06:56:18,128 DEBUG [c.c.s.StorageManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Volume [Volume 
{"id":18,"instanceId":null,"name":"fsdf","uuid":"7b333b33-4c91-42f3-bd0b-6455d8b75360","volumeType":"DATADISK"}]
 is not allocated to any pool. Cannot check compatibility with pool 
[StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}].
   2025-08-21 06:56:18,128 INFO  [c.c.s.StorageManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Storage pool StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}
 does not supply IOPS capacity, assuming enough capacity
   2025-08-21 06:56:18,129 DEBUG [c.c.s.StorageManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Checking pool StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}
 for storage, totalSize: 257182138368, usedBytes: 9224268800, usedPct: 
0.035866677439321475, disable threshold: 0.85
   2025-08-21 06:56:18,129 DEBUG [c.c.s.StorageManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Destination pool: StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}
   2025-08-21 06:56:18,131 DEBUG [c.c.a.ApiServlet] 
(qtp1438988851-23:[ctx-080d1748]) (logid:3f42bd99) ===START===  192.168.125.1 
-- GET  
jobId=641fbb02-a925-444a-b49b-b75a27e35705&command=queryAsyncJobResult&response=json&
   2025-08-21 06:56:18,132 DEBUG [c.c.a.ApiServlet] 
(qtp1438988851-23:[ctx-080d1748]) (logid:3f42bd99) Two factor authentication is 
already verified for the user 2, so skipping
   2025-08-21 06:56:18,133 DEBUG [c.c.a.ApiServer] 
(qtp1438988851-23:[ctx-080d1748, ctx-ff7b89bc]) (logid:3f42bd99) CIDRs from 
which account 'Account 
[{"accountName":"admin","id":2,"uuid":"8167e0a7-7dfd-11f0-a9b9-525400000078"}]' 
is allowed to perform API calls: 0.0.0.0/0,::/0
   2025-08-21 06:56:18,134 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] 
(qtp1438988851-23:[ctx-080d1748, ctx-ff7b89bc]) (logid:3f42bd99) Account for 
user id 8168499c-7dfd-11f0-a9b9-525400000078 is Root Admin or Domain Admin, all 
APIs are allowed.
   2025-08-21 06:56:18,134 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] 
(qtp1438988851-23:[ctx-080d1748, ctx-ff7b89bc]) (logid:3f42bd99) RoleService is 
enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2025-08-21 06:56:18,134 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] 
(qtp1438988851-23:[ctx-080d1748, ctx-ff7b89bc]) (logid:3f42bd99) API rate 
limiting is disabled. We will not use ApiRateLimitService.
   2025-08-21 06:56:18,136 DEBUG [c.c.s.StorageManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Pool ID for the volume Volume 
{"id":18,"instanceId":null,"name":"fsdf","uuid":"7b333b33-4c91-42f3-bd0b-6455d8b75360","volumeType":"DATADISK"}
 is null
   2025-08-21 06:56:18,138 DEBUG [c.c.a.ApiServlet] 
(qtp1438988851-23:[ctx-080d1748, ctx-ff7b89bc]) (logid:3f42bd99) ===END===  
192.168.125.1 -- GET  
jobId=641fbb02-a925-444a-b49b-b75a27e35705&command=queryAsyncJobResult&response=json&
   2025-08-21 06:56:18,138 DEBUG [c.c.s.StorageManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Found storage pool StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}
 of type Linstor with overprovisioning factor 2
   2025-08-21 06:56:18,138 DEBUG [c.c.s.StorageManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Total over provisioned capacity calculated is 2 * (239.52 GB) 257182138368
   2025-08-21 06:56:18,138 DEBUG [c.c.s.StorageManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Total capacity of the pool StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}
 is (479.04 GB) 514364276736
   2025-08-21 06:56:18,139 DEBUG [c.c.s.StorageManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Checking pool: StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}
 for storage allocation , maxSize : (479.04 GB) 514364276736, 
totalAllocatedSize : (22.65 GB) 24321341440, askingSize : (8.00 GB) 8589934592, 
allocated disable threshold: 0.85
   2025-08-21 06:56:18,139 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Found suitable cluster storage pool [StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}]
 to allocate disk [DskChr[DATADISK|8589934592|]] to it, adding to list.
   2025-08-21 06:56:18,140 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
ClusterScopeStoragePoolAllocator is returning [1] suitable storage pools 
[[StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}]].
   2025-08-21 06:56:18,140 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Using volume allocation algorithm random to reorder pools.
   2025-08-21 06:56:18,140 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) VM 
[null] does not have a preferred storage pool or it cannot be used. Volume 
Orchestrator will use the available Storage Pool [StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}],
 which was discovered using Storage Pool Allocator 
[ClusterScopeStoragePoolAllocator].
   2025-08-21 06:56:18,140 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Found a suitable pool 
[{"name":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}] to create 
the volume [{"name":"fsdf","uuid":"7b333b33-4c91-42f3-bd0b-6455d8b75360"}] in.
   2025-08-21 06:56:18,142 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Creating volume from snapshot, with dataStore role Primary and on primary 
storage: false
   2025-08-21 06:56:18,144 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Found [0] snapshots [[]] that have checkpoints for volume with id [16].
   2025-08-21 06:56:18,150 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Found [0] snapshots [[]] that have checkpoints for volume with id [18].
   2025-08-21 06:56:18,153 DEBUG 
[o.a.c.s.d.d.LinstorPrimaryDataStoreDriverImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
LinstorPrimaryDataStoreDriverImpl.canCopy: SNAPSHOT -> VOLUME
   2025-08-21 06:56:18,153 DEBUG 
[o.a.c.s.d.d.LinstorPrimaryDataStoreDriverImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
LinstorPrimaryDataStoreDriverImpl.canCopy: SNAPSHOT -> VOLUME
   2025-08-21 06:56:18,153 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
copyAsync inspecting src type SNAPSHOT copyAsync inspecting dest type VOLUME
   2025-08-21 06:56:18,153 DEBUG [o.a.c.s.c.a.StorageCacheRandomAllocator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Can't find staging storage in zone: 1
   2025-08-21 06:56:18,154 ERROR [o.a.c.s.m.AncientDataMotionStrategy] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Failed to create volume from test on pool StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}
 java.lang.NullPointerException: Cannot invoke 
"org.apache.cloudstack.engine.subsystem.api.storage.DataStore.getId()" because 
"store" is null
        at 
org.apache.cloudstack.storage.cache.manager.StorageCacheManagerImpl.createCacheObject(StorageCacheManagerImpl.java:230)
        at 
org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.cacheSnapshotChain(AncientDataMotionStrategy.java:252)
        at 
org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyVolumeFromSnapshot(AncientDataMotionStrategy.java:287)
        at 
org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsync(AncientDataMotionStrategy.java:519)
        at 
org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:88)
        at 
org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:117)
        at 
org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromSnapshot(VolumeServiceImpl.java:1683)
        at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.createVolumeFromSnapshot(VolumeOrchestrator.java:622)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
        at jdk.proxy3/jdk.proxy3.$Proxy257.createVolumeFromSnapshot(Unknown 
Source)
        at 
com.cloud.storage.VolumeApiServiceImpl.createVolumeFromSnapshot(VolumeApiServiceImpl.java:1106)
        at 
com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:1055)
        at 
com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:251)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
        at jdk.proxy3/jdk.proxy3.$Proxy283.createVolume(Unknown Source)
        at 
org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd.execute(CreateVolumeCmd.java:224)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
        at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:689)
        at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:637)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
   
   2025-08-21 06:56:18,155 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
copy failed com.cloud.utils.exception.CloudRuntimeException: Failed to create 
volume from test on pool StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}
        at 
org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyVolumeFromSnapshot(AncientDataMotionStrategy.java:313)
        at 
org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsync(AncientDataMotionStrategy.java:519)
        at 
org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:88)
        at 
org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:117)
        at 
org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromSnapshot(VolumeServiceImpl.java:1683)
        at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.createVolumeFromSnapshot(VolumeOrchestrator.java:622)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
        at jdk.proxy3/jdk.proxy3.$Proxy257.createVolumeFromSnapshot(Unknown 
Source)
        at 
com.cloud.storage.VolumeApiServiceImpl.createVolumeFromSnapshot(VolumeApiServiceImpl.java:1106)
        at 
com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:1055)
        at 
com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:251)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
        at jdk.proxy3/jdk.proxy3.$Proxy283.createVolume(Unknown Source)
        at 
org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd.execute(CreateVolumeCmd.java:224)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
        at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:689)
        at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:637)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
   
   2025-08-21 06:56:18,158 ERROR [o.a.c.e.o.VolumeOrchestrator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Failed to create volume from snapshot 
[{"name":"test","uuid":"ffd6b8a4-18ec-4e0c-b437-f41353a49d42"}] due to 
[com.cloud.utils.exception.CloudRuntimeException: Failed to create volume from 
test on pool StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}].
   2025-08-21 06:56:18,159 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Found [0] snapshots [[]] that have checkpoints for volume with id [18].
   2025-08-21 06:56:18,161 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Updating resource Type = volume count for Account with id = 2 Operation = 
decreasing Amount = 1
   2025-08-21 06:56:18,162 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) 
Updating resource Type = primary_storage count for Account with id = 2 
Operation = decreasing Amount = (8.00 GB) 8589934592
   2025-08-21 06:56:18,166 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-82:[ctx-aa54f249, job-170]) (logid:641fbb02) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin 
com.cloud.utils.exception.CloudRuntimeException: Failed to create volume: 
Volume 
{"id":18,"instanceId":null,"name":"fsdf","uuid":"7b333b33-4c91-42f3-bd0b-6455d8b75360","volumeType":"DATADISK"}
        at 
com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:1083)
        at 
com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:251)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
        at jdk.proxy3/jdk.proxy3.$Proxy283.createVolume(Unknown Source)
        at 
org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd.execute(CreateVolumeCmd.java:224)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
        at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:689)
        at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:637)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
   Caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to create 
volume from snapshot 
[{"name":"test","uuid":"ffd6b8a4-18ec-4e0c-b437-f41353a49d42"}] due to 
[com.cloud.utils.exception.CloudRuntimeException: Failed to create volume from 
test on pool StoragePool 
{"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}].
        at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.createVolumeFromSnapshot(VolumeOrchestrator.java:630)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
        at jdk.proxy3/jdk.proxy3.$Proxy257.createVolumeFromSnapshot(Unknown 
Source)
        at 
com.cloud.storage.VolumeApiServiceImpl.createVolumeFromSnapshot(VolumeApiServiceImpl.java:1106)
        at 
com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:1055)
        ... 29 more
   
   2025-08-21 06:56:18,166 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-82:[ctx-aa54f249, job-170]) (logid:641fbb02) Complete async 
job-170, jobStatus: FAILED, resultCode: 530, result: 
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed
 to create volume: Volume 
{"id":18,"instanceId":null,"name":"fsdf","uuid":"7b333b33-4c91-42f3-bd0b-6455d8b75360","volumeType":"DATADISK"}"}
   ```


-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to