dashboard: Dashboard 1.6.2 crashes on Node view
Steps to reproduce
Deploy Dashbaord v1.6.2 and click on “Nodes”
Environment
Installation method: kubeadm
Kubernetes version: 1.7.2
Dashboard version: v1.6.2
Commit: b7669ed2081e7b444f8db000704bd7d7f61395b3
Observed result
Dashboard reported Unknown Server Error:
No error data available
[2017-07-28T07:27:34Z] Incoming HTTP/1.1 GET /api/v1/node?filterBy=&itemsPerPage=15&namespace=&page=1&sortBy=d,creationTimestamp request from 10.32.0.1:64136: {}
panic: runtime error: index out of range
goroutine 164 [running]:
panic(0x1c6d8e0, 0xc420014060)
/home/travis/.gimme/versions/go1.7.1.linux.amd64/src/runtime/panic.go:500 +0x1a1
github.com/kubernetes/dashboard/src/app/backend/integration/metric/heapster.heapsterClient.ithResourceDownload.func1(0x2cc5e60, 0xc420392390, 0x1e95537, 0x4, 0x1e97a5e, 0x6, 0xc420b9a240, 0x2, 0x2, 0xc420a93e90, ...)
/home/travis/build/kubernetes/dashboard/.tmp/backend/src/github.com/kubernetes/dashboard/src/app/backend/integration/metric/heapster/client.go:171 +0x5a5
created by github.com/kubernetes/dashboard/src/app/backend/integration/metric/heapster.heapsterClient.ithResourceDownload
/home/travis/build/kubernetes/dashboard/.tmp/backend/src/github.com/kubernetes/dashboard/src/app/backend/integration/metric/heapster/client.go:177 +0x109
Comment
That only happens with the heapster fix from https://github.com/kubernetes/dashboard/pull/2181/files
Without the fix i can click on Node without any problem.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (7 by maintainers)
Duplicate of #2187 and fixed by #2193