Open ocramz opened 8 years ago
I took the freedom to format you quotes. I'll have a look. This week-end I am on my way to a conference and I have to take care of the slides first. I hope to get to it at the end of next week. Please remind me if I haven't done so.
Thx for the feed-back! I appreciate it...
EDIT: Could you access the slurmctld instance and supervisorctl stop slurmctld
plus /usr/local/sbin/slurmctld -D -v -c
? Not sure if this is easy to do in Travis...
Hey @ocramz,
I renamed the fig.yml
file to docker-compose.yml
and fixed Consul environment variables.
Problem was, the Consul was not running a server, which blew up the slurm.conf creation.
➜ docker-compute git:(master) docker-compose up -d git:(master|)
Creating dockercompute_consul_1
Creating dockercompute_slurmctld_1
Creating dockercompute_compute_1
➜ docker-compute git:(master) docker exec -ti dockercompute_compute_1 sinfo git:(master|)
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
all* up infinite 1 idle 2cafd9b00079
odd up infinite 1 idle 2cafd9b00079
➜ docker-compute git:(master) docker-compose scale compute=5 git:(master|)
Creating and starting 2 ... done
Creating and starting 3 ... done
Creating and starting 4 ... done
Creating and starting 5 ... done
➜ docker-compute git:(master) docker exec -ti dockercompute_compute_1 sinfo git:(master|)
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
all* up infinite 1 idle 2cafd9b00079
all* up infinite 1 unk e3586b65af05
odd up infinite 1 idle 2cafd9b00079
odd up infinite 1 unk e3586b65af05
➜ docker-compute git:(master) docker exec -ti dockercompute_compute_1 sinfo git:(master|)
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
all* up infinite 2 idle 0a0c3ede689e,ee478ce106b1
all* up infinite 3 unk 2cafd9b00079,6cb0e426299f,e3586b65af05
odd up infinite 2 idle 0a0c3ede689e,ee478ce106b1
odd up infinite 2 unk 2cafd9b00079,e3586b65af05
even up infinite 1 unk 6cb0e426299f
➜ docker-compute git:(master) docker exec -ti dockercompute_compute_1 sinfo git:(master|)
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
all* up infinite 5 idle 0a0c3ede689e,2cafd9b00079,6cb0e426299f,e3586b65af05,ee478ce106b1
odd up infinite 4 idle 0a0c3ede689e,2cafd9b00079,e3586b65af05,ee478ce106b1
even up infinite 1 idle 6cb0e426299f
➜ docker-compute git:(master) docker exec -ti dockercompute_compute_1 srun -N5 hostname git:(master|)
ee478ce106b1
0a0c3ede689e
6cb0e426299f
e3586b65af05
2cafd9b00079
➜ docker-compute git:(master)
Please close the issue if it is solved for you as well. Thx again for the feed-back - I am depending on it!
I enhanced the README, if you could walk through it and check if it's consistend... I am a bit biased. :)
I observe a loop in my fork (NB: I run
docker-compute
in a Travis instance) ; when all services in steady state,slurmctld
keeps restarting, and the following two lines appear continuosly in the second part of the log:Full log, up to the beginning of the loop: