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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

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