-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for nomad #52
Comments
Hi @shumin1027. It seems this error originates from having non-nil AccessibilityRequirements (i.e. topology) in CreateVolumeRequest rather than AccessMode. cvmfs-csi/internal/cvmfs/controller/csiserver.go Lines 205 to 207 in 18097c8
I don't have Nomad environment at hand so I cannot test this. Can you pass logs from the controller plugin (running with |
Another way to do this is to create the volume manually (similar to how you would manually create a PersistentVolume and its PersistentVolumeClaim in Kubernetes). Is this possible in Nomand? That way you would circumvent the provisioning stage. You can see a Kubernetes example for this here: https://github.com/cvmfs-contrib/cvmfs-csi/blob/master/example/volume-pv-pvc.yaml |
@gman0 nomad volume create cvmfs.volume.hcl This is the log output by the controller plugin when creating a volume manually:
|
What I meant is to just register an existing volume without actually triggering The volume itself is "virtual", it's just a reference for cvmfs-csi. |
Relaxing validation and letting it pass on |
@gman0 nomad volume register cvmfs.volume.hcl
https://github.com/juicedata/juicefs-csi-driver/blob/master/docs/en/cookbook/csi-in-nomad.md |
Is there an error message we could troubleshoot? My first guess would be missing I'm not sure I understood correctly, but cvmfs-csi doesn't distinguish between "mount-by-pod" and "mount-by-process". The cvmfs-csi node plugin needs to be already running on all nodes of the cluster that are expected to use CVMFS volumes (DaemonSet in Kubernetes terminology). |
@gman0 Thank you for your help,your guess might be right, |
Thanks for following this up, @shumin1027. We can continue once this is resolved in Nomad. |
@gman0 When I use the But when I use the |
I try to use
cvmfs
throughCSI Plugin
innomad
, but I encounter problems when creatingvolume
it seems that theaccess_mode
parameter configured in nomad is not supportedhere is my
volume
config file:the error info:
Can you provide an example of using
cvmfs csi
innomad
?Ref: #51
The text was updated successfully, but these errors were encountered: