Skip to content

CMP-4178: Add machineset scale up after remediations applied#72

Open
Anna-Koudelkova wants to merge 1 commit into
ComplianceAsCode:mainfrom
Anna-Koudelkova:CMP-4178
Open

CMP-4178: Add machineset scale up after remediations applied#72
Anna-Koudelkova wants to merge 1 commit into
ComplianceAsCode:mainfrom
Anna-Koudelkova:CMP-4178

Conversation

@Anna-Koudelkova

@Anna-Koudelkova Anna-Koudelkova commented Mar 26, 2026

Copy link
Copy Markdown
Collaborator

Based on a discussion we had with Xiaojie and Taimur, it is important to keep a check that machinesets are scalable after applying remediations and the deletePolicy: Newest would always delete the newly added machinesets first when asked to scale down.
This was previously a customer bug.

@vickeybrown

Copy link
Copy Markdown

/retest

Comment thread e2e_test.go Outdated

err = helpers.ValidateMachineSetScaleWithDeletePolicyNewest(tc, c, platformBindingName)
if err != nil {
t.Fatalf("MachineSet scale/deletePolicy validation failed: %s", err)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use t.Errorf() for these error checks?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense, thank you! I have originally used tFatalf() because the whole test cases uses it, but we probably do not need the test to fail immediately on failure in these added steps.

@openshift-ci

openshift-ci Bot commented Jul 2, 2026

Copy link
Copy Markdown

@Anna-Koudelkova: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-rhcos4-moderate 8740bce link true /test e2e-aws-rhcos4-moderate
ci/prow/e2e-aws-openshift-platform-compliance 8740bce link true /test e2e-aws-openshift-platform-compliance
ci/prow/e2e-aws-ocp4-cis 8740bce link true /test e2e-aws-ocp4-cis
ci/prow/e2e-aws-ocp4-stig 8740bce link true /test e2e-aws-ocp4-stig

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants