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

Pipelineruns/Taskruns status fields are not getting updated in 4.9 cluster.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • Pipelines 1.5.1
    • None
    • None
    • None
    • 3
    • False
    • False
    • undefined
    • Pipelines Sprint 206

      In ocp-4.9 cluster, on creating a new pipelineRun object, the status field is not getting updated on pipelinerun and taskrun objects.

      logs:

       

      {"level":"error","ts":"2021-08-16T06:55:54.855Z","logger":"tekton-pipelines-controller","caller":"controller/controller.go:548","msg":"Reconcile error","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","duration":0.075647903,"error":"admission webhook \"webhook.pipeline.tekton.dev\" denied the request: mutation failed: cannot decode incoming new object: json: unknown field \"subresource\"","stacktrace":"knative.dev/pkg/controller.(*Impl).handleErr\n\t/opt/app-root/src/go/src/github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:548\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\t/opt/app-root/src/go/src/github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:531\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\t/opt/app-root/src/go/src/github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:468"}
      {"level":"info","ts":"2021-08-16T06:55:54.855Z","logger":"tekton-pipelines-controller.event-broadcaster","caller":"record/event.go:282","msg":"Event(v1.ObjectReference
      {Kind:\"PipelineRun\", Namespace:\"karthik\", Name:\"nodejs-ex-yar8dg\", UID:\"13462219-57d4-42ca-be91-0ff2036d7618\", APIVersion:\"tekton.dev/v1beta1\", ResourceVersion:\"37938\", FieldPath:\"\"}
      ): type: 'Warning' reason: 'UpdateFailed' Failed to update status for \"nodejs-ex-yar8dg\": admission webhook \"webhook.pipeline.tekton.dev\" denied the request: mutation failed: cannot decode incoming new object: json: unknown field \"subresource\""}
      

       

      Additional Info:

      Similar issue -  https://github.com/knative/serving/issues/11448 

      here is the original slack thread for reference.

              vdemeest Vincent Demeester
              karthik.jk Karthik Jeeyar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: