Skip to content

Storage Monitoring without longhorn #105

Description

@Wissiak

The "cluster storage" under /monitoring doesn't work if longhorn isn't installed:
Error in resultOrUndefined (anonymous-promise): TypeError: fetch failed TypeError: fetch failed
at async d.getNodeStorageInfo (.next/server/chunks/7300.js:47:55569)
at async d.resultOrUndefined (.next/server/chunks/7300.js:2:2648)
at async (.next/server/chunks/7300.js:47:47472)
at async k.getNodeResourceUsage (.next/server/chunks/7300.js:47:47137)
at async (.next/server/app/monitoring/page.js:1:582)
at async C (.next/server/chunks/7300.js:1:28685) {
[cause]: [Error: getaddrinfo ENOTFOUND longhorn-frontend.longhorn-system.svc.cluster.local] {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'longhorn-frontend.longhorn-system.svc.cluster.local'
}
}
TypeError: fetch failed
at async d.getAllLonghornVolumes (.next/server/chunks/7300.js:47:55130)
at async n.getAllAppVolumesUsage (.next/server/app/monitoring/page.js:7:9698)
at async (.next/server/app/monitoring/page.js:1:672)
at async C (.next/server/chunks/7300.js:1:28685) {
[cause]: [Error: getaddrinfo ENOTFOUND longhorn-frontend.longhorn-system.svc.cluster.local] {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'longhorn-frontend.longhorn-system.svc.cluster.local'
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions