Azure / azurefile-dockervolumedriver

Docker Volume Driver for Azure File Service over SMB/CIFS :whale:
Apache License 2.0
169 stars 55 forks source link

Failed to start Azure File Service Docker Volume Driver. #30

Closed dhcgn closed 8 years ago

dhcgn commented 8 years ago

I created an Azure instance of "Docker on Ubuntu Server".

Docker on Ubuntu Server

And follow the instructions Ubuntu (systemd) installation instructions

But docker volume create doesn't work

dockeruser@dock-01:~$ docker volume create --name dock-share -d azurefile -o share=dock-share
Error response from daemon: create dock-share: create dock-share: Error looking up volume plugin azurefile: plugin not found

Log:

$ systemctl status azurefile-dockervolumedriver
● azurefile-dockervolumedriver.service - Azure File Service Docker Volume Driver
   Loaded: loaded (/etc/systemd/system/azurefile-dockervolumedriver.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit) since Sat 2016-05-14 11:04:55 UTC; 4min 47s ago
     Docs: https://github.com/Azure/azurefile-dockervolumedriver/

May 14 11:04:55 dock-01 systemd[1]: azurefile-dockervolumedriver.service: Service hold-off time over, scheduling restart.
May 14 11:04:55 dock-01 systemd[1]: Stopped Azure File Service Docker Volume Driver.
May 14 11:04:55 dock-01 systemd[1]: azurefile-dockervolumedriver.service: Start request repeated too quickly.
May 14 11:04:55 dock-01 systemd[1]: Failed to start Azure File Service Docker Volume Driver.
May 14 11:04:55 dock-01 systemd[1]: azurefile-dockervolumedriver.service: Unit entered failed state.
May 14 11:04:55 dock-01 systemd[1]: azurefile-dockervolumedriver.service: Failed with result 'start-limit'.

chmod of azurefile-dockervolumedriver

root@dock-01:~# ls -la /usr/bin/azurefile-dockervolumedriver
-rwxr-xr-x 1 root root 9640240 Mar 10 08:53 /usr/bin/azurefile-dockervolumedriver
ahmetb commented 8 years ago

@dhcgn can you please fetch the logs from journalctl -u azurefile-dockervolumedriver? It looks like something is causing service to start correctly.

dhcgn commented 8 years ago

My bad, sorry. I made a mistake during the setup.