nomad icon indicating copy to clipboard operation
nomad copied to clipboard

CSI volumes cannot be displayed in Nomad 1.8 GUI

Open thetoothpick opened this issue 6 months ago • 6 comments

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").

nomad-volume-list

Clicking on a volume while it's displayed shows a "Not Found" error.

nomad-volume-details

thetoothpick avatar Aug 15 '24 19:08 thetoothpick