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
Use mount_dir = /var/lib/test and stage_publish_base_dir = /var/lib/test/publish for any CSI driver, and the mount point will not resolve properly and data could be at risk on CSI Plugin restart.
Expected Result
CSI Plugin Stanza validation should fail if stage_publish_base_dir is inside of mount_dir
Actual Result
CSI plugin stanza validation succeeds
Job file (if appropriate)
n/a - CSI plugin and job configuration
Nomad Server logs (if appropriate)
n/a
Nomad Client logs (if appropriate)
n/a
The text was updated successfully, but these errors were encountered:
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
Any nomad version 1.3.0 or greater
Operating system and Environment details
Any OS
Issue
If a CSI plugin uses
mount_dir = /var/lib/test
andstage_publish_base_dir = /var/lib/test/publish
, then this line will cause all mount points and underlying data to be at risk:https://github.com/hashicorp/nomad/blob/v1.3.0/client/allocrunner/taskrunner/plugin_supervisor_hook.go#L427-L430
Reproduction steps
Use
mount_dir = /var/lib/test
andstage_publish_base_dir = /var/lib/test/publish
for any CSI driver, and the mount point will not resolve properly and data could be at risk on CSI Plugin restart.Expected Result
CSI Plugin Stanza validation should fail if
stage_publish_base_dir
is inside ofmount_dir
Actual Result
CSI plugin stanza validation succeeds
Job file (if appropriate)
n/a - CSI plugin and job configuration
Nomad Server logs (if appropriate)
n/a
Nomad Client logs (if appropriate)
n/a
The text was updated successfully, but these errors were encountered: