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

Drools-pdp is sending registration request to PAP before frankfurt controller in ready

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Frankfurt Release
    • Frankfurt Release
    • None
    • Policy 12/1-12/10

      In a recent downtime of policies in drools-pdp, it was observed that all the policies running in drools-pdp were removed after a restart of the pod.

      After debugging and logs analysis it was found that drools-pdp sent the registration request to PAP immediately after restart and PAP actually registered the PDP and sent back the list of policies for deployment. But the "frankfurt" controller was not loaded yet. Leading to failure in deploying policies. 

      Ideally drools-pdp must wait for all the supported controllers to be ready before sending the registration request to PAP. So that it is ready to load policies.

      The fix has been already done in Guilin version - https://gerrit.onap.org/r/c/policy/drools-pdp/+/111665

      So, the work will be to cherry pick the fix in Frankfurt version and release images for drools-pdp & drools-applications.

            jhh jhh
            ramverma ramverma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: