ScatterHQ / flocker

Container data volume manager for your Dockerized application
Apache License 2.0
69 stars 9 forks source link

Error looking up volume plugin flocker: legacy plugin: plugin not found #5

Open VAdamec opened 7 years ago

VAdamec commented 7 years ago

Hi, I tried to use Ansible role https://github.com/ClusterHQ/ansible-role-flocker, servers seems to be correctly setup, but when I try to create volume I'm getting this:

$ docker run -v apples:/data --volume-driver flocker busybox sh -c "echo hello > /data/file.txt"
docker: Error response from daemon: create apples: create apples: Error looking up volume plugin flocker: legacy plugin: plugin not found.

Running pocesses on nodes and controller

ps -ef | grep flocker
/opt/flocker/bin/python /usr/sbin/flocker-dataset-agent --journald
/opt/flocker/bin/python /usr/sbin/flocker-container-agent --journald
# + on controll node:
/opt/flocker/bin/python /usr/sbin/flocker-control --port tcp:4523 --agent-port tcp:4524 --journald

OS: CentOS Linux release 7.2.1511 (Core) RPM: clusterhq-python-flocker-1.15.0-1.x86_64 clusterhq-flocker-docker-plugin-1.15.0-1.noarch clusterhq-flocker-node-1.15.0-1.noarch Backend: OpenStack Cinder

Running it as a container failing on missing/deprecated images, but https://flocker-docs.clusterhq.com/en/latest/supported/flockercontainers.html#flocker-containers shows also clusterhq/flocker-docker-plugin is this some legacy stuff ?

Any help appreciated. Thanks

VAdamec commented 7 years ago

Wrong window :-) issue moved from legacy https://github.com/ClusterHQ/flocker/issues/2998