Skip to main content

Policy Engine - No Policy Decision Detected, missing spinnaker.persistence.pipelines

Issue

Even though it may appear that your declarations are correct, Policy Engine can possibly return the below error when initializing.  There was an error saving your pipeline: Policy Error: No policy decision detected. This is likely because a missing spinnaker.persistence.pipelines.before package.. [dismiss]

Cause

Setting Policy Engine to failOpen: false can cause the issue if no policies are declared.When Spinnaker sends a specific payload via Policy Engine to OPA to be validated by a policy and the policy doesn't exist, it will return the error message.  By default, with this setting Front50 will fail close.

AIDA logo
AIDA logo

Harness AIDA Chatbot

AI Development Assistant


Today, March 13, 6:02pm

AIDA logo

Accelerate your software delivery with the powerful capabilities of Harness’s Platform.

AIDA logo

How can I help?

Log into your Harness Account to access AIDA