Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipelinerun doesn't show status on k8s 1.22 #4158

Closed
sm43 opened this issue Aug 16, 2021 · 2 comments · Fixed by #4164
Closed

Pipelinerun doesn't show status on k8s 1.22 #4158

sm43 opened this issue Aug 16, 2021 · 2 comments · Fixed by #4164
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@sm43
Copy link
Member

sm43 commented Aug 16, 2021

Expected Behavior

pipelinerun runs successfully and show status even if it fails

Actual Behavior

pipelinrun doesn't show any status

Steps to Reproduce the Problem

  1. Install pipeline on k8s 1.22
  2. install any pipeline and create a pipelinerun
  3. check the status of pipelinerun

Additional Info

Controller shows following error


{"level":"error","ts":"2021-08-16T10:19:47.673Z","logger":"tekton-pipelines-controller","caller":"controller/controller.go:564","msg":"Reconcile error","commit":"42a632f","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","duration":0.017707999,"error":"admission webhook "webhook.pipeline.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "subresource"","stacktrace":"github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller.(*Impl).handleErr\n\tgithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:564\ngithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tgithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:541\ngithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller.(*Impl).RunContext.func3\n\tgithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:477"}


This might be an issue from knative/pkg, a similar issue was created knative/serving#11448

  • Kubernetes version:

    Output of kubectl version:

Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.5", GitCommit:"6b1d87acf3c8253c123756b9e61dac642678305f", GitTreeState:"archive", BuildDate:"2021-03-30T00:00:00Z", GoVersion:"go1.16", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.0", GitCommit:"c2b5237ccd9c0f1d600d3072634ca66cefdf272f", GitTreeState:"clean", BuildDate:"2021-08-04T20:01:24Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
  • Tekton Pipeline version:

    Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

Pipeline version: v0.27.0
@sm43 sm43 added the kind/bug Categorizes issue or PR as related to a bug. label Aug 16, 2021
@vdemeester
Copy link
Member

cc @mattmoor

@vdemeester
Copy link
Member

Might be related to knative/serving#11448 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants