Bug 2156857

Summary: Cancelling pipeline run cause failure in existing taskruns and teardown tasks
Product: Container Native Virtualization (CNV) Reporter: Geetika Kapoor <gkapoor>
Component: InfrastructureAssignee: Karel Šimon <ksimon>
Status: NEW --- QA Contact: Geetika Kapoor <gkapoor>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.12.0CC: dholler, ksimon, ycui
Target Milestone: ---   
Target Release: future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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
Pipeline_Image none

Description Geetika Kapoor 2022-12-29 02:51:47 UTC
Created attachment 1934843 [details]
Pipeline_Image

Description of problem:

Cancelling a pipeline in between causes failure in teardown as well as in the ongoing tasks.

wait-for-vmi-status

TaskRun "windows10-customize-qleuwj-wait-for-vmi-status" failed to finish within "59m44.722923301s"

cleanup-vm

failed to create task run pod "windows10-customize-qleuwj-cleanup-vm": Pod "windows10-customize-qleuwj-cleanup-vm-pod" is invalid: spec.activeDeadlineSeconds: Invalid value: 0: must be between 1 and 2147483647, inclusive. Maybe missing or invalid Task openshift-cnv/cleanup-vm


delete-template-customize


failed to create task run pod "windows10-customize-qleuwj-delete-template-customize": Pod "windows10-customize-qleuwj-delete-template-customize-pod" is invalid: spec.activeDeadlineSeconds: Invalid value: 0: must be between 1 and 2147483647, inclusive. Maybe missing or invalid Task openshift-cnv/modify-vm-template

Also, even after failures, status remains as cancelling.

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

4.12 
How reproducible:
always 

Steps to Reproduce:
1.use windows10-customize pipeline.
2.
3.

Actual results:


Expected results:


Additional info:

Attaching screenshot for reference.