Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-3024

Huge pipelineruns are not getting listed/deleted using oc/tkn

    XMLWordPrintable

Details

    • 1
    • False
    • None
    • False
    • Hide
      TaskRun and PipelineRun payload JSON is added to annotations to facilitate conversion. This JSON payload is occasionally too large to fit into annotations and the maximum size limit of annotations (256 kB, combined limit for all annotations) is exceeded leading to errors while fetching Tekton workloads.

      With this change, the JSON payload is compressed before adding to the annotations. This helps in reducing the size footprint of the annotations quite a bit. The data is further encoded after compression so as to sanitize the compressed data which is in binary.
      Once the annotations are added, the size is validated and an error is returned if the annotions size limit is exceeded.
      Show
      TaskRun and PipelineRun payload JSON is added to annotations to facilitate conversion. This JSON payload is occasionally too large to fit into annotations and the maximum size limit of annotations (256 kB, combined limit for all annotations) is exceeded leading to errors while fetching Tekton workloads. With this change, the JSON payload is compressed before adding to the annotations. This helps in reducing the size footprint of the annotations quite a bit. The data is further encoded after compression so as to sanitize the compressed data which is in binary. Once the annotations are added, the size is validated and an error is returned if the annotions size limit is exceeded.
    • Pipelines Sprint 238, Pipelines Sprint 239, Pipelines Sprint 240, Pipelines Sprint 241, Pipelines Sprint 242, Pipelines Sprint 243, Pipelines Sprint 246, Pipelines Sprint 247, Pipelines Sprint 249, Pipelines Sprint 250, Pipelines Sprint 251, Pipelines Sprint 252, Pipelines Sprint 253

    Description

      Description of problem:

      Huge pipelineruns are not getting listed/deleted using oc/tkn

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      •  Install Openshift Pipelines 1.10.1
      • Create a huge pipelinerun
      • Try to delete the pipelinerun using command `oc delete pipelinerun <pr-name>`

       

      Actual results:

      Listing/deleting pipelienrun is throwing error 

      Error from server: conversion webhook for tekton.dev/v1beta1, Kind=PipelineRun returned invalid metadata: metadata.annotation: Too long: must have at most 262144 bytes 

       

      Expected results:

      Pipelinerun should get listed/deleted

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              varadhya Veeresh Aradhya
              Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: