Closed martbhell closed 7 years ago
I don't get it, why is this a problem? upgrade.yml only runs on the dbd host, so chouldn't affect compute nodes?
Had a look again - setting "static: no" on the include makes it move along.
I'll make a bug fix :)
http://docs.ansible.com/ansible/playbooks_roles.html#dynamic-versus-static-includes
Requirement: we need to take out the pause: module usage in the slurm role with the free strategy.
Only the slurm role on an idle 5 node cluster is from 1m8s (real) 32s (user) to 1m3s (real) 42s (user). Check mode. A few iterations
Whole compute.yml in check mode and free strategy (one iteration):
real 5m3.959s user 2m57.959s sys 0m48.802s
whole compute.yml in check mode and linear strategy (one iteration):
real 5m44.419s user 1m58.294s sys 0m53.461s
A speedup of 40 seconds with the free strategy.
What to do instead of the pause in https://github.com/CSC-IT-Center-for-Science/ansible-role-slurm/blob/master/tasks/upgrade.yml ? An assert that actually fails the play? (this pause should anyway not apply to the compute nodes)