[Docker] Error when creating volume with nutanix volume plugin

  • 17 October 2017
  • 3 replies

Badge +1
Hello there,
can someone help me diagnose the problem I have with the nutanix volume plugin for docker.
I'm using the volume plugin 1.1.1 on ubuntu 16.04 xenial.

The following is my error
root@ubuntu:~# docker plugin lsID NAME DESCRIPTION ENABLEDaa0838bd9c56 nutanix:latest Nutanix volume plugin for docker trueroot@ubuntu:~# docker volume create ntnxtestvol --driver nutanix --opt sizeMb=20Error response from daemon: create ntnxtestvol: Post http://%2Frun%2Fdocker%2Fplugins%2Faa0838bd9c56662e901e31c63a4ca7c4d75a98786b290a19d7a5ddfcf2c91a93%2Fnutanix.sock/VolumeDriver.Create: EOF
The nvp.log says
2017-10-17 10:11:46 INFO volume.py:335 Capabilities call: {}2017-10-17 10:11:46 INFO volume.py:83 Get volume: {u'Name': u'ntnxtestvol'}2017-10-17 10:11:46 ERROR volume.py:92 Volume: ntnxtestvol not found2017-10-17 10:11:46 INFO volume.py:36 Volume create params: {u'Name': u'ntnxtestvol', u'Opts': {u'sizeMb': u'20'}}
Sadly I'm not able to find more information. Can anyone help out.

3 replies

Userlevel 4
Badge +21
Can you post the command you installed the plugin with? Did the container get created?
Userlevel 4
Badge +21
What does Docker volume ls show?
Badge +1
I'm sorry for the delay.

I got it working and I believe the main problem was that I gave the prism user only "Viewer" rights.