-
Bug
-
Resolution: Done-Errata
-
Major
-
4.14.z
-
None
This is a clone of issue OCPBUGS-45998. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-42414. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-42388. The following is the description of the original issue:
—
Description of problem:
Customer MachineSets are configured with deletePolicy: Oldest, and they annotated a specific machine with machine.openshift.io/cluster-api-delete-machine="true" to target it for deletion during a scale-down.
However, instead of deleting the annotated machine, another machine (based on the Oldest policy) was selected for deletion.
Interestingly, when they removed the deletePolicy: Oldest from the MachineSet (which defaulted to deletePolicy: Random), the annotation was correctly honored, and the specific machine targeted was deleted during the scale-down operation.
Based on the documentation [1] , the annotation should override the deletePolicy, but this doesn’t seem to be happening when deletePolicy: Oldest is in place. The issue was resolved only when they removed the Oldest policy and allowed it to default to Random.
[1]. https://docs.openshift.com/container-platform/4.14/machine_management/manually-scaling-machineset.html#machineset-delete-policy_manually-scaling-machineset
OCP 4.14.33.
How reproducible:
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
Additional info:
- blocks
-
OCPBUGS-47659 Targeted deletion of Machine Does not Override deletePolicy
- Closed
- is cloned by
-
OCPBUGS-47659 Targeted deletion of Machine Does not Override deletePolicy
- Closed
- links to
-
RHBA-2025:0121 OpenShift Container Platform 4.15.z bug fix update