Skip to content

OCPBUGS-77929,OCPBUGS-66890: Sync upstream main 2026-04-23 - #419

Merged
openshift-merge-bot[bot] merged 14 commits into
openshift:mainfrom
nunnatsa:sync_upstream_main_2026-04-23
Apr 27, 2026
Merged

openshift-merge-bot[bot] merged 14 commits into
openshift:mainfrom
nunnatsa:sync_upstream_main_2026-04-23

Conversation

@nunnatsa

Copy link
Copy Markdown

Release notes:

Sync upstream main 2026-04-23

nunnatsa and others added 13 commits January 11, 2026 15:16
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
…ig-for-webhook-server

fix: use tlsconfig from the manager options for the webhook server
…ranch

Force e2e integration pass before merging PRs
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>
…node-name

Bug fix: use guest node name when draining node on VM eviction
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>
…reason-on-recovery

fix: clear FailureReason/FailureMessage when VM recovers from terminal state
@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. labels Apr 23, 2026
@openshift-ci-robot

Copy link
Copy Markdown

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

  • expected the bug to target either version "5.0." or "openshift-5.0.", but it targets "4.22" instead

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:

Release notes:

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-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Apr 23, 2026
@openshift-ci
openshift-ci Bot requested review from nirarg and orenc1 April 23, 2026 05:45
@openshift-ci

openshift-ci Bot commented Apr 23, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nunnatsa

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 Apr 23, 2026
Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>
@nunnatsa

Copy link
Copy Markdown
Author

/jira refresh

@openshift-ci-robot

Copy link
Copy Markdown

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

  • expected the bug to target only the "5.0.0" version, but multiple target versions were set

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.

@nunnatsa

Copy link
Copy Markdown
Author

/jira refresh

@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 Apr 23, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@nunnatsa: This pull request references Jira Issue OCPBUGS-66890, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

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

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.

@nunnatsa

Copy link
Copy Markdown
Author

/retest

@nunnatsa

Copy link
Copy Markdown
Author

/test e2e-hypershift-kubevirt

@orenc1

orenc1 commented Apr 27, 2026

Copy link
Copy Markdown

/lgtm

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

orenc1 commented Apr 27, 2026

Copy link
Copy Markdown

/verified by e2e CI

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Apr 27, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@orenc1: This PR has been marked as verified by e2e CI.

Details

In response to this:

/verified by e2e CI

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-merge-bot
openshift-merge-bot Bot merged commit 27dc2a6 into openshift:main Apr 27, 2026
6 checks passed
@openshift-ci-robot

Copy link
Copy Markdown

@nunnatsa: Jira Issue Verification Checks: Jira Issue OCPBUGS-66890
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-66890 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

Details

In response to this:

Release notes:

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.

@nunnatsa
nunnatsa deleted the sync_upstream_main_2026-04-23 branch April 27, 2026 20:21
@openshift-ci

openshift-ci Bot commented Apr 27, 2026

Copy link
Copy Markdown

@nunnatsa: 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.

@nunnatsa

Copy link
Copy Markdown
Author

/cherry-pick release-4.22

@openshift-cherrypick-robot

Copy link
Copy Markdown

@nunnatsa: new pull request created: #453

Details

In response to this:

/cherry-pick release-4.22

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.

@qinqon

qinqon commented May 5, 2026

Copy link
Copy Markdown

/retittle OCPBUGS-77929,OCPBUGS-66890: Sync upstream main 2026-04-23

@qinqon

qinqon commented May 5, 2026

Copy link
Copy Markdown

/jira refresh

@openshift-ci-robot

Copy link
Copy Markdown

@qinqon: Jira Issue OCPBUGS-66890 is in an unrecognized state (ON_QA) and will not be moved to the MODIFIED state.

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-77929,OCPBUGS-66890: Sync upstream main 2026-04-23

@openshift-ci openshift-ci Bot changed the title OCPBUGS-66890: Sync upstream main 2026-04-23 OCPBUGS-77929,OCPBUGS-66890: Sync upstream main 2026-04-23 May 5, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@nunnatsa: Jira Issue Verification Checks: Jira Issue OCPBUGS-77929
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-77929 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

Jira Issue OCPBUGS-66890 is in an unrecognized state (ON_QA) and will not be moved to the MODIFIED state.

Details

In response to this:

Release notes:

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: Jira Issue OCPBUGS-77929 is in an unrecognized state (MODIFIED) and will not be moved to the MODIFIED state.

Jira Issue OCPBUGS-66890 is in an unrecognized state (ON_QA) and will not be moved to the MODIFIED state.

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.

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. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants