Installation & Configuration

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

[Docker] Error when creating volume with nutanix volume plugin

Highlighted
Apprentice

[Docker] Error when creating volume with nutanix volume plugin

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 ls
ID                  NAME                DESCRIPTION                        ENABLED
aa0838bd9c56        nutanix:latest      Nutanix volume plugin for docker   true

root@ubuntu:~# docker volume create ntnxtestvol --driver nutanix --opt sizeMb=20
Error 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 found
2017-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.

Tags (2)
3 REPLIES
Nutanix Employee

Re: [Docker] Error when creating volume with nutanix volume plugin

Can you post the command you installed the plugin with? Did the container get created?
Tags (2)
Nutanix Employee

Re: [Docker] Error when creating volume with nutanix volume plugin

What does Docker volume ls show?
Tags (2)
Apprentice

Re: [Docker] Error when creating volume with nutanix volume plugin

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.