weizhouapache commented on issue #5824:
URL: https://github.com/apache/cloudstack/issues/5824#issuecomment-1007231337


   tested with 4.16, I cannot enable static nat 
   
   ```
   2022-01-07 08:38:25,176 ERROR [c.c.a.ApiServer] 
(qtp1748876332-20:ctx-905cd956 ctx-ee14e749) (logid:53304a13) unhandled 
exception executing api command: [Ljava.lang.String;@4901ccc4
   com.cloud.exception.UnsupportedServiceException: Service UserData is not 
supported in the network id=425
           at 
com.cloud.network.dao.NetworkServiceMapDaoImpl.getProviderForServiceInNetwork(NetworkServiceMapDaoImpl.java:126)
           at jdk.internal.reflect.GeneratedMethodAccessor226.invoke(Unknown 
Source)
           at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:566)
           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.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
           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 com.sun.proxy.$Proxy85.getProviderForServiceInNetwork(Unknown 
Source)
           at 
com.cloud.network.NetworkModelImpl.getUserDataUpdateProvider(NetworkModelImpl.java:909)
           at 
com.cloud.network.rules.RulesManagerImpl.applyUserData(RulesManagerImpl.java:625)
           at 
com.cloud.network.rules.RulesManagerImpl.enableStaticNat(RulesManagerImpl.java:600)
           at 
com.cloud.network.rules.RulesManagerImpl.enableStaticNat(RulesManagerImpl.java:446)
   ```


-- 
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