Re: [elasticluster] SLURM is not installed after cluster setup

2018-02-04 Thread Orxan Shibliyev
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

Re: [elasticluster] SLURM is not installed after cluster setup

2018-02-04 Thread Orxan Shibliyev
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:~$

Re: [elasticluster] SLURM is not installed after cluster setup

2018-02-04 Thread Riccardo Murri
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 >

Re: [elasticluster] SLURM is not installed after cluster setup

2018-02-04 Thread Riccardo Murri
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

Re: [elasticluster] SLURM is not installed after cluster setup

2018-02-04 Thread Riccardo Murri
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