Skip to content

chore(core, kubevirt): bump kubevirt to fix panic in CRD event handler#2420

Open
yaroslavborbat wants to merge 1 commit into
mainfrom
fix/core/bump-kubevirt-fix-crd-panic
Open

chore(core, kubevirt): bump kubevirt to fix panic in CRD event handler#2420
yaroslavborbat wants to merge 1 commit into
mainfrom
fix/core/bump-kubevirt-fix-crd-panic

Conversation

@yaroslavborbat
Copy link
Copy Markdown
Member

@yaroslavborbat yaroslavborbat commented Jun 1, 2026

Description

Bump 3p-kubevirt to include a fix for a panic in the CRD event handler.

Upstream PR: deckhouse/3p-kubevirt#123

Why do we need it, and what problem does it solve?

crdAddedDeleted performed an unsafe type assertion obj.(*extv1.CustomResourceDefinition). When the informer delivered a tombstone object (*cache.DeletedFinalStateUnknown) on a missed DELETE event, the assertion panicked and crashed virt-controller.

What is the expected result?

virt-controller no longer panics when a CRD DELETE event delivers a tombstone object.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: core
type: fix
summary: Fix panic in kubevirt CRD event handler on tombstone object delivery.
impact_level: low

@yaroslavborbat yaroslavborbat requested a review from Isteb4k as a code owner June 1, 2026 08:51
@yaroslavborbat yaroslavborbat added this to the v1.9.0 milestone Jun 1, 2026
fl64
fl64 previously approved these changes Jun 1, 2026
Signed-off-by: Yaroslav Borbat <yaroslav.borbat@flant.com>
@yaroslavborbat yaroslavborbat force-pushed the fix/core/bump-kubevirt-fix-crd-panic branch from cab15dd to a964668 Compare June 2, 2026 07:36
@yaroslavborbat yaroslavborbat requested a review from fl64 June 2, 2026 07:36
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