Hello,

I have got the following elasticluster config file:

[cloud/amazon-us-west-2]
provider=ec2_boto
ec2_url=https://ec2.us-west-2.amazonaws.com
ec2_access_key=**
ec2_secret_key=**
ec2_region=us-west-2
vpc=vpc-5871fd3f

[login/ubuntu]
image_user=ubuntu
image_sudo=True
user_key_name=key
user_key_private=~/.ssh/id_rsa
user_key_public=~/.ssh/id_rsa.pub

[setup/slurm]
frontend_groups=slurm_master,ganglia_master,ganglia_monitor
compute_groups=slurm_worker,ganglia_monitor
submit_groups=slurm_submit,glusterfs_client
global_var_multiuser_cluster=yes

[cluster/slurm-on-ubuntu-aws]
setup=slurm
frontend_nodes=1
compute_nodes=2
ssh_to=frontend
cloud=amazon-us-west-2
security_group=launch-wizard-4
flavor=t2.micro
image_id=ami-6e1a0117
login=ubuntu
network_ids=subnet-d9798390


then running the command:
*elasticluster -vvv start slurm-on-ubuntu-aws*


I get the following error:

2017-10-16 15:51:00 linux-rozm gc3.elasticluster[1885] DEBUG EC2 connection 
has been successful.
2017-10-16 15:51:00 linux-rozm gc3.elasticluster[1885] ERROR Error 
connecting to EC2: global name 'region' is not defined
2017-10-16 15:51:00 linux-rozm gc3.elasticluster[1885] ERROR Error 
connecting to EC2: global name 'region' is not defined
2017-10-16 15:51:00 linux-rozm gc3.elasticluster[1885] ERROR Error 
connecting to EC2: global name 'region' is not defined
2017-10-16 15:51:00 linux-rozm gc3.elasticluster[1885] ERROR Could not 
start node `frontend001`: global name 'region' is not defined -- <type 
'exceptions.NameError'>
Traceback (most recent call last):
  File ".../elasticluster/cluster.py", line 499, in _start_node
    node.start()
  File ".../elasticluster/cluster.py", line 1141, in start
    **self.extra)
  File ".../elasticluster/providers/ec2_boto.py", line 197, in 
start_instance
    connection = self._connect()
  File ".../elasticluster/providers/ec2_boto.py", line 139, in _connect
    path=self._ec2path, region=region)
NameError: global name 'region' is not defined


Any ideas?

Cheers,
N

-- 
You received this message because you are subscribed to the Google Groups 
"elasticluster" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to