Dear Riccardo,

Below is the output. BTW, I am running OpenStack on three virtual machines 
on my computer - controller VM and two compute nodes VMs (compute1 and 
compute2). I can ssh among them without password. I start ElastiCluster at 
controller VM. When ElastiCluster starts mycluster, I see that 
mycluster-fronted001 and mycluster-compute001 are running at compute1 and 
my cluster-compute002 at compute2. Not sure, if this may create the problem 
with ssh. 

(elasticluster)vagrant@controller:~$ elasticluster -vvv ssh mycluster

2017-01-14 23:06:34 controller gc3.elasticluster[2308] *DEBUG* Trying to 
connect to host frontend001 (172.16.100.10)

2017-01-14 23:06:34 controller gc3.elasticluster[2308] *DEBUG* Ignoring 
error Authentication failed. connecting to frontend001

2017-01-14 23:06:35 controller gc3.elasticluster[2308] *DEBUG* Trying to 
connect to host compute001 (172.16.100.9)

2017-01-14 23:06:35 controller gc3.elasticluster[2308] *DEBUG* Ignoring 
error Authentication failed. connecting to compute001

2017-01-14 23:06:35 controller gc3.elasticluster[2308] *DEBUG* Trying to 
connect to host compute002 (172.16.100.8)

2017-01-14 23:06:35 controller gc3.elasticluster[2308] *DEBUG* Ignoring 
error Authentication failed. connecting to compute002

2017-01-14 23:06:36 controller gc3.elasticluster[2308] *DEBUG* Trying to 
connect to host frontend001 (172.16.100.10)

2017-01-14 23:06:36 controller gc3.elasticluster[2308] *DEBUG* Ignoring 
error Authentication failed. connecting to frontend001

Traceback (most recent call last):

  File "/home/vagrant/elasticluster/bin/elasticluster", line 11, in <module>

    load_entry_point('elasticluster', 'console_scripts', 'elasticluster')()

  File "/home/vagrant/elasticluster/src/elasticluster/__main__.py", line 
216, in main

    app.run()

  File 
"/home/vagrant/elasticluster/local/lib/python2.7/site-packages/cli/app.py", 
line 245, in run

    return self.post_run(returned)

  File 
"/home/vagrant/elasticluster/local/lib/python2.7/site-packages/cli/app.py", 
line 241, in run

    returned = self.main(*args)

  File "/home/vagrant/elasticluster/src/elasticluster/__main__.py", line 
202, in main

    return self.params.func()

  File "/home/vagrant/elasticluster/src/elasticluster/subcommands.py", line 
85, in __call__

    return self.execute()

  File "/home/vagrant/elasticluster/src/elasticluster/subcommands.py", line 
687, in execute

    if ':' in host:

TypeError: argument of type 'NoneType' is not iterable

Thanks,
Ana

On Saturday, 14 January 2017 23:18:23 UTC+1, Riccardo Murri wrote:
>
> Dear Ana,
>
> So it looks like ElastiCluster does not pick the correct IP address from 
> your OpenStack. Can you please run the following command and post the 
> output?
>
> elasticluster -vvv ssh mycluster 
>
> Thanks,
> Riccardo
>
> Il 14 gen 2017 10:06 PM, "Ana Jokanović" <[email protected] <javascript:>> 
> ha scritto:
>
> Dear Riccardo,
>
> Here is the output:
>
> (elasticluster)vagrant@controller:~$ elasticluster --version
>
> elasticluster version 1.3.dev0
>
> (elasticluster)vagrant@controller:~$ elasticluster list-nodes mycluster
>
>
> Cluster name:     mycluster
>
> Cluster template: slurm
>
> Default ssh to node: frontend001
>
> - frontend nodes: 1
>
> - compute nodes: 2
>
>
> To login on the frontend node, run the command:
>
>
>     elasticluster ssh mycluster
>
>
> To upload or download files to the cluster, use the command:
>
>
>     elasticluster sftp mycluster
>
>
> frontend nodes:
>
>
>   - frontend001
>
>     connection IP: None
>
>     IPs:    172.16.100.9
>
>     instance id:   656eba20-ee29-4741-8b60-3d5d3b69345c
>
>     instance flavor: m1.elasticluster
>
>
> compute nodes:
>
>
>   - compute001
>
>     connection IP: None
>
>     IPs:    172.16.100.8
>
>     instance id:   88405744-4b96-4a9c-a3cc-e933cf98dfa5
>
>     instance flavor: m1.elasticluster
>
>
>   - compute002
>
>     connection IP: None
>
>     IPs:    172.16.100.10
>
>     instance id:   f267a74d-7eaf-49d7-b679-ab91c5b5019d
>
>     instance flavor: m1.elasticluster
>
>
> Best regards,
>
> Ana
>
> On Saturday, 14 January 2017 21:45:25 UTC+1, Riccardo Murri wrote:
>>
>> Dear Ana,
>>
>> Can you please post the output of these commands?
>>
>> elasticluster --version
>>
>> elasticluster list-nodes my cluster
>>
>> Ciao,
>> Riccardo
>>
>> -- 
> 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] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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