Werk #15599: agent: second bake request now returns a 409 conflict

Component REST API
Title agent: second bake request now returns a 409 conflict
Date Apr 12, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

This werk introduces a fix to the bake all agents endpoint. Previously, the endpoint would return a 500 internal server error. We now return a 409 Conflict, with an appropriate error message to indicate that the process is already running. Client side scripts should be adjusted accordingly.

To the list of all Werks