Pushing of optimization policies fails

Description

After optimization policy is created and when it is being pushed 400 bad request is returned.

For policy upload following script is used https://github.com/onap/demo/blob/master/tutorials/vFWDT/policies/rules/uploadPolicies.sh

following this instruction https://onap-doc.readthedocs.io/projects/onap-integration/en/latest/docs_vFWDT.html#configuration-of-policies-for-optimization-framework

Environment

SB-00 with RC2 images

Activity

Show:

Lukasz Rajewski June 11, 2020 at 5:31 PM

All we can say now is. Let's forget about it. Now it works. So thank you all involved in the investigation

Former user June 11, 2020 at 5:15 PM

Not really sure what to conclude at this point.  It looks like there was either a problem with DMaaP MR, or a problem in the networking between PAP and MR.  The fact that SB00 network went belly up while investigating makes me wonder if it was the latter.  After reloading SB00, it looks OK now, though I'm still seeing periodic failure messages reported by MR:

HTTP/1.1 503 Service Unavailable

Hopefully, your tests will be successful now.

Lukasz Rajewski June 11, 2020 at 4:13 PM

yes, clone demo repo and get to tutorials/vfwdt folder, like in the doc mentioned

Former user June 11, 2020 at 4:05 PM

, I can "just" take the script and test on our ONAP ?

Former user June 11, 2020 at 4:03 PM

The configuration seems right to me, can you retry  - I see that the xacml-pdp was restarted 7 times, and may be you happened to hit the problem in one of those restart intervals, which will explain the message.

dev-policy-xacml-pdp-848bc5c98-kg2v9 1/1 Running 7 2d8h

Let us know how the retry goes, I tend to think that it may be OK, as system looks OK to me right now.

Cannot Reproduce

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created June 11, 2020 at 12:51 PM
Updated June 12, 2020 at 9:41 AM
Resolved June 11, 2020 at 5:32 PM