-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.14.0.GA
-
None
-
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):
- An image pull secret was created by the user following these instructions.
- The DWO-created workspace SA is being used for the CDE
Steps to Reproduce
- Create an image pull secret by following these instructions
- Create and start a new CDE
- 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):