Skip to content

Problem with EC2 - "No master node could be found" #628

@carpemonf-zz

Description

@carpemonf-zz

Hi,

I'm not able to run any workflow using AWS Profiles. I can add a profile in the preferences page and the status reads available. However, when I try to run something using this profile I got the following error in the setup_cluter log:

[14:06:52.933] INFO: Created cluster: 5d1df9ec13a7512240b2d950
[14:06:53.015] INFO: Starting cluster.
[14:06:54.362] ERROR: Exception raise by task.
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "/cumulus/cumulus/taskflow/__init__.py", line 117, in wrapped
    return func(celery_task, *args, **kwargs)
  File "/cumulus/cumulus/taskflow/cluster/__init__.py", line 115, in setup_cluster
    cluster = launch_ec2_cluster(task, cluster, profile)
  File "/cumulus/cumulus/taskflow/cluster/__init__.py", line 279, in launch_ec2_cluster
    launch_params, girder_token, log_write_url, 'running')
  File "/usr/local/lib/python3.6/site-packages/celery/local.py", line 188, in __call__
    return self._get_current_object()(*a, **kw)
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 439, in __protected_call__
    return orig(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/celery/app/task.py", line 420, in __call__
    return self.run(*args, **kwargs)
  File "/cumulus/cumulus/ansible/tasks/cluster.py", line 102, in launch_cluster
    master = p.get_master_instance(cluster['_id'])
  File "/cumulus/cumulus/ansible/tasks/providers/ec2.py", line 136, in get_master_instance
    {'Name': 'instance-state-name', 'Values': ['running']}]))
Exception: No master node could be found!

I followed the instructions at https://kitware.github.io/HPCCloud/docs/usage__aws-profiles.html and added the required policies through the IAM Management Console. Please also note that ec2:DescribeRouteTable was unrecognizded, should this be ec2:DescribeRouteTables?

Thanks,
Carlos.

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