Ah, no, wait! You should *not* run `elasticluster.sh` through `sudo`!
Otherwise you'll be running as root in your home directory, which
screws all permissions up...
Can you please run the following commands?
# fix permissions
chown -R $USER $HOME/.ansible $HOME/.ssh $HOME/.elasticluster
Dear Orxan,
there seems to be an error with the Docker image; according to this
log line, the Ansible configuration system did not run at all:
ansible.errors.AnsibleError: Unable to create local
directories(/home/.ansible/tmp): [Errno 13] Permission denied:
'/home/.ansible'
This is
2018-02-04 12:15 GMT+01:00 Orxan Shibliyev :
> The second command gave:
>
> orhan@orhan-MS-7850:~$ ./elasticluster.sh -vvv start slurm-on-gce
> docker: Got permission denied while trying to connect to the Docker daemon
> socket at unix:///var/run/docker.sock: Post
>
Initially permissions were like this:
drwxrwxr-x 2 orhan orhan 4096 Şub 3 21:24 /home/orhan/.ansible
drwxrwxr-x 3 orhan orhan 4096 Şub 4 16:15 /home/orhan/.elasticluster
drwx-- 2 orhan orhan 4096 Oca 29 19:57 /home/orhan/.ssh
After the commands it became:
drwxrwxrwx 2 orhan orhan 4096 Şub
The `sudo` issue is solved but [Errno 13] is still there. Output is
attached.
Orhan
On Sun, Feb 4, 2018 at 2:31 PM, Riccardo Murri
wrote:
> 2018-02-04 12:15 GMT+01:00 Orxan Shibliyev :
> > The second command gave:
> >
> > orhan@orhan-MS-7850:~$
Hi
Initially, I made one front end and two compute nodes. In front end,
`sinfo` reported number of nodes as two. Then I added five more compute
nodes with `./elasticluster.sh resize -a 5:compute slurm-on-gce`. As
expected, I got the compute nodes however, in front end, `sinfo` gives the
same
Branch: refs/heads/master
Home: https://github.com/gc3-uzh-ch/elasticluster
Commit: 4de263e696c937e4dd5279059df06b1d7416e726
https://github.com/gc3-uzh-ch/elasticluster/commit/4de263e696c937e4dd5279059df06b1d7416e726
Author: Riccardo Murri
Date:
Branch: refs/heads/master
Home: https://github.com/gc3-uzh-ch/elasticluster
Commit: 6d30ffc359494fb1bbb1f4eeb32d61dde0708855
https://github.com/gc3-uzh-ch/elasticluster/commit/6d30ffc359494fb1bbb1f4eeb32d61dde0708855
Author: Riccardo Murri
Date:
Branch: refs/heads/master
Home: https://github.com/gc3-uzh-ch/elasticluster
Commit: 80c516daa548306733b05d0a912b6235abff
https://github.com/gc3-uzh-ch/elasticluster/commit/80c516daa548306733b05d0a912b6235abff
Author: Riccardo Murri
Date: