portable
portable copied to clipboard
Kubevious fails when API ressources NotFound
Describe the bug
Kubevious does not seems to work when some apiservices are Stuck or not available.
To Reproduce
Steps to reproduce the behavior:
http://localhost:5001[2021-12-03 02:13:40.560 +0000] ERROR (ParserContext/1 on 1449d13bf81b): Error connecting:
arg0: {
"status": 0,
"message": "connect ECONNREFUSED 172.18.100.90:6443",
"method": "GET",
"baseURL": "https://172.18.100.90:6443",
"url": "/api"
}
[2021-12-03 12:44:54.490 +0000] ERROR (ParserContext/1 on 1449d13bf81b): Error connecting:
arg0: {
"status": 503,
"message": "Service Unavailable",
"method": "GET",
"baseURL": "https://172.18.100.90:6443",
"url": "/apis/cluster.loft.sh/v1"
Expected behavior
The bellow ressources were in this state, Kubevious will fail with above errors:
v1.cluster.loft.sh loft/loft-agent-apiservice False (ServiceNotFound) 8h
v1.management.loft.sh loft/loft-apiservice False (ServiceNotFound) 8h
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Details:
- Kubernetes Distribution/Version 1.23.0.beta.0
- Local OS MacOS
- Browser safari
- Version Latest
Additional context
Add any other context about the problem here.
@uhlhosting, thanks for reporting. This had been fixed in Kubevious, but not yet ported to Portable version. I'll keep you posted once its done.