Summary
The Setup - AAP - CAC job fails when a rulebook activation is already running. The job attempts to create the activation without first checking if it exists, causing a conflict error.
Steps to Reproduce
- Bootstrap a fresh AAP instance
- Run
Setup - AAP - CAC successfully
- Run
Setup - AAP - CAC again (or on an instance where activations are already running)
- Job fails at the rulebook activation step
Expected Behavior
If a rulebook activation already exists and is running, the job should skip creation and continue.
Proposed Fix
Add a pre-check before creating each rulebook activation:
- Query the EDA API to see if an activation with that name already exists
- If it exists (and is in a running/healthy state), skip creation
- If it exists but is in a failed/stopped state, recreate it
Affected Files
Likely in the CaC vars that define eda_activations or the role responsible for EDA activation management.
Workaround
Manually stop all rulebook activations in the AAP UI before re-running Setup - AAP - CAC.
Summary
The
Setup - AAP - CACjob fails when a rulebook activation is already running. The job attempts to create the activation without first checking if it exists, causing a conflict error.Steps to Reproduce
Setup - AAP - CACsuccessfullySetup - AAP - CACagain (or on an instance where activations are already running)Expected Behavior
If a rulebook activation already exists and is running, the job should skip creation and continue.
Proposed Fix
Add a pre-check before creating each rulebook activation:
Affected Files
Likely in the CaC vars that define
eda_activationsor the role responsible for EDA activation management.Workaround
Manually stop all rulebook activations in the AAP UI before re-running
Setup - AAP - CAC.