Dear Riccardo,

I tried using new image, but now I end up with the problem below. I can ssh 
to frontend, though. 

(elasticluster) ajokanovic@bscgrid28:~$ elasticluster start slurm -n 
mycluster

Starting cluster `mycluster` with:

* 1 frontend nodes.

* 1 compute nodes.

(This may take a while...)

2017-01-23 16:41:17 bscgrid28 gc3.elasticluster[2972] *WARNING* 
DeprecationWarning: 
The novaclient.v2.security_groups module is deprecated and will be removed.

2017-01-23 16:41:17 bscgrid28 gc3.elasticluster[2972] *WARNING* 
DeprecationWarning: 
The novaclient.v2.images module is deprecated and will be removed after 
Nova 15.0.0 is released. Use python-glanceclient or python-openstacksdk 
instead.

Configuring the cluster.

(this too may take a while...)


PLAY [Common setup for all hosts] 
**********************************************


TASK [setup] 
*******************************************************************

fatal: [frontend001]: FAILED! => {"changed": false, "failed": true, 
"module_stderr": "Warning: Permanently added '172.16.8.169' (ECDSA) to the 
list of known hosts.\r\n/bin/sh: 1: /usr/bin/python: not found\n", 
"module_stdout": "", "msg": "MODULE FAILURE"}

fatal: [compute001]: FAILED! => {"changed": false, "failed": true, 
"module_stderr": "Warning: Permanently added '10.0.0.9' (ECDSA) to the list 
of known hosts.\r\n/bin/sh: 1: /usr/bin/python: not found\n", 
"module_stdout": "", "msg": "MODULE FAILURE"}

to retry, use: --limit 
@/home/ajokanovic/elasticluster/src/elasticluster/share/playbooks/site.retry


PLAY RECAP 
*********************************************************************

compute001                 : ok=0    changed=0    unreachable=0    failed=1  
 

frontend001                : ok=0    changed=0    unreachable=0    failed=1  
 


2017-01-23 16:42:54 bscgrid28 gc3.elasticluster[2972] *ERROR* Command 
`ansible-playbook 
/home/ajokanovic/elasticluster/src/elasticluster/share/playbooks/site.yml 
--inventory=/home/ajokanovic/.elasticluster/storage/mycluster.inventory 
--become --become-user=root` failed with exit code 2.

2017-01-23 16:42:54 bscgrid28 gc3.elasticluster[2972] *ERROR* Check the 
output lines above for additional information on this error.

2017-01-23 16:42:54 bscgrid28 gc3.elasticluster[2972] *ERROR* The cluster 
has likely *not* been configured correctly. You may need to re-run 
`elasticluster setup` or fix the playbooks.

2017-01-23 16:42:54 bscgrid28 gc3.elasticluster[2972] *WARNING* Cluster 
`mycluster` not yet configured. Please, re-run `elasticluster setup 
mycluster` and/or check your configuration


WARNING: YOUR CLUSTER IS NOT READY YET!


Cluster name:     mycluster

Cluster template: slurm

Default ssh to node: frontend001

- frontend nodes: 1

- compute nodes: 1


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

Best regards,
Ana

On Saturday, 21 January 2017 22:06:40 UTC+1, Riccardo Murri wrote:
>
> Dear Ana: 
>
> > However, the cluster does not configure until the end. Here is the what 
> > happens: 
> > [...] 
> > TASK [common : Ensure additional packages are installed] 
> > *********************** 
> > 
> > failed: [compute001] ... "'/usr/bin/apt-get -y -o 
> > \"Dpkg::Options::=--force-confdef\" -o 
> \"Dpkg::Options::=--force-confold\" 
> >     install 'python-software-properties'' failed: E: There are problems 
> and 
> > -y was used without --force-yes\n", ..., "WARNING: The following 
> packages cannot be 
> > authenticated!", "  python-software-properties"]} 
>
> That (and a few other packages) were not really needed, so I've removed 
> the attempt to install them in the latest "master" code.  Can you please 
> update and retry? 
>
> OTOH, `python-software-properties` is a standard Debian and Ubuntu 
> package [^1] so the fact that it cannot be installed may hint at a more 
> general problem with the VM image (e.g., expired package signing key 
> because the image snapshot is too old). 
>
> [^1]: It looks like it's been removed from Debian "testing" and "sid", 
> though. 
>
> Ciao, 
> R 
>
> -- 
> Riccardo Murri, Schwerzenbacherstrasse 2, CH-8606 Nänikon, Switzerland 
>

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