Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
Original issue URL: https://github.com/kptdev/kpt/issues/3936
Original issue user: https://github.com/Cbkhare
Original issue created at: 2023-04-27T17:06:14Z
Original issue last updated at: 2023-05-02T10:44:06Z
Original issue body: 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 nephio-project/porch-issue-transfer#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.
Original issue comments:
Comment user: https://github.com/johnbelamaric
Comment created at: 2023-04-27T21:40:13Z
Comment last updated at: 2023-04-27T21:40:13Z
Comment body: Can you get the logs from the porch-server Pod?
Comment user: https://github.com/mortent
Comment created at: 2023-04-29T21:23:28Z
Comment last updated at: 2023-04-29T21:23:28Z
Comment body: 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.
Comment user: https://github.com/Cbkhare
Comment created at: 2023-05-02T10:44:06Z
Comment last updated at: 2023-05-02T10:44:06Z
Comment body: 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.
Original issue URL: https://github.com/kptdev/kpt/issues/3936 Original issue user: https://github.com/Cbkhare Original issue created at: 2023-04-27T17:06:14Z Original issue last updated at: 2023-05-02T10:44:06Z Original issue body: My kpt/Porch system fails intermittently or gives no output. Wanted to check what could be possible reasons for that.
log of the proch-controller
system details:
Virtualbox details
Workaround I am following is to redeploy the porch.
Original issue comments: Comment user: https://github.com/johnbelamaric Comment created at: 2023-04-27T21:40:13Z Comment last updated at: 2023-04-27T21:40:13Z Comment body: Can you get the logs from the porch-server Pod?
Comment user: https://github.com/mortent Comment created at: 2023-04-29T21:23:28Z Comment last updated at: 2023-04-29T21:23:28Z Comment body: 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.
Comment user: https://github.com/Cbkhare Comment created at: 2023-05-02T10:44:06Z Comment last updated at: 2023-05-02T10:44:06Z Comment body: 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.