kiranchavala opened a new issue, #13610:
URL: https://github.com/apache/cloudstack/issues/13610

   ### problem
   
   Unable to clone network offering if the supported service contains firewall
   
   ### versions
   
   ACS : 4.23 nightly build 
   
   ### The steps to reproduce the bug
   
   1. Create a network offering > select all the supported services 
   
   
   2.  Clone the network offering > the feature was introduced with the pr 
   
   https://github.com/apache/cloudstack/pull/12357
   
   
   <img width="1585" height="341" alt="Image" 
src="https://github.com/user-attachments/assets/ed1351e3-002f-4912-b3bc-290f06e59d06";
 />
   
   
   
   logs 
   ```
   2026-07-14 08:39:59,950 INFO  [c.c.c.ConfigurationManagerImpl] 
(qtp1151704483-24:[ctx-60699f5a, ctx-500ccd9b]) (logid:d1c37d1a) Cloning 
network offering test-kiran (id: 33) to new offering with name: test-kiran - 
Clone
   2026-07-14 08:39:59,959 ERROR [c.c.a.ApiServer] 
(qtp1151704483-24:[ctx-60699f5a, ctx-500ccd9b]) (logid:d1c37d1a) unhandled 
exception executing api command: [Ljava.lang.String;@17ed2b38 
java.lang.ClassCastException: class java.lang.String cannot be cast to class 
java.util.Map (java.lang.String and java.util.Map are in module java.base of 
loader 'bootstrap')
        at 
org.apache.cloudstack.api.command.admin.network.NetworkOfferingBaseCmd.getDetails(NetworkOfferingBaseCmd.java:438)
        at 
com.cloud.configuration.ConfigurationManagerImpl.createNetworkOffering(ConfigurationManagerImpl.java:7137)
        at 
com.cloud.configuration.ConfigurationManagerImpl.cloneNetworkOffering(ConfigurationManagerImpl.java:8389)
        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)
   
   ```
   
   3.
   ...
   
   
   ### What to do about it?
   
   Should be able to clone the network offerings 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to