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"
            }
          }
        }
      }
    ]
  }
}

Reply via email to