nomad
nomad copied to clipboard
CSI volumes cannot be displayed in Nomad 1.8 GUI
Nomad version
Nomad 1.8.2
Issue
When loading the "Storage" page, CSI volumes are initially listed, but clicking on one triggers a 404 error, and the page tries to dynamically load more data, which also triggers 404 errors.
It looks like the UI is trying to call URLs with this pattern:
$NOMAD_ADDR/v1/plugin/csi%2Fplugin-name
$NOMAD_ADDR/v1/volume/csi%2Fvolume-name
The correct URLs appear to be:
$NOMAD_ADDR/v1/plugin/csi/plugin-name
$NOMAD_ADDR/v1/volume/csi/volume-name
Note the extraneous /
URL escaping.
Reproduction steps
Load https://nomad.url/ui/csi/volumes
Expected Result
Volume list is displayed, volume details can be viewed by clicking on a volume.
Actual Result
Volume list is displayed momentarily, but soon goes blank (or shows "No Volumes").
Clicking on a volume while it's displayed shows a "Not Found" error.