Hi,

What's the value of the global setting
"allow.diskoffering.change.during.scale.vm" ?

if it is true, can you change it to "false" and retry ?


Kind regards,
Wei

On Thu, Jun 19, 2025 at 4:55 AM Chi vediamo <tatay...@gmail.com> wrote:

> Please guide me, I did try using simplified System resource, this one has
> the Purge button selected and HA to another HA, or Should I never use the
> Purge  to create a System Offering.
>
> I did not have this issue before on 4.20.0. as I did upgrade from non HA
> non purge button system dor domain router to the 12vcp 12 GB with HA.
>
> I am, attempting to Upgrade a Virtual router frm 2vcpu 2GRAM to a 2Vcpu 4G
> ram  - just running some tests.
>
> I noticed tons of NULL values on the Database after I upgraded.
>
> Change service offering
> (r-70-VM) Cannot invoke "java.util.Map.containsKey(Object)" because
> "customParameters" is null
>
> Upgrading/Downgrading is failing
>
> the debug shows the destination System offering is
> *e787f2e5-558f-46f3-bbc3-35ee224b903c*
>
>
> 2025-06-19 02:26:45,389 DEBUG [c.c.u.AccountManagerImpl]
> (API-Job-Executor-57:[ctx-40dd47d0, job-2743, ctx-35c380e3])
> (logid:20155fe2) Access granted to Account
> [{"accountName":"admin","id":2,"uuid":"45a1be9e-2c67-11f0-a2e6-9ee6a2dce283"}]
> to Service offering {"id":103,"name":"System Offering For
> WLCS.vROUTER.HA-2x4-1Gps","uuid":"*e787f2e5-558f-46f3-bbc3-35ee224b903c*"}.
> by AffinityGroupAccessChecker
> 2025-06-19 02:26:45,400 WARN  [o.a.c.m.w.WebhookServiceImpl]
> (API-Job-Executor-57:[ctx-40dd47d0, job-2743, ctx-35c380e3])
> (logid:20155fe2) Skipping delivering event Event
> {"description":"{\"details\":\"SystemVm Id:
> a938a05f-a3e8-4b20-a0f8-05ae13c44a7b\",\"event\":\"VM.UPGRADE\",\"status\":\"Completed\"}","eventId":null,"eventType":"VM.UPGRADE","eventUuid":null,"resourceType":"VirtualMachine","resourceUUID":null}
> to any webhook as account ID is missing
> 2025-06-19 02:26:45,400 WARN  [o.a.c.f.e.EventDistributorImpl]
> (API-Job-Executor-57:[ctx-40dd47d0, job-2743, ctx-35c380e3])
> (logid:20155fe2) Failed to publish event [category: ActionEvent, type:
> VM.UPGRADE] on bus webhookEventBus
>
> 2025-06-19 02:26:45,419* ERROR* [c.c.a.ApiAsyncJobDispatcher]
> (API-Job-Executor-57:[ctx-40dd47d0, job-2743]) (logid:20155fe2) Unexpected
> exception while executing
> org.apache.cloudstack.api.command.admin.systemvm.ScaleSystemVMCmd
> java.lang.NullPointerException: Cannot invoke
> "java.util.Map.containsKey(Object)" because "customParameters" is null
>         at
> com.cloud.vm.UserVmManagerImpl.changeDiskOfferingForRootVolume(UserVmManagerImpl.java:2170)
>
>         at
> com.cloud.vm.UserVmManagerImpl.changeDiskOfferingForRootVolume(UserVmManagerImpl.java:2170)
>         at
> com.cloud.vm.UserVmManagerImpl.upgradeStoppedVirtualMachine(UserVmManagerImpl.java:1368)
>         at
> com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1967)
>         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.$Proxy210.upgradeVirtualMachine(Unknown
> Source)
>         at
> com.cloud.server.ManagementServerImpl.upgradeSystemVM(ManagementServerImpl.java:5314)
>         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:105)
>         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.$Proxy267.upgradeSystemVM(Unknown Source)
>         at
> org.apache.cloudstack.api.command.admin.systemvm.ScaleSystemVMCmd.execute(ScaleSystemVMCmd.java:110)
>         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:652)
>         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:600)
>         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-06-19 02:30:25,526 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-58:[ctx-44266112, job-2749]) (logid:2b6c5ae0) Complete
> async job-2749, jobStatus: FAILED, resultCode: 530, result:
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Cannot
> invoke "java.util.Map.containsKey(Object)" because "customParameters" is
> null"}
> 2025-06-19 02:30:25,528 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-58:[ctx-44266112, job-2749]) (logid:2b6c5ae0) Publish
> async job-2749 complete on message bus
> 2025-06-19 02:30:25,529 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-58:[ctx-44266112, job-2749]) (logid:2b6c5ae0) Wake up
> jobs related to job-2749
> 2025-06-19 02:30:25,529 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-58:[ctx-44266112, job-2749]) (logid:2b6c5ae0) Update db
> status for job-2749
>
> Please kindly let me know what information do you need.
>
> Tata Y.
>
>

Reply via email to