-
Bug
-
Resolution: Not a Bug
-
Medium
-
Frankfurt Release
-
None
As described here https://wiki.onap.org/display/DW/Demo+setup+steps+for+Frankfurt, i tried to add the policy and pushed. Followed the same steps mentioned in the link. when i trigger this step
curl --silent -k --user 'healthcheck:zb!XztG34' -X POST "https://policy-pap:6969/policy/pap/v1/pdps/policies" -H "Accept: application/json" -H "Content-Type: application/json" -d @sonBpci_push.json
i am seeing a error in the pod dev-policy-xacml-pdp-cf8d5d84c-zlgb9 under that in error.log file
[2020-09-02T22:38:02.436+00:00|ERROR|XacmlPdpUpdatePublisher|DMAAP-source-POLICY-PDP-PAP] Failed to load policy: ToscaPolicy(super=ToscaEntity(name=guard.coordination.firstBlocksSecond.test, version=1.0.0, derivedFrom=null, metadata={policy-id=guard.coordination.firstBlocksSecond.test, policy-version=1.0.0}, description=null), type=onap.policies.controlloop.guard.coordination.FirstBlocksSecond, typeVersion=1.0.0, properties={controlLoop=[ControlLoop-vSONH-7d4baf04-8875-4d1f-946d-06b874048b61, ControlLoop-vPCI-fb41f388-a5f2-11e8-98d0-529269fb1459]})
org.onap.policy.pdp.xacml.application.common.XacmlApplicationException: Application not found for policy typeonap.policies.controlloop.guard.coordination.FirstBlocksSecond 1.0.0
at org.onap.policy.pdpx.main.rest.XacmlPdpApplicationManager.loadDeployedPolicy([XacmlPdpApplicationManager.java:207|http://xacmlpdpapplicationmanager.java:207/])
at org.onap.policy.pdpx.main.comm.XacmlPdpUpdatePublisher.handlePdpUpdate(XacmlPdpUpdatePublisher.java:85)
at org.onap.policy.pdpx.main.comm.listeners.XacmlPdpUpdateListener.onTopicEvent(XacmlPdpUpdateListener.java:71)
at org.onap.policy.pdpx.main.comm.listeners.XacmlPdpUpdateListener.onTopicEvent(XacmlPdpUpdateListener.java:35)
at org.onap.policy.common.endpoints.listeners.ScoListener.onTopicEvent(ScoListener.java:79)
at org.onap.policy.common.endpoints.listeners.MessageTypeDispatcher.onTopicEvent(MessageTypeDispatcher.java:96)
at org.onap.policy.common.endpoints.listeners.JsonListener.onTopicEvent(JsonListener.java:63)
at org.onap.policy.common.endpoints.event.comm.bus.internal.TopicBase.broadcast(TopicBase.java:164)
at org.onap.policy.common.endpoints.event.comm.bus.internal.SingleThreadedBusTopicSource.fetchAllMessages(SingleThreadedBusTopicSource.java:242)
at org.onap.policy.common.endpoints.event.comm.bus.internal.SingleThreadedBusTopicSource.run([SingleThreadedBusTopicSource.java:225|http://singlethreadedbustopicsource.java:225/])
at java.base/java.lang.Thread.run([Thread.java:834|http://thread.java:834/])