You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wildcard namespace selector ('*') does not list CSI volumes from all namespaces. It appears to be treating it as a specific namespace as it doesn't return any volumes from any namespace (including the default). This happens both in the Nomad UI as well as from the command line.
➜ nomad volume status -namespace=default
Container Storage Interface
ID Name Plugin ID Schedulable Access Mode
metrics_prometheus metrics_prometheus cinder-csi true single-node-writer
tf_registry tf_registry cinder-csi true single-node-writer
tf_registry_mongodb tf_registry_mongodb cinder-csi true single-node-writer
➜ nomad volume status -namespace=awesomes
Container Storage Interface
ID Name Plugin ID Schedulable Access Mode
metrics_influxdb metrics_influxdb cinder-csi true single-node-writer
➜ nomad volume status -namespace='*'
Container Storage Interface
No CSI volumes
Reproduction steps
Spin up a Nomad Server and Client (With ACL's enabled, have not tested without ACL's).
Create an additional Namespace
Deploy a CSI plugin
Create 2 CSI volumes, one in the default namespace and the other in the created namespace.
Run the nomad volume status command specifying each namespace separately and notice the volumes appear as expected.
Run the nomad volume status -namespace='*' command and see that it returns that there are no volumes.
Expected Result
The nomad volume status -namespace='*' command should output all volumes from all namespaces
Actual Result
The nomad volume status -namespace='*' does not return any volumes
Job file (if appropriate)
Nomad Server logs (if appropriate)
Can provide upon request
Nomad Client logs (if appropriate)
N/A
Nomad UI Screenshots
The text was updated successfully, but these errors were encountered:
This is a known missing feature of the API. The original work to add the * namespace was focused on jobs and allocations. #7341 is the issue that involves adding this operator to other endpoints as well. Once this option is available via the API, the UI and CLI can start levering it.
I will close this one to keep the discussion there. Feel free to 👍 that issue or let us know if there's anything missing.
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Operating system and Environment details
Issue
The wildcard namespace selector ('*') does not list CSI volumes from all namespaces. It appears to be treating it as a specific namespace as it doesn't return any volumes from any namespace (including the default). This happens both in the Nomad UI as well as from the command line.
➜ nomad volume status -namespace=awesomes Container Storage Interface ID Name Plugin ID Schedulable Access Mode metrics_influxdb metrics_influxdb cinder-csi true single-node-writer
➜ nomad volume status -namespace='*' Container Storage Interface No CSI volumes
Reproduction steps
nomad volume status
command specifying each namespace separately and notice the volumes appear as expected.nomad volume status -namespace='*'
command and see that it returns that there are no volumes.Expected Result
The
nomad volume status -namespace='*'
command should output all volumes from all namespacesActual Result
The
nomad volume status -namespace='*'
does not return any volumesJob file (if appropriate)
Nomad Server logs (if appropriate)
Can provide upon request
Nomad Client logs (if appropriate)
N/A
Nomad UI Screenshots
The text was updated successfully, but these errors were encountered: