Skip to content

Can't init ec2 blueprint #78

@kgoedecke

Description

@kgoedecke

When trying to init the Amazon EC2 blueprint (aws-ec2-blueprint.yaml) I first get the following error output:

cfy local init -v -p aws-ec2-blueprint.yaml -i "image=ami-bc5b48d0;size=t1.micro;agent_user=ec2-user"

ImportError: mapping error: No module named diamond_agent.tasks [node=mongod, type=operations]

Possible solutions:
- Run 'cfy local init --install-plugins -p aws-ec2-blueprint.yaml'
- Run 'cfy local install-plugins -p aws-ec2-blueprint.yaml'

Running 'cfy local install-plugins -p aws-ec2-blueprint.yaml' gets me the following error:

(cloudify)vagrant@cloudify:~/cloudify-nodecellar-example$ cfy local install-plugins -p aws-ec2-blueprint.yaml
Downloading/unpacking https://github.com/cloudify-cosmo/cloudify-diamond-plugin/archive/1.3.1.zip (from -r /tmp/requirements_ts5Vuj.txt (line 1))
  Downloading 1.3.1.zip
  Running setup.py (path:/tmp/pip-aMcDCc-build/setup.py) egg_info for package from https://github.com/cloudify-cosmo/cloudify-diamond-plugin/archive/1.3.1.zip

Downloading/unpacking https://github.com/cloudify-cosmo/cloudify-aws-plugin/archive/1.3.1.zip (from -r /tmp/requirements_ts5Vuj.txt (line 2))
  Downloading 1.3.1.zip (116kB): 116kB downloaded
  Running setup.py (path:/tmp/pip-AnqxBY-build/setup.py) egg_info for package from https://github.com/cloudify-cosmo/cloudify-aws-plugin/archive/1.3.1.zip

Downloading/unpacking cloudify-plugins-common>=3.3.1 (from cloudify-diamond-plugin==1.3.1->-r /tmp/requirements_ts5Vuj.txt (line 1))
  Could not find a version that satisfies the requirement cloudify-plugins-common>=3.3.1 (from cloudify-diamond-plugin==1.3.1->-r /tmp/requirements_ts5Vuj.txt (line 1)) (from versions: 3.0, 3.1, 3.1rc2, 3.2.1, 3.2, 3.2a1, 3.2a2, 3.2a3, 3.2a4, 3.2a5, 3.2a6, 3.2a7, 3.2a8, 3.2rc1, 3.3, 3.3a1, 3.3a2, 3.3a4, 3.3a5, 3.3a6, 3.3a7, 3.3rc1)
Cleaning up...
No distributions matching the version for cloudify-plugins-common>=3.3.1 (from cloudify-diamond-plugin==1.3.1->-r /tmp/requirements_ts5Vuj.txt (line 1))
Storing debug log for failure in /home/vagrant/.pip/pip.log
Command 'pip install -r /tmp/requirements_ts5Vuj.txt' executed with an error.
code: 1
error: None
output: None

I'm running Cloudify out of the Vagrantfile provided in your Getting Started section.

Any idea how to fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions