hashicorp / nomad

Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
https://www.nomadproject.io/
Other
14.79k stars 1.94k forks source link

CSI volumes cannot be displayed in Nomad 1.8 GUI #23831

Open thetoothpick opened 1 month ago

thetoothpick commented 1 month ago

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

tgross commented 1 month ago

Hi @thetoothpick! This should already be fixed in Nomad 1.8.3 by https://github.com/hashicorp/nomad/pull/23625 (I see it on the changelog)

thetoothpick commented 1 month ago

@tgross oh great - sorry for the duplicate!

4W5ZeZPMc commented 3 weeks ago

i have updated to 1.8.3 bug is still occurring

4W5ZeZPMc commented 3 weeks ago

@tgross can u reopen this issue or should i create a new one?

robbiexiong commented 3 weeks ago

having same issue here. also update to 1.8.3

tgross commented 1 week ago

Reopening.