Bug 2227957

Summary: tekton pipelines leftovers after successful runs
Product: Container Native Virtualization (CNV) Reporter: Geetika Kapoor <gkapoor>
Component: InfrastructureAssignee: Karel Šimon <ksimon>
Status: CLOSED ERRATA QA Contact: Geetika Kapoor <gkapoor>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.14.0CC: ksimon, ycui
Target Milestone: ---   
Target Release: 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubevirt-ssp-operator-rhel9-container-v4.14.0-104 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:06:16 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
yaml for efi none

Description Geetika Kapoor 2023-07-31 22:21:56 UTC
Created attachment 1980982 [details]
yaml for efi

Description of problem:
For successful pipelines and cleanup jobs being run , there are pvc leftovers in bound and terminating states. 


$ oc get prs -A
NAMESPACE       NAME                           SUCCEEDED   REASON      STARTTIME   COMPLETIONTIME
openshift-cnv   windows-efi-installer-96esji   True        Succeeded   6h30m       6h12m

Leftovers:

$ oc get pvc -A | grep win11-ns1
openshift-cnv                        win11-ns1-5sj9j                                                  Terminating   pvc-17e7f059-d87c-4797-91cd-3f823798a4d4   329Gi      RWO            hostpath-csi-basic   6h33m
test-tekton-03                       win11-ns1                                                        Bound         pvc-09e836a2-7ba7-44e3-8e4e-8e3d713afb40   329Gi      RWO            hostpath-csi-basic   6h18m
$ oc get pvc -A | grep windows-efi-root-disk-c7wgb
openshift-cnv                        windows-efi-root-disk-c7wgb                                      Bound         pvc-b4dbab38-67a2-4c4e-b8a3-5468a66d641e   329Gi      RWO            hostpath-csi-basic   6h16m

2. Logs of cleanup pods are mostly empty and didn't describe any action data for user's reference.

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

How reproducible:
always (ran twice)

Steps to Reproduce:
1. yaml attached that can be used to reproduce
2.
3.

Actual results:

cleanup is not as expected

Expected results:


Additional info:

Comment 2 Geetika Kapoor 2023-09-27 11:36:01 UTC
Test Env:

Deployed: OCP-4.14.0-rc.2
Deployed: CNV-v4.14.0.rhel9-2094

No leftovers are found after successful runs. VM and DV,PVC(rookdisk) cleanup works as expected

Comment 4 errata-xmlrpc 2023-11-08 14:06:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:6817