-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.16
-
No
-
MCO Sprint 254, MCO Sprint 255
-
2
-
False
-
-
-
Bug Fix
-
Done
Description of problem:
If one attempts to create more than one MachineOSConfig at the same time that requires a canonicalized secret, only one will build. The rest will not build.
Version-Release number of selected component (if applicable):
4.16
How reproducible:
Always
Steps to Reproduce:
1. Create multiple MachineConfigPools. Wait for the MachineConfigPool to get a rendered config. 2. Create multiple MachineOSConfigs at the same time for each of the newly-created MachineConfigPools that uses a legacy Docker pull secret. A legacy Docker pull secret is one which does not have each of its secrets under a top-level auths key. One can use the builder-dockercfg secret in the MCO namespace for this purpose. 3. Wait for the machine-os-builder pod to start.
Actual results:
Only one of the MachineOSBuilds begins building. The remaining MachineOSBuilds do not build nor do they get a status assigned to them. The root cause is because if they both attempt to use the same legacy Docker pull secret, one will create the canonicalized version of it. Subsequent requests that occur concurrently will fail because the canonicalized secret already exists.
Expected results:
Each MachineOSBuild should occur whenever it is created. It should also have some kind of status assigned to it as well.
Additional info:
- blocks
-
OCPBUGS-36171 BuildController does not build multiple MachineOSBuilds that use canonicalized secrets
- Closed
- is cloned by
-
OCPBUGS-36171 BuildController does not build multiple MachineOSBuilds that use canonicalized secrets
- Closed
- links to
-
RHEA-2024:3718 OpenShift Container Platform 4.17.z bug fix update