Bug 2177969 - Tekton pipelines fails during retriving of tasks
Summary: Tekton pipelines fails during retriving of tasks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Infrastructure
Version: 4.13.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.14.0
Assignee: Karel Šimon
QA Contact: Geetika Kapoor
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-14 05:24 UTC by Geetika Kapoor
Modified: 2023-11-08 14:05 UTC (History)
2 users (show)

Fixed In Version: kubevirt-ssp-operator-rhel9-container-v4.14.0-108
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:05:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
pipeline_run_describe_yaml (54.56 KB, text/plain)
2023-03-14 05:24 UTC, Geetika Kapoor
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-26848 0 None None None 2023-03-14 05:24:57 UTC
Red Hat Issue Tracker SRVKP-3297 0 None None None 2023-09-09 00:06:29 UTC
Red Hat Product Errata RHSA-2023:6817 0 None None None 2023-11-08 14:05:48 UTC

Description Geetika Kapoor 2023-03-14 05:24:39 UTC
Created attachment 1950434 [details]
pipeline_run_describe_yaml

Description of problem:

Pipelines fails with error : Pipeline openshift-cnv/windows-efi-installer can't be Run; it contains Tasks that don't exist: Couldn't retrieve Task "create-vm-from-template": rpc error: code = Unknown desc = malformed header: missing HTTP content-type

But we have this task in our pipeline runs . Attached is the screenshot and also it fails for Task "create-vm-from-template" but it didn't trigger the task before it as well. 

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

How reproducible:
quite often after couple of pipelineruns

Steps to Reproduce:
1.Run automation to trigger pipelineref windows-efi-installer
2.
3.

Actual results:
Task exist. Pipeline failed and doesn't trigger any task.

Expected results:

Task exist. Pipeline should work
Additional info:

Comment 2 Karel Šimon 2023-03-21 08:50:09 UTC
This looks like some tasks were not deployed by TTO. Can you provide testing cluster to find out whats wrong?

Comment 3 Geetika Kapoor 2023-07-19 11:26:00 UTC
I will retry on new 4.14 builds

Comment 4 Geetika Kapoor 2023-07-27 16:23:46 UTC
Test env: CNV 4.14

While trying this test case, observed , pipelines get timeout since http server is not reachable:

BIOS: cleanup doesn't happen,(VM,dv,pvc  everything stays even after pipeline deletion). 

EFI : In case pf efi pipelines, delete-vm-rootdisk is being run but pod logs  is empty even though task is a success and nothing is deleted . Also as we delete pipelines all the dv,vm,pvc stays.

Pod logs should populate something as taskrun is a success. Since they are empty as a user i am unsure what happens there

Comment 5 Dominik Holler 2023-08-30 12:11:52 UTC
Is the clean-up working like expected, when bug #2227957 is fixed?

Comment 6 Geetika Kapoor 2023-08-31 08:29:58 UTC
Yes it should be fixed but since both use cases are different and needs testing

https://bugzilla.redhat.com/show_bug.cgi?id=2227957 --> for successful run and cleanup of leftovers

https://bugzilla.redhat.com/show_bug.cgi?id=2177969 --> for failed run and cleanup of leftovers

Comment 7 Dominik Holler 2023-09-06 09:08:22 UTC
moving this bug to ON_QE, because bug #2227957 is ON_QE

Comment 8 Geetika Kapoor 2023-09-08 23:52:57 UTC
Test Env: 

Deployed: OCP-4.14.0-ec.3
Deployed: CNV-v4.14.0.rhel9-1867

For a failed pipelinerun,delete pipelinerun, dv & pvc exists.

Comment 9 Karel Šimon 2023-09-13 11:13:11 UTC
This issue should be already fixed. The problems you are describing were caused by https://bugzilla.redhat.com/show_bug.cgi?id=2237916.

Comment 10 Geetika Kapoor 2023-10-02 11:31:27 UTC
This bug works in most cases. Might not work when we hit https://issues.redhat.com/browse/SRVKP-3297(which is known for now ).
In automation, we do forced cleanup when this situation happens

Comment 13 errata-xmlrpc 2023-11-08 14:05:05 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


Note You need to log in before you can comment on or make changes to this bug.