-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.19, 4.20
-
None
Description of problem:
When authority is ClusterAPI, create a new awsmachinetemplate with instanceType: m5.xlarge and update capi machineset to refer the new awsmachinetemplate. mapi machineset instanceType should change to m5.xlarge.
Version-Release number of selected component (if applicable):
4.19.0-0.nightly-2025-05-11-153555
How reproducible:
always
Steps to Reproduce:
1. Create a new mapi machineset with authoritativeAPI: ClusterAPI 2. After the machine is created, create a new awsmachinetemplate zhsunaws-lwwcm-worker11 with instanceType: m5.xlarge $ oc get awsmachinetemplate -n openshift-cluster-api NAME AGE zhsunaws-lwwcm-worker1 4h28m zhsunaws-lwwcm-worker11 9s 3. Update capi machineset to refer the new awsmachinetemplate zhsunaws-lwwcm-worker11 infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 kind: AWSMachineTemplate name: zhsunaws-lwwcm-worker11 namespace: openshift-cluster-api nodeDeletionTimeout: 10s 4. Check mapi machineset instanceType value
Actual results:
Mapi machineset instanceType is still the original value m6i.xlarge $ oc get machineset -n openshift-cluster-api zhsunaws-lwwcm-worker1 -o yaml infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 kind: AWSMachineTemplate name: zhsunaws-lwwcm-worker11 $ oc get awsmachinetemplate zhsunaws-lwwcm-worker11 -o yaml | grep instanceType instanceType: m5.xlarge $ $ oc get machineset.m zhsunaws-lwwcm-worker1 -o yaml | grep instanceType instanceType: m6i.xlarge $ oc get awsmachinetemplate zhsunaws-lwwcm-worker1 -o yaml | grep instanceType instanceType: m6i.xlarge
Expected results:
Mapi machineset instanceType should change to m5.xlarge
Additional info: