Bug 2039976

Summary: Pod stuck in "Terminating" state when removing VM with kernel boot and container disks
Product: Container Native Virtualization (CNV) Reporter: Denys Shchedrivyi <dshchedr>
Component: VirtualizationAssignee: Itamar Holder <iholder>
Status: CLOSED DEFERRED QA Contact: Akriti Gupta <akrgupta>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.10.0CC: acardace, cnv-qe-bugs, iholder, kbidarka, sgott
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry-container-v4.11.0-315 virt-operator-container-v4.11.0-55 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 18:56:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
VM yaml none

Description Denys Shchedrivyi 2022-01-12 20:13:57 UTC
Created attachment 1850463 [details]
VM yaml

Description of problem:
 When I'm trying to delete VM with kernelBoot and some container disks - VM object is removed, but the pod is stuck in "Terminating" state:

> # oc get pod
> NAME                                       READY   STATUS        RESTARTS   AGE
> virt-launcher-vm-cirros-kernelboot-bbghb   0/3     Terminating   0          22m

> # oc describe pod | grep Terminating
> Status:                    Terminating (lasts 21m)


Version-Release number of selected component (if applicable):
CNV-4.10


Steps to Reproduce:
1. Create VM with kernelBoot block and some container disks
2. Run VM
3. Remove VM

Actual results:
VM removed, but POD stuck in "Terminating" state

Expected results:
POD should be removed

Additional info:
Attached used vm.yaml and pod describe

Comment 1 Denys Shchedrivyi 2022-01-12 20:14:36 UTC
Created attachment 1850464 [details]
pod describe

Comment 2 sgott 2022-01-26 20:51:37 UTC
Moving this to the next release because kernel boot is not an officially documented feature.

Comment 4 Kedar Bidarkar 2022-05-11 15:36:27 UTC
Moving this to 4.12 as this feature is not productized yet.

Comment 5 sgott 2022-05-17 18:56:45 UTC
Closing this as deferred per Comment #4