cloudify-cosmo / cloudify-cli

Cloudify's CLI
Apache License 2.0
42 stars 47 forks source link

Cannot install docker plugin #299

Closed qinghua closed 8 years ago

qinghua commented 8 years ago

Hi, I'm using an vagrant ubuntu image, and installed cloudify 3.3.1 by sudo python get-cloudify.py.

When I tried to run cfy local init --install-plugins -p singlehost-blueprint.yaml described in cloudify-nodecellar-docker-example, I got an error message: You must be running inside a virtualenv to install blueprint plugins. However, I'm inside a virtual env(vagrant ubuntu).

If I run cfy local init -p singlehost-blueprint.yaml without --install-plugins, I got another error message: mapping error: No module named docker_plugin.tasks.

Any ideas/workarounds?

qinghua commented 8 years ago

My workaround is to use requirement like the following:

cfy local create-requirements -o requirements.txt -p blueprint.yaml
sudo pip install -r requirements.txt