convoy
convoy copied to clipboard
Error occurs while Docker 1.10.3 daemon communciates with Convoy daemon v0.5.0-rc1
I have a Centos 7 machine with Docker 1.10.3 and Convoy v0.5.0-rc1 running.
I followed the Convoy setup instruction from this link: https://github.com/rancher/convoy#quick-start-guide and tried to create a Docker container with a convoy volume using this exact command: docker run -it -v vol1:/vol1 --volume-driver=convoy --name=test centos /bin/sh However, I received this exact error from the Docker daemon: docker: Error response from daemon: create vol1: create vol1: Error looking up volume plugin convoy: Plugin.Activate: 400 Bad Request: malformed Host header.
It seems to me the error occurs while the Docker daemon is communicating with the Convoy daemon. Does anyone know how to resolve this problem?
By the way, if I use Docker 1.10.3 and Convoy version v0.4.3 (an older release version), I do NOT see this problem. However, in Convoy release version v0.4.3, I see a few bugs. For example:
-
The 'docker volume ls' command show this error message: list convoy: VolumeDriver.List: Handler not found: POST /VolumeDriver.List
-
When I remove a Convoy volume using the Convoy client, Docker somehow does NOT detect this change.
convoy delete vol1
convoy list
{}
docker volume ls
list convoy: VolumeDriver.List: Handler not found: POST /VolumeDriver.List DRIVER VOLUME NAME convoy vol1
As a result, when I started a new container mounting to the same old volume, I received an error from the docker daemon indicating that it could not find the volume:
docker run -it -v vol1:/vol1 --volume-driver=convoy --name=test centos /bin/sh
docker: Error response from daemon: Couldn't find volume.
Can someone look into these bugs and fix them? Thank you.
@kcao3
Can you check if /var/run/convoy/convoy.sock
is there when you running with v0.5.0-rc1?