Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-7485

Multiple replicasets sometimes created if imagepullsecret is provided

XMLWordPrintable

    • False
    • None
    • False

      Description of problem:

      If an image pull secret is provided following these instructions: https://docs.redhat.com/en/documentation/red_hat_openshift_dev_spaces/3.16/html/user_guide/using-credentials-and-configurations-in-workspaces#creating-image-pull-secrets-creating-an-image-pull-secret-from-a-

      it is possible for there to be two replicasets created on cloud dev environment (CDE) creation and startup instead of one.

      This causes the CDE pod to start, immediately terminate and start again, causing slow CDE startup.

      Prerequisites (if any, like setup, operators/versions):

      1. An image pull secret was created by the user following these instructions.
      2. The DWO-created workspace SA is being used for the CDE

      Steps to Reproduce

      1. Create an image pull secret by following these instructions
      2. Create and start a new CDE
      3. Verify that there are two replica sets for the CDE pod

      Note: this issue does not happen every time. It happens when DWO is slow to detect the CDE service account's (ie service account in the format workspace<id>-sa) imagePullSecret upon creation of the CDE service account.

      Actual results:

      There are two replicasets for the same CDE.

      Expected results:

      There should be only one replicaset for the CDE

      Reproducibility (Always/Intermittent/Only Once):

      Intermittent

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              dakwon@redhat.com David Kwon
              dakwon@redhat.com David Kwon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: