Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-3507

CDS Operation Policy execution runtime error

XMLWordPrintable

      Overview

      During the processing of the CL event by the drools, the exception is thrown (in CdsProcessorHandler) :

      [2021-07-19T11:15:34.033+00:00|INFO|CdsProcessorHandler|grpc-default-executor-1] [IN|REST|gRPC://cds-blueprints-processor-grpc:9111/|]
      {}
      io.grpc.StatusRuntimeException: UNIMPLEMENTED: Method not found: org.onap.ccsdk.cds.controllerblueprints.processing.api.BluePrintProcessingService/process
              at io.grpc.Status.asRuntimeException(Status.java:533)
              at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:447)
              at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
              at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
              at io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
              at io.grpc.internal.CensusStatsModule$StatsClientInterceptor$1$1.onClose(CensusStatsModule.java:700)
              at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
              at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
              at io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
              at io.grpc.internal.CensusTracingModule$TracingClientInterceptor$1$1.onClose(CensusTracingModule.java:399)
              at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:510)
              at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:66)
              at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:630)
              at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$700(ClientCallImpl.java:518)
              at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:692)
              at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:681)
              at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
              at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at java.base/java.lang.Thread.run(Thread.java:834)
      

      Technical details

      This is a cause that the old version 0.7.5 of blueprint-proto is used.

      In the newest CDS in Honolulu rename some packages and now we have:

      • instead BluePrintProcessingService -> Blue*p*rintProcessingService
      • also now the newest versions for blueprint-proto are in org.onap.ccsdk.cds.blueprintsprocessor.modules not org.onap.ccsdk.cds.blueprintsprocessor

      So we should consider bump the blueprint-proto and adapt the code to use this new version.

      Goal

      Execute the Operational policy base on CDS Policy actor.

            krystian krystian
            krystian krystian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: