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

Error watching PipelineRun logs with tkn #1847

Closed
lbernick opened this issue Jan 6, 2023 · 1 comment
Closed

Error watching PipelineRun logs with tkn #1847

lbernick opened this issue Jan 6, 2023 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@lbernick
Copy link
Member

lbernick commented Jan 6, 2023

Split off from tektoncd/pipeline#5964 (reported by @bendory).

Steps to Reproduce

Create a v1beta1 PipelineRun with kubectl create. tkn logs -f displays the following error (you have to wait a bit for it to show up):

W0106 10:47:22.093684   57016 reflector.go:347] github.com/tektoncd/pipeline/pkg/client/informers/externalversions/factory.go:117: watch of *v1.PipelineRun ended with: an error on the server ("unable to decode an event from the watch stream: unable to decode watch event: no kind \"PipelineRun\" is registered for version \"tekton.dev/v1\" in scheme \"github.com/tektoncd/pipeline/pkg/client/clientset/versioned/scheme/register.go:32\"") has prevented the request from succeeding

This error is only present when using the -f flag (which watches the pipelinerun for updates).
It's not present in the PipelineRun logs themselves.
This error should have been resolved by tektoncd/pipeline#5948 but it's unclear why it was not.
Not sure yet if this is an issue with Pipelines or tkn, but this can be transferred to the CLI repo if necessary.

Additional Info

  • Kubernetes version:

    Output of kubectl version:

$ kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.8", GitCommit:"fdc77503e954d1ee641c0e350481f7528e8d068b", GitTreeState:"clean", BuildDate:"2022-11-09T13:38:19Z", GoVersion:"go1.18.8", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.7-gke.900", GitCommit:"e35c4457f66187eff006dda6d2c0fe12144ef2ec", GitTreeState:"clean", BuildDate:"2022-10-26T09:25:34Z", GoVersion:"go1.18.7b7", Compiler:"gc", Platform:"linux/amd64"}
  • Tekton Pipeline version:
$ tkn version
Client version: 0.28.0
Chains version: v0.13.1
Pipeline version: v0.43.1
@lbernick
Copy link
Member Author

lbernick commented Jan 6, 2023

I think this may have been fixed by #1838 since I'm no longer seeing this error message using the CLI built from source.

@lbernick lbernick closed this as completed Jan 6, 2023
@dibyom dibyom transferred this issue from tektoncd/pipeline Jan 6, 2023
@piyush-garg piyush-garg added this to the 0.30.0 milestone Mar 27, 2023
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
Status: Done
Development

No branches or pull requests

2 participants