-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.20
-
None
Description of problem:
On aws update machineset userDataSecret.name with empty value and scale up machineset, new machine stuck in Provisioning status, should have webhook denied the request.
Version-Release number of selected component (if applicable):
4.19.0-0.nightly-2025-04-17-154552
How reproducible:
100%
Steps to Reproduce:
1. Update machineset userDataSecret.name with empty value and scale up machineset. $ oc edit machineset zhsunaws1-k4gwv-worker-us-east-2c userDataSecret: name: "" 2. 3.
Actual results:
Machine stuck in Provisioning status. $ oc get machine NAME PHASE TYPE REGION ZONE AGE zhsunaws1-k4gwv-worker-us-east-2c-z9bcr Provisioning 4m52s
Expected results:
admission webhook "validation.machineset.machine.openshift.io" denied the request: providerSpec.userDataSecret.name: Required value: name must be provided
Additional info:
on gcp: $ oc edit machineset minmli-041801-4qwv6-worker-f error: machinesets.machine.openshift.io "minmli-041801-4qwv6-worker-f" could not be patched: admission webhook "validation.machineset.machine.openshift.io" denied the request: providerSpec.userDataSecret.name: Required value: name must be provided on azure: $ oc edit machineset qe-uidaily-0418-qgkjk-worker-eastus3 error: machinesets.machine.openshift.io "qe-uidaily-0418-qgkjk-worker-eastus3" could not be patched: admission webhook "validation.machineset.machine.openshift.io" denied the request: providerSpec.userDataSecret.name: Required value: name must be provide
- blocks
-
OCPBUGS-60427 userDataSecret.name should be a Required value on AWS
-
- Closed
-
- is cloned by
-
OCPBUGS-60427 userDataSecret.name should be a Required value on AWS
-
- Closed
-
- links to