Hi, we installed ICP4D over ICP and we have problem with admin pages (workers and monitoring)
On Admin Dashboarda site there is 502 (image below). From K8s, ngnix:
kubectl logs ibm-nginx-98bb8fddc-6l44p –f
2019/01/28 14:37:26 [error] 579#579: *49581 upstream prematurely closed connection while reading response header from upstream, client: 10.1.219.64, server: localhost, request: "GET /api/v1/metrics/getNetworkAndMetricInfo HTTP/1.1", upstream: "http://10.0.129.117:3010/metrics/getNetworkAndMetricInfo", host: "172.17.255.240:31843", referrer: "https://172.17.255.240:31843/dsx-admin/"
Na podstawie IP 10.0.129.117 znalazłem serwis dash-back, co doprowadziło mnie do tego poda :
kubectl logs -n kube-system dash-back-deploy-5f9f97c7f4-269z2
TypeError: Cannot read property 'transmitBytes' of undefined
at /usr/src/app/package/lib/metrics-calculation.js:133:25
at /usr/src/app/package/node_modules/mongoose/lib/model.js:4092:16
at /usr/src/app/package/node_modules/mongoose/lib/aggregate.js:769:13
at /usr/src/app/package/node_modules/kareem/index.js:131:16
at args.(anonymous function) (/usr/local/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:138:29)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
2019-01-28T14:44:42: PM2 log: App [server:0] exited with code [1] via signal [SIGINT]
2019-01-28T14:44:42: PM2 log: App [server:0] starting in -fork mode-
2019-01-28T14:44:42: PM2 log: App [server:0] online
(node:4751) DeprecationWarning: `openSet()` is deprecated in mongoose >= 4.11.0, use `openUri()` instead, or set the `useMongoClient` option if using `connect()` or `createConnection()`. See
http://mongoosejs.com/docs/4.x/docs/connections.html#use-mongo-clientOn "Workers" sub-page we see only one from 150 workers but with no info
Could you help with this?
Thanks,
Marcin
------------------------------
Marcin Lewiarz
------------------------------
#CloudPakforDataGroup