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

[Question] kpt cli fails intermittently #3936

Open
Cbkhare opened this issue Apr 27, 2023 · 3 comments
Open

[Question] kpt cli fails intermittently #3936

Cbkhare opened this issue Apr 27, 2023 · 3 comments
Assignees
Labels
area/porch question Further information is requested triaged Issue has been triaged by adding an `area/` label

Comments

@Cbkhare
Copy link

Cbkhare commented Apr 27, 2023

My kpt/Porch system fails intermittently or gives no output. Wanted to check what could be possible reasons for that.

$ kpt alpha repo get -A
NAME             TYPE   CONTENT   DEPLOYMENT   READY   ADDRESS
test-catalogue   git    Package   false        True    https://github.com/******/************************.git
$ kpt alpha rpkg get
  • no output in the above case. After some time below was the state.
$ kpt alpha rpkg get -A
Error: Unable to list "porch.kpt.dev/v1alpha1, Resource=packagerevisions": the server could not find the requested resource (get packagerevisions.porch.kpt.dev)
$ kpt alpha rpkg get -A
Error: Unable to list "porch.kpt.dev/v1alpha1, Resource=packagerevisions": the server could not find the requested resource (get packagerevisions.porch.kpt.dev)

log of the proch-controller

E0427 13:55:57.223156       1 reflector.go:140] pkg/mod/k8s.io/client-go@v0.25.3/tools/cache/reflector.go:169: Failed to watch *v1alpha1.PackageRevision: failed to list *v1alpha1.PackageRevision: the server is currently unable to handle the request (get packagerevisions.porch.kpt.dev)
W0427 13:56:36.596070       1 reflector.go:424] pkg/mod/k8s.io/client-go@v0.25.3/tools/cache/reflector.go:169: failed to list *v1alpha1.PackageRevision: the server is currently unable to handle the request (get packagerevisions.porch.kpt.dev)
E0427 13:56:36.596800       1 reflector.go:140] pkg/mod/k8s.io/client-go@v0.25.3/tools/cache/reflector.go:169: Failed to watch *v1alpha1.PackageRevision: failed to list *v1alpha1.PackageRevision: the server is currently unable to handle the request (get packagerevisions.porch.kpt.dev)

system details:

$ uname -a
Linux cbk-VirtualBox 5.15.0-71-generic #78~20.04.1-Ubuntu SMP Wed Apr 19 11:26:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ kind get clusters
management

Virtualbox details

  • 10 GB RAM
  • 6 core processor.

Workaround I am following is to redeploy the porch.

@Cbkhare Cbkhare added the question Further information is requested label Apr 27, 2023
@yuwenma yuwenma added the triaged Issue has been triaged by adding an `area/` label label Apr 27, 2023
@johnbelamaric
Copy link
Contributor

Can you get the logs from the porch-server Pod?

@mortent
Copy link
Contributor

mortent commented Apr 29, 2023

Yeah, the error here suggest that there is a problem with the Porch server. If you can provide the logs or any errors you might see in the logs, that would make it easier to understand what is going on.

@Cbkhare
Copy link
Author

Cbkhare commented May 2, 2023

thanks for the suggestion @mortent / @johnbelamaric . I recreated the proch-system and since then I have not hit the issue. I will update the details with porch-server logs when I encounter the issue again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/porch question Further information is requested triaged Issue has been triaged by adding an `area/` label
Projects
None yet
Development

No branches or pull requests

5 participants