Automation Suite
2023.10
false
Banner background image
Automation Suite on Linux Installation Guide
Last updated Apr 19, 2024

After Disaster Recovery Dapr is not working properly for Process Mining and Task Mining

After a Disaster Recovery, Dapr is not restored properly, and the certificates needed by dapr to provide services for Process Mining and Task Mining are incorrect. The dapr, processmining, and taskmining applications appear to be healthy first, but will then go back to progressing state and the environment becomes unstable. When logging in to Process Mining or Task Mining, the application may not load, or return unexpected errors.

This page describes the steps you should take to resolve the issue.

Checking the status for dapr

Follow these steps to check whether dapr is working properly.

  1. Open ArgoCD and go to Applications.

  2. Select the processmining application card to open the processmining app details tree.
    docs image
  3. Locate the processmining pods and check the number of containers in the pod.
    docs image
    For a proper working of processmining there must be 3 containers in the pod. In the above example, there are 2 containers in the pod, which means that there is one container missing.
  4. Open the pod and select the LOGS tab. Select processmining to see the available logs.
    docs image
  5. Check whether the daprd log file is present. If there is no log file for dapr, this indicates that dapr is not configured properly.

Overview of the steps

  1. Delete all dapr secrets and the mutatingwebhookconfiguration.

  2. Resync all dapr secrets and the mutatingwebhookconfiguration.

  3. Restart dapr-sentry deployment and wait to the deployment is finished.

  4. Restart dapr-operator deployment and wait to the deployment is finished.

  5. Restart dapr-sidecar-injector deployment and wait to the deployment is finished.

Below is a detailed description of the steps.

Deleting dapr secrets and the mutatingwebhookconfiguration

  1. Go to Applications in ArgoCD.

  2. Select the dapr application card to open the dapr app details tree.

  3. Locate the dapr secrets.
    docs image
    The secrets must be recreated. You can do this by deleting each secret.
  4. Open the context menu of the secret and select Delete.
    docs image
  5. In the Delete resource confirmation dialog enter the name of the secret and select OK to confirm.
    docs image
  6. Repeat steps 4 and 5 for the remaining secrets.

  7. In the dapr app details tree, locate the mutatingwebhookconfiguration.

    Note:

    You can recognize the mutatingwebhookconfiguration from the label MWC.

    docs image
  8. Open the context menu of the secret and select Delete. In the Delete resource confirmation dialog enter the name of the mutatingwebhookconfiguration and select OK to confirm.

Syncing the dapr secrects and the mutatingwebhookconfiguration

  1. Some of the secrets are immediately recreated. This is indicated by a green check mark on the secret card.
    docs image
    If a secret is not recreated, you need to sync to recreate the secret.
  2. Locate the secret you want to recreate and select Sync from the context menu.
    docs image
  3. In the pop-up panel, select SYNCHRONIZE.
    docs image
  4. Repeat steps 2 and 3 for all the secrets that you want to recreate.

  5. In the dapr app details tree, locate the mutatingwebhookconfiguration.

    Note:

    You can recognize the mutatingwebhookconfiguration from the label MWC.

  6. Open the context menu for the mutatingwebhookconfiguration and select Sync.

  7. In the pop-up panel, select SYNCHRONIZE.

Restarting the deployment

After you deleted and synchronized the secrets and the mutatingwebhookconfiguration, you need to restart the deployment.

  1. In the dapr app details tree, locate the dapr-sentry deploy card.

  2. Open the context menu and select Restart.

    docs image
    A confirmation dialog is displayed.
    docs image
  3. Select OK to confirm the restart. The dapr-sentry deployment starts. When the deployment is finished, a green heart appears. Wait for the deployment to be finished.
    docs image
  4. In the dapr app details tree, locate the dapr-operator deploy card.

  5. Open the context menu and select Restart.

  6. In the confirmation dialog, select OK to confirm the restart. Wait for the deployment to be finished.

  7. In the dapr app details tree, locate the dapr- sidecar-injector deploy card.

  8. Open the context menu and select Restart.

  9. In the confirmation dialog, select OK to confirm the restart. Wait for the deployment to be finished.

Important:

Restart the deployments in the described order and make sure a deployment is ready before starting the next deployment.

  1. dapr-sentry

  2. dapr-operator

  3. dapr-sidecar-injector

You can now check that dapr is working correctly by looking at processmining, as described above. Now there should be 3 containers in the pod and the daprd container should be present in the LOGS.
docs image
Process Mining and Task Mining should work properly now.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.