-
Bug
-
Resolution: Done
-
High
-
Frankfurt Release
-
SO-BPMN-INFRa 1.6.2. (Frankfurt RC2)
SO-Openstckadapter 1.6.2 (newest for Frankfurt RC2).
SO-openstackadapter 1.6.2.
SO-HeatBridge implementation in SO-Openstack-Adapter throws NPE, while reading Heat stack details:
2020-05-25T14:07:35.956Z|a0783473-67ce-47a7-8b76-625dc5e30d8c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: vf-module-162/3099f750-2936-4121-9e11-17c749685da9 java.lang.NullPointerException: null at org.onap.so.heatbridge.HeatBridgeImpl.updateLInterfaceVlan(HeatBridgeImpl.java:328) at org.onap.so.heatbridge.HeatBridgeImpl.buildAddVserverLInterfacesToAaiAction(HeatBridgeImpl.java:270) at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:458) at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1084) at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$db2cd721.createVfModule(<generated>) at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:359) at java.lang.Thread.run(Thread.java:748)
As a result, the association of vservers to VNFs cannot be processed properly.
It seems, that the Logical Interfaces are not processed properly (and I have doubts, if they are exposed properly with newer OpenStack releases).
Further use-cases, where this functionality is needed (e.g. in scale-out) are not going to behave properly. Workaround there will be needed.
This is blocking VNF Scale-out use-case currently (Internal SO HeatBridge is expected to collect necessary VM/vserver details and related them to a VNF instance).