Closed SunSparc closed 3 months ago
Thanks for the report @SunSparc. Until we ship a fix for the CLI you can use curl
or nomad operator api
to work around this:
nomad operator api -X DELETE /v1/volume/csi/fa7d1a0d-9e03-a85b-fd55-a9071c79632f
https://developer.hashicorp.com/nomad/api-docs/volumes#deregister-volume
PR in progress here: https://github.com/hashicorp/nomad/pull/23502
Nomad version
client v1.5.5
server v1.5.3
Operating system and Environment details
macOS Ventura 13.3.1 (a)
Issue
Reproduction steps
Create multiple volume, one of which is identified solely by characters which are identical to the "prefix" used on the others.
Expected Result
An ID should not be treated as a prefix. I expect to provide an ID and have Nomad recognize it as such.
Actual Result
Cannot deregister/detach/delete a volume that has an identifier that matches initial characters of another volume identifier.
Related Issues