Done: https://github.com/apache/cloudstack/issues/11451
We recently fixed a bug(#11053) there, so I know this worked recently (at least in 4.19). So something new must have broken this. On Thu, Aug 14, 2025 at 8:39 PM Wei ZHOU <ustcweiz...@gmail.com> wrote: > Hi Rene, > > Can you file an issue on github ? > > Kind regards, > Wei > > On Thu, Aug 14, 2025 at 6:14 PM Rene Peinthor <rene.peint...@linbit.com> > wrote: > > > -1 > > > > Ran the Linstor integration tests and creating a template from a > > snapshot fails (also fails on manual test). > > Here is the exception if that rings any bells: > > > > 2025-08-14 16:08:38,994 DEBUG [c.c.a.t.Request] > > (API-Job-Executor-11:[ctx-38f6d4e7, job-21, ctx-37aa414a]) > (logid:36685271) > > Seq 5-8009933412255137826: Sending { Cmd , MgmtId: 90520730730616, via: > > 5(s-2-VM), Ver: v1, Flags: 100011, > > > > > [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache. > > cloudstack.storage.to > > > .SnapshotObjectTO":{"path":"/dev/mapper/storage-cs--2ab552d2--9ef2--494d--9c1e--df1209ebe970_00000_cs--27ef9239--b408--40a9--9278--85f1dfda4674","volume":{"uuid":"2ab552d2-9ef2-494d-9c1e-df1209ebe970","volumeType":"ROOT","dataStore":{"org. > > apache.cloudstack.storage.to > > > .PrimaryDataStoreTO":{"uuid":"3f90e70b-f6af-4ac9-8df4-5792fc477154","name":"Linstor","id":"1","poolType":"Linstor","host":" > > http://192.168.125.121:3370 > > ","path":"cloudstack","port":"3370","url":"Linstor:// > > > > > http://192.168.125.121:3370/cloudstack/?ROLE=Primary&STOREUUID=3f90e70b-f6af-4ac9-8df4-5792fc477154 > > ","isManaged":"false"}},"name":"ROOT-3","size":"(8.00 > > GB) > > > > > 8589934592","path":"2ab552d2-9ef2-494d-9c1e-df1209ebe970","volumeId":"3","vmName":"i-2-3-VM","accountId":"2","format":"QCOW2","provisioningType":"THIN","poolId":"1","id":"3","deviceId":"0","hypervisorType":"KVM","directDownload":"false","deployAsIs":"false","checkpointPaths":[],"checkpointImageStoreUrls":[],"followRedirects":"false"},"dataStore":{"org.apache. > > cloudstack.storage.to > > > .PrimaryDataStoreTO":{"uuid":"3f90e70b-f6af-4ac9-8df4-5792fc477154","name":"Linstor","id":"1","poolType":"Linstor","host":" > > http://192.168.125.121:3370 > > ","path":"cloudstack","port":"3370","url":"Linstor:// > > > > > http://192.168.125.121:3370/cloudstack/?ROLE=Primary&STOREUUID=3f90e70b-f6af-4ac9-8df4-5792fc477154 > > > > > ","isManaged":"false"}},"kvmIncrementalSnapshot":"false","vmName":"i-2-3-VM","name":"test","hypervisorType":"KVM","id":"1","quiescevm":"false","physicalSize":"0","accountId":"2","followRedirects":"false"}},"destTO":{"org.apache. > > cloudstack.storage.to > > > .TemplateObjectTO":{"path":"template/tmpl/2/202","uuid":"4cc7ad31-624e-49de-b5ca-c071672519f7","id":"202","format":"RAW","accountId":"2","hvm":"true","displayText":"dfasdf","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs:// > > 192.168.125.120/export/secondary > > > ","_role":"Image"}},"name":"202-2-1cf8d6c7-4a47-3dcf-b97f-1b461217902d","hypervisorType":"KVM","bootable":"false","uniqueName":"202-2-1cf8d6c7-4a47-3dcf-b97f-1b461217902d","directDownload":"false","deployAsIs":"false","followRedirects":"false"}},"executeInSequence":"false","options":{},"options2":{},"wait":"10800","bypassHostMaintenance":"false"}}] > > } > > 2025-08-14 16:08:39,040 DEBUG [c.c.a.t.Request] > (AgentManager-Handler-6:[]) > > (logid:) Seq 5-8009933412255137826: Processing: { Ans: , MgmtId: > > 90520730730616, via: 5, Ver: v1, Flags: 10, > > > > > [{"com.cloud.agent.api.UnsupportedAnswer":{"result":"false","details":"Unsupported > > command issued: org.apache.cloudstack.storage.command.CopyCommand. Are > you > > sure you got the right type of > > server?","wait":"0","bypassHostMaintenance":"false"}}] } > > 2025-08-14 16:08:39,040 DEBUG [c.c.a.t.Request] > > (API-Job-Executor-11:[ctx-38f6d4e7, job-21, ctx-37aa414a]) > (logid:36685271) > > Seq 5-8009933412255137826: Received: { Ans: , MgmtId: 90520730730616, > via: > > 5(s-2-VM), Ver: v1, Flags: 10, { UnsupportedAnswer } } > > 2025-08-14 16:08:39,040 WARN [c.c.a.m.ClusteredAgentManagerImpl] > > (API-Job-Executor-11:[ctx-38f6d4e7, job-21, ctx-37aa414a]) > (logid:36685271) > > Unsupported Command: Unsupported command issued: > > org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got > > the right type of server? > > 2025-08-14 16:08:39,046 DEBUG [c.c.t.TemplateManagerImpl] > > (API-Job-Executor-11:[ctx-38f6d4e7, job-21, ctx-37aa414a]) > (logid:36685271) > > Failed to create templateUnsupported command issued: > > org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got > > the right type of server? > > 2025-08-14 16:08:39,051 DEBUG [c.c.r.ResourceLimitManagerImpl] > > (API-Job-Executor-11:[ctx-38f6d4e7, job-21, ctx-37aa414a]) > (logid:36685271) > > Updating resource Type = template count for Account with id = 2 > Operation = > > decreasing Amount = 1 > > 2025-08-14 16:08:39,064 DEBUG [c.c.r.ResourceLimitManagerImpl] > > (API-Job-Executor-11:[ctx-38f6d4e7, job-21, ctx-37aa414a]) > (logid:36685271) > > Updating resource Type = secondary_storage count for Account with id = 2 > > Operation = decreasing Amount = (8.00 GB) 8589934592 > > 2025-08-14 16:08:39,087 ERROR [c.c.a.ApiAsyncJobDispatcher] > > (API-Job-Executor-11:[ctx-38f6d4e7, job-21]) (logid:36685271) Unexpected > > exception while executing > > org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin > > com.cloud.utils.exception.CloudRuntimeException: Failed to create > > templateUnsupported command issued: > > org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got > > the right type of server? > > at > > > > > com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1750) > > 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.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:109) > > at > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) > > 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.$Proxy259.createPrivateTemplate(Unknown Source) > > at > > > > > org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:305) > > 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-14 16:08:39,088 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > > (API-Job-Executor-11:[ctx-38f6d4e7, job-21]) (logid:36685271) Complete > > async job-21, jobStatus: FAILED, resultCode: 530, result: > > > > > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed > > to create templateUnsupported command issued: > > org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got > > the right type of server?"} > > > > On Thu, Aug 14, 2025 at 6:03 PM Harikrishna Patnala < > > harikrishna.patn...@shapeblue.com> wrote: > > > > > +1 (binding) > > > > > > Tested with VMware 8.0.3 version with my usual VM and volume > operations, > > > also tried storage policies. Also performed many tests around newly > added > > > Extensions feature. > > > > > > Regards, > > > Harikrishna > > > > > > > > > > > > > > > From: Vladimir Petrov <vladimir.pet...@shapeblue.com> > > > Date: Thursday, 14 August 2025 at 8:45 PM > > > To: dev <dev@cloudstack.apache.org>, users < > us...@cloudstack.apache.org> > > > Subject: Re: [VOTE] Apache CloudStack 4.21.0.0 (RC3) > > > +1 > > > > > > Tested CKS lifecycle, CKS upgrade, VM and network operations and > > different > > > upgrades from 4.19 and 4.20 with Alma Linux8, Ubuntu 24 and VMWare 8u3. > > > > > > Best wishes, > > > Vladi > > > > > > > > > > > > ________________________________ > > > From: Suresh Kumar Anaparti <sureshanapa...@apache.org> > > > Sent: 11 August 2025 21:09 > > > To: dev <dev@cloudstack.apache.org>; users < > us...@cloudstack.apache.org> > > > Subject: [VOTE] Apache CloudStack 4.21.0.0 (RC3) > > > > > > Hi All, > > > > > > I have created a 4.21.0.0 release (RC3), with the following artifacts > up > > > for testing and a vote: > > > > > > Git Branch and Commit SHA: > > > https://github.com/apache/cloudstack/tree/4.21.0.0-RC20250811T2140 > > > Commit: 79b1790acf7014709189c200ad5860122dd19e5e > > > > > > Source release (checksums and signatures are available at the same > > > location): > > > https://dist.apache.org/repos/dist/dev/cloudstack/4.21.0.0/ > > > > > > PGP release keys (signed using > D6E0581ECF8A2FBE3FF6B3C9D7CEAE3A9E71D0AA): > > > https://dist.apache.org/repos/dist/release/cloudstack/KEYS > > > > > > The vote will be open for 72 hours. > > > > > > For sanity in tallying the vote, can PMC members please be sure to > > indicate > > > "(binding)" with their vote? > > > > > > [ ] +1 approve > > > [ ] +0 no opinion > > > [ ] -1 disapprove (and reason why) > > > > > > For users convenience, the packages from this release candidate (RC3) > are > > > available here: > > > https://download.cloudstack.org/testing/4.21.0.0-RC3/ > > > > > > > > > Regards, > > > Suresh > > > > > >