Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-28587

Extend retry-kubectl script to also retry on "server is currently unable to handle the request"

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • CI
    • None
    • False
    • Hide

      None

      Show
      None
    • True
    • Rox Sprint 4.8C - Global
    • 0

      Overview:

      Investigation of a CI failure has uncovered that our `retry-kubectl.sh` wrapper does not retry on issues such as:

      Error from server (InternalError): error when creating "/go/src/github.com/stackrox/stackrox/deploy/k8s/scanner-deploy/scanner-v4/02-scanner-v4-06-db-pvc.yaml": an error on the server ("Internal Server Error: \"/api/v1/namespaces/stackrox/persistentvolumeclaims?fieldManager=kubectl-client-side-apply&fieldValidation=Strict\": the server is currently unable to handle the request") has prevented the request from succeeding (post persistentvolumeclaims)

      Acceptance Criteria:

      Extend our `retry-kubectl.sh` script to also retry on errors containing `the server is currently unable to handle the request`.

              mclasmei@redhat.com Moritz Clasmeier
              mclasmei@redhat.com Moritz Clasmeier
              ACS Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: