ClusterHQ / flocker

Container data volume manager for your Dockerized application
https://clusterhq.com
Apache License 2.0
3.39k stars 290 forks source link

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

Closed VAdamec closed 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

https://github.com/ScatterHQ/flocker/issues/5