JanssenProject / jans

An open source enterprise digital identity platform for CIAM or workforce... Janssen is a distribution of standards-based, developer friendly, components that are engineered to work together in any cloud. #OAuth #OpenID #FIDO
https://docs.jans.io
Apache License 2.0
473 stars 75 forks source link

fix(agama): deployments stuck in pending status when the processing crashes #5636

Closed jgomer2001 closed 1 year ago

jgomer2001 commented 1 year ago

Sometimes the processing crashes inadvertently (like DB issue) and the deployment appears pending forever

log: deployer_error.txt

jgomer2001 commented 1 year ago

If the attribute employed to know if a deployment is finished/pending cannot be updated (due to a crash at the persistence layer), there is no much I can do

Currently the config api rejects undeployment of pending tasks - maybe we could allow undeployment if the task has exceeded some time or make the deployer terminate deployments that have timed out.