Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-23480

[2155088] tekton pipelineruns are getting stuck if stopped in middle of taskruns

XMLWordPrintable

    • Medium
    • No

      Description of problem:
      tekton pipelineruns are getting stuck if stopped in middle of taskruns (example: wait-for-vmi-status). This will show that piperuns are getting cancelled but even after 15 mins they are not cancelled.All the resouces are in stuck mode.

      oc get pipelineruns -A -w
      NAMESPACE NAME SUCCEEDED REASON STARTTIME COMPLETIONTIME
      openshift-cnv test-io-ing-yu Unknown StoppedRunningFinally 32m

      When pipelines are deleted in middle of taskruns we see leftovers like vm,vmi.

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

      How reproducible:
      always when we tried to interrupt a taskrun

      Steps to Reproduce:
      1.when vmi task starts , perform a stop operation and pipelines get stuck.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

      For all kind of operation that we perform 'type' is always succeeded. is it right information?

      {'lastTransitionTime': '2022-12-19T22:40:43Z', 'message': 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Incomplete: 6, ' 'Skipped: 0', 'reason': 'Running', 'status': 'Unknown', 'type': 'Succeeded'}

              ksimon@redhat.com Karel Simon
              gkapoor@redhat.com Geetika Kapoor
              Geetika Kapoor Geetika Kapoor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: