rancher / convoy

A Docker volume plugin, managing persistent container volumes.
Apache License 2.0
1.31k stars 135 forks source link

Unable to connect to convoy.sock #214

Open stowns opened 7 years ago

stowns commented 7 years ago

When starting up docker engine on rhel7.

level=warning msg="Unable to connect to plugin: /var/run/convoy/convoy.sock/Plugin.Activate: Post http://%2Fvar%2Frun%2Fconvoy%2Fconvoy.sock/Plugin.Activate: dial unix /var/run/convoy/convoy.sock: connect: no such file or directory, retrying in 1s
convoy info

{
"General": {
    "Root": "/var/lib/rancher/convoy",
    "DriverList": [
        "devicemapper"
    ],
    "DefaultDriver": "devicemapper",
    "MountNamespaceFD": "",
    "IgnoreDockerDelete": false,
    "CreateOnDockerMount": false,
    "CmdTimeout": ""
},
"devicemapper": {
    "DataDevice": "/dev/mapper/vg_docker-thinpool_v",
    "DefaultVolumeSize": "107374182400",
    "Driver": "devicemapper",
    "Filesystem": "ext4",
    "MetadataDevice": "/dev/mapper/vg_docker-thinpoolmeta_v",
    "Root": "/var/lib/rancher/convoy/devicemapper",
    "ThinpoolBlockSize": "2097152",
    "ThinpoolDevice": "/dev/mapper/convoy-pool",
    "ThinpoolSize": "633507676160"
}
}

/var/run/convoy/convoy.sock exists. I'm not sure if this is a permissions issue or?

ls -l /var/run/convoy/
total 0
srwxr-xr-x 1 root root 0 Jun  6 17:08 convoy.sock

Convoy log as a couple errors in it

level=error msg="Handler not found: POST /VolumeDriver.Capabilities" pkg=daemon
...
level=error msg="http server erroraccept unix /var/run/convoy/convoy.sock: use of closed network connection" pkg=daemon
yasker commented 7 years ago

Can you try if standard convoy command works? Also, can you show the full log of convoy daemon?