You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Marc Roos <M....@f1-outsourcing.eu> on 2020/12/15 21:46:26 UTC
csi volume
When I create this task[2], I am getting the error message:
"There was a problem with your configuration
general: App creation unsuccessful. Check your app settings and try
again."
I have the csi managed plugin running and can mount with the command
line csc[1]. What should I look at to fix this?
[1]
# csc -e unix:///tmp/mesos-csi-Xxe00V/endpoint.sock node publish --cap
SINGLE_NODE_WRITER,mount,nfs --target-path /mnt/test --vol-context
'server=192.168.10.58,share=/test' 192.168.10.58/test
[2]
{
"id": "app1",
"instances": 1,
"cpus": 1,
"mem": 32,
"cmd": "echo yes > xxx/file && sleep 3600",
"container": {
"type": "MESOS",
"volumes": [
{
"containerPath": "xxx",
"mode": "rw",
"external": {
"provider": "csi",
"name": "no-need",
"options": {
"pluginName": "nfs.csi.k8s.io",
"capability": {
"accessType": "mount",
"accessMode": "MULTI_NODE_MULTI_WRITER",
"fsType": "nfs"
},
"volumeContext": {
"server": "192.168.10.58",
"share": "/mnt/test"
}
}
}
}
]
}
}