Automation Decision Services pods fail to start due to certificate issues

Symptoms

The following Automation Decision Services pods are not starting:
  • Decision Designer (if Decision Designer is installed)
    • <instance_name>-ads-restapi
    • <instance_name>-ads-credentials-service
    • <instance_name>-ads-run-service
    • <instance_name>-ads-git-service
  • Decision runtime pods (if the decision runtime is installed)
    • <instance_name>-ads-runtime-service

Causes

Decision Designer or the decision runtime is not available.

Diagnosing the problem

Check the logs for the pods. For example:
kubectl logs <pod_name> --since 1m
Check if there is any message regarding a certificate issue. For example:
2022-08-05T07:41:31.413+0000 W  NETWORK  [js] SSL peer certificate validation failed: unable to get local issuer certificate
2022-08-05T07:41:31.431+0000 E  QUERY    [js] Error: Authentication failed. : 
2022-08-05T07:41:31.433+0000 E  -        [main] exiting with code 1

Resolving the problem

Configure the MongoDB certificate. For more information, see Step 4 in Configuring MongoDB storage.