Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-3400

SO-OpenStack-Adapter - exception, when adding entries to request DB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Honolulu Release
    • Frankfurt Release, Guilin Release

      Component affected: SO-OpenStack-Adapter.

      Each time, when an operation is done in SO-OpenStackAdapter, the following exception can be observed in the logs:

      2020-11-25T13:18:47.403Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
      java.lang.IllegalArgumentException: Null value on 0 position
              at org.apache.cxf.jaxrs.impl.UriBuilderImpl.toStringList(UriBuilderImpl.java:818)
              at org.apache.cxf.jaxrs.impl.UriBuilderImpl.queryParam(UriBuilderImpl.java:710)
              at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:386)
              at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
              at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.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.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
              at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
              at java.base/java.lang.Thread.run(Unknown Source)
      

      This is happening for VF-Module instantiation, as well as VF-Module deletion.
      The existence of this exception doesn`t prevent the orchestration activity to happen, but it creates difficulties for troubleshooting. As a result, the logs are more difficult to analyze.

      We shall avoid raising unnecessary exceptions, or update the code in a way, that the orchestration requests are properly added to request DB (or we remove that part completely, if that is not really needed).

            deen1985 deen1985
            deen1985 deen1985
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: