Process Mining Dapr Container Crahsbackloopoff Due To Certificates Expired And Not Automatically Rotated

The end-user is unable to access the application frontend after performing an OS patch upgrade on their servers. The error message displayed is: '"Failed to initialize the application"'. Additionally, warnings were observed on the ArgoCD side and attempts to Sync/Refresh the services did not resolve the issue.

Issue description:

Failed to initialize the application Process Mining - error no healthy stream.

In Process Mining pod description the certificates issued by dapr.io app appear as expired.

Resolution:

On the main Linux node perform the following commands:

sudo su

export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin” && export KUBECONFIG="/etc/rancher/rke2/rke2.yaml"

vi clear-trust-bundle-dapr.yaml ------ the yaml file is a the bottom of this kb

kubectl -n uipath apply -f clear-trust-bundle-dapr.yaml

kubectl rollout restart -n uipath deployment/dapr-sentry

kubectl rollout restart deploy/dapr-operator -n uipath

kubectl rollout restart deploy/dapr-sidecar-injector -n uipath

kubectl rollout restart deploy/dapr-scheduler-server -n uipath

kubectl -n uipath get pods -w | grep dapr ----- wait to raise the pods ( 3 - 4 mins )

kubectl rollout restart -n uipath deployment process-mining process-mining-dbt-exec process-mining-frontend

kubectl -n uipath get pods -w | grep process ----- wait to raise the pods ( 3 - 4 mins )

========================

clear-trust-bundle-dapr.yaml :

========================

apiVersion: v1

kind: Secret

metadata:

name: dapr-trust-bundle

labels:

app: dapr-sentry

data:

============