cyberark / kubernetes-conjur-deploy

Scripts for deploying DAP followers to Kubernetes and OpenShift given an existing DAP master cluster
Apache License 2.0
14 stars 15 forks source link

Eliminate 500 internal server errors when configuring CLI Pod #176

Closed diverdane closed 2 years ago

diverdane commented 2 years ago

This is an intermittent error that occurs when we're trying to log into Conjur. I don't know the root cause, but executing Conjur CLI commands inside a retry loop will fix the issue.

Desired Outcome

Running the deploy scripts for Conjur OSS does not result in 500 Internal Server Error errors.

Currently, when the deploy scripts are run for Conjur OSS, when we get to the point where the Conjur CLI Pod is being configured (in the 6.5_configure_cli_pod.sh script), we see the following error:

[2021-12-16T17:02:27.708Z] ++++++++++++++++++++++++++++++++++++++
[2021-12-16T17:02:27.708Z]
[2021-12-16T17:02:27.708Z] Configuring Conjur CLI.
[2021-12-16T17:02:27.708Z]
[2021-12-16T17:02:27.708Z] ++++++++++++++++++++++++++++++++++++++
     . . .
[2021-12-16T17:02:44.490Z] Logged in
     . . .
[2021-12-16T17:02:47.260Z] error: 500 Internal Server Error
     . . .
[2021-12-16T17:02:47.260Z] command terminated with exit code 1

This is an intermittent error that occurs when we're trying to log into Conjur. I don't know the root cause, but executing Conjur CLI commands inside a retry loop will fix the issue.

Implemented Changes

Connected Issue/Story

Definition of Done

At least 1 todo must be completed in the sections below for the PR to be merged.

Changelog

Test coverage

Documentation

Behavior

Security