Skip to content

OCPBUGS-85015: Sync upstream main 2026-04-23 - #453

Merged
openshift-merge-bot[bot] merged 8 commits into
openshift:release-4.22from
openshift-cherrypick-robot:cherry-pick-419-to-release-4.22
May 13, 2026
Merged

openshift-merge-bot[bot] merged 8 commits into
openshift:release-4.22from
openshift-cherrypick-robot:cherry-pick-419-to-release-4.22

Conversation

@openshift-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #419

/assign nunnatsa

Sync upstream main 2026-04-23

nunnatsa and others added 8 commits April 28, 2026 07:38
The branch protection is managed from the
https://github.com/kubernetes/test-infra repository. It currently
requires that the "Integration" job will pass. But since we now the
integration is a matrics that creates two test lanes, then the
"integration" rule is never satisfied.

This PR renames the original "integration" job, to "integration-tests",
and adds new rollout job with the original name of "integration", to
pass only if all the jobs defined by the matrix passed.

Now the existing "Integration" branch protection rule should work.

Signed-off-by: Nahshon Unna Tsameret <nahsh.ut@gmail.com>
the webhook server should use the tlsconfig specified in the manager
options, so users setting tls fields in the manager see their preference
honoured not only for the metrics server but also for the webhook
server.
Core CAPI does this already, here: https://github.com/kubernetes-sigs/cluster-api/blob/55e16f424c0ed8d3739070125d4c32a036997465/main.go#L406
drainNode() was using vmiInstance.Status.EvacuationNodeName to look up the
node in the guest cluster, but that field contains the host/infra node name.
This caused the drain to silently fail with a NotFound error, meaning
workloads were abruptly killed instead of being gracefully evicted.

Use KubevirtMachine.Name instead, which is the guest node name, consistent
with the rest of the codebase (e.g. updateNodeProviderID, GenerateProviderID).

Update unit tests to use distinct values for the host node name and guest
node name, so the bug cannot be masked again.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The eviction e2e test only validated that the VMI was deleted and recreated,
but did not check that the guest node was actually drained. Add an assertion
that the guest node is marked unschedulable (cordoned) before the VMI
finalizer is removed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ction

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>
Bump golang to v1.25

Bump K8s API to v0.35

Bump CAPI API to v1.12

Bump Kubevirt to v1.8.0

Bump all other dependencies

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>
…l state

When a KubeVirt VM is stopped (runStrategy changed to Halted), the VMI
reaches a finalized state and IsTerminal() correctly sets FailureReason
on the KubevirtMachine. However, when the VM is started back
(runStrategy changed to Always), IsTerminal() returns false but the
FailureReason/FailureMessage fields are never cleared.

This causes the CAPI Machine phase to stay stuck at "Failed" even though
all Machine conditions (Ready, InfrastructureReady, NodeHealthy) are
True. Downstream consumers that rely on the Machine phase (such as
HyperShift's endpointslice reconciler) then permanently mark endpoints
as not ready, breaking ingress into hosted clusters.

The fix adds an else clause to nil out FailureReason and FailureMessage
when IsTerminal() returns false, allowing VMs to properly recover.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>
@openshift-ci-robot

Copy link
Copy Markdown

@openshift-cherrypick-robot: An error was encountered cloning bug for cherrypick for bug OCPBUGS-66890 on the Jira server at https://redhat.atlassian.net. No known errors were detected, please see the full error message for details.

Full error message. request failed. Please analyze the request body for more details. Status code: 400: {"errorMessages":["QA Contact: User 'Ying Zhou' is not valid for this user picker."],"errors":{"customfield_10470":"User 'Ying Zhou' is not valid for this user picker."}}

Please contact an administrator to resolve this issue, then request a bug refresh with /jira refresh.

Details

In response to this:

This is an automated cherry-pick of #419

/assign nunnatsa

Sync upstream main 2026-04-23

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
openshift-ci Bot requested review from nirarg and nunnatsa April 28, 2026 07:38
@qinqon

qinqon commented May 5, 2026

Copy link
Copy Markdown

/retitle OCPBUGS-85015,OCPBUGS-66890: Sync upstream main 2026-04-23

@openshift-ci openshift-ci Bot changed the title [release-4.22] OCPBUGS-66890: Sync upstream main 2026-04-23 OCPBUGS-85015,OCPBUGS-66890: Sync upstream main 2026-04-23 May 5, 2026
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels May 5, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-85015, which is invalid:

  • expected the bug to target either version "4.22." or "openshift-4.22.", but it targets "5.0.0" instead
  • release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
  • expected Jira Issue OCPBUGS-85015 to depend on a bug targeting a version in 5.0.0 and in one of the following states: MODIFIED, ON_QA, VERIFIED, but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

This pull request references Jira Issue OCPBUGS-66890, which is invalid:

  • expected the bug to target either version "4.22." or "openshift-4.22.", but it targets "5.0.0" instead
  • expected the bug to be in one of the following states: NEW, ASSIGNED, POST, but it is ON_QA instead
  • release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
  • expected Jira Issue OCPBUGS-66890 to depend on a bug targeting a version in 5.0.0 and in one of the following states: MODIFIED, ON_QA, VERIFIED, but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

This is an automated cherry-pick of #419

/assign nunnatsa

Sync upstream main 2026-04-23

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 openshift-eng/jira-lifecycle-plugin repository.

@qinqon

qinqon commented May 5, 2026

Copy link
Copy Markdown

/jira refresh

@openshift-ci-robot

Copy link
Copy Markdown

@qinqon: This pull request references Jira Issue OCPBUGS-85015, which is valid. The bug has been moved to the POST state.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note type set to "Release Note Not Required"
  • dependent bug Jira Issue OCPBUGS-77929 is in the state MODIFIED, which is one of the valid states (MODIFIED, ON_QA, VERIFIED)
  • dependent Jira Issue OCPBUGS-77929 targets the "5.0.0" version, which is one of the valid target versions: 5.0.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira (yli2@redhat.com), skipping review request.

This pull request references Jira Issue OCPBUGS-66890, which is invalid:

  • expected the bug to target either version "4.22." or "openshift-4.22.", but it targets "5.0.0" instead
  • expected the bug to be in one of the following states: NEW, ASSIGNED, POST, but it is ON_QA instead
  • release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
  • expected Jira Issue OCPBUGS-66890 to depend on a bug targeting a version in 5.0.0 and in one of the following states: MODIFIED, ON_QA, VERIFIED, but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@qinqon

qinqon commented May 5, 2026

Copy link
Copy Markdown

/retitle OCPBUGS-85015: Sync upstream main 2026-04-23

@openshift-ci openshift-ci Bot changed the title OCPBUGS-85015,OCPBUGS-66890: Sync upstream main 2026-04-23 OCPBUGS-85015: Sync upstream main 2026-04-23 May 5, 2026
@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels May 5, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-85015, which is valid.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note type set to "Release Note Not Required"
  • dependent bug Jira Issue OCPBUGS-77929 is in the state MODIFIED, which is one of the valid states (MODIFIED, ON_QA, VERIFIED)
  • dependent Jira Issue OCPBUGS-77929 targets the "5.0.0" version, which is one of the valid target versions: 5.0.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira (yli2@redhat.com), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

This is an automated cherry-pick of #419

/assign nunnatsa

Sync upstream main 2026-04-23

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 openshift-eng/jira-lifecycle-plugin repository.

@qinqon

qinqon commented May 5, 2026

Copy link
Copy Markdown

/retest

@qinqon

qinqon commented May 5, 2026

Copy link
Copy Markdown

/lgtm
/approve

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 5, 2026
@orenc1

orenc1 commented May 6, 2026

Copy link
Copy Markdown

openshift/hypershift#8272 merged.
/retest

@orenc1

orenc1 commented May 7, 2026

Copy link
Copy Markdown

openshift/hypershift#8438 merged.
/retest

@orenc1

orenc1 commented May 11, 2026

Copy link
Copy Markdown

local-e2e workflow passed.
external failed due to network policies addition that we made at openshift/hypershift#8056
fixing the RBAC of the SA at openshift/release#79081

@orenc1

orenc1 commented May 12, 2026

Copy link
Copy Markdown

openshift/release#79081 merged.
/retest

@openshift-ci

openshift-ci Bot commented May 12, 2026

Copy link
Copy Markdown

@openshift-cherrypick-robot: all tests passed!

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.

@orenc1

orenc1 commented May 13, 2026

Copy link
Copy Markdown

/approve

@openshift-ci

openshift-ci Bot commented May 13, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: openshift-cherrypick-robot, orenc1, qinqon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 13, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit fd4d7a6 into openshift:release-4.22 May 13, 2026
4 checks passed
@openshift-ci-robot

Copy link
Copy Markdown

@openshift-cherrypick-robot: Jira Issue OCPBUGS-85015: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-85015 has been moved to the MODIFIED state.

Details

In response to this:

This is an automated cherry-pick of #419

/assign nunnatsa

Sync upstream main 2026-04-23

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 openshift-eng/jira-lifecycle-plugin repository.

@qinqon

qinqon commented Jul 8, 2026

Copy link
Copy Markdown

/jira cherry-pick 4.21

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants