NetApp / netappdvp

A Docker volume plugin for NetApp storage
96 stars 33 forks source link

netapp.sock: no such file or directory #112

Closed julianojfsj closed 6 years ago

julianojfsj commented 6 years ago

Hello, i have the same issue as stated by post #86 but as the OP's (Sattera) issue hasn't been resolved and i'm stuck with the same error i would like to "re-open" this case to try and solve this issue.

I have Docker v17.06.0-ce running inside a Ubuntu Server v16.04.3 LTS and i tried to configure netappdvp using the Docker Managed Plugin Method as shown in this #page and i get the same error. As can be seen in the following image:

erro1

erro2

I would like to be able to execute the command to enable debugging on to the netappdvp plugin but it is done just as it tries to enable the plugin and when i try to do that, i get the same error shown in the second image.

Here is my config file: { "version": 1, "storageDriverName": "ontap-san", "managementLIF": "10.0.0.1", "dataLIF": "10.0.0.2", "svm": "SVM_Estudo", "username": "ndvp_user", "password": "*****", "aggregate": "aggr_01" }

I also tried with ontap-nas as storageDriverName, no good.

Thank you in advance.

clintonk commented 6 years ago

Hello, @julianojfsj. The error you see means the plugin didn't start. Please follow the troubleshooting steps outlined here and report back: http://netappdvp.readthedocs.io/en/latest/support.html

julianojfsj commented 6 years ago

Did the steps mentioned, got the same result, as shown on the image below.

image

clintonk commented 6 years ago

@julianojfsj We don't understand why you aren't seeing any log messages from the plugin. I suggest you try running netappdvp as a binary to see what errors it might be logging. Just grab the latest release from GitHub, unpack the binary, and run it. You'll need to use sudo (or run as root), and specify the config and debug parameters, i.e.:

sudo ./netappdvp --config /etc/netappdvp/config.json --debug

julianojfsj commented 6 years ago

I downloaded netappdvp through the wget function but i still think it did the same as if i would download from Github, anyways i executed that command with debug on and here is the output.

image

adkerr commented 6 years ago

Alright, now we have a cause 😄 It looks like you are supplying improper login credentials for the storage array, make sure you have the right username/password in your config file. If using a svm-scoped user, make sure you're pointing to the svm management LIF, if using a cluster-scoped user make sure you're pointing at the cluster management LIF.

clintonk commented 6 years ago

Thanks @julianojfsj. Looks like you've got incorrect or missing credentials in the config file. Can you check that, please?

julianojfsj commented 6 years ago

I did check it with the Storage people, and all seems good on their side. I am using the same credentials they determined for the SVM i am using, i even watched the guy do it on his screen. As kind of a side note, i would also like to provide this image, which shows that when i try to perform the Traditional Install Method, i follow the steps provided on the guide and when i perform the 4th step, i get this message:

image

clintonk commented 6 years ago

@julianojfsj, did you get this working? nDVP definitely won't work if you can't even do a manual login to the iSCSI target.

adkerr commented 6 years ago

Closing this pending update. If this needs to be reopened, please open in NetApp/Trident repo.