Issue was surpassed by removing slurm-sjstat, slurm-sjobexit, 
slurm-contribs on the frontend and adding ignore_errors on the task. 
A bit of a hack, but well, no need to spend more time on it :)

On Tuesday, May 7, 2019 at 9:15:31 PM UTC+2, Riccardo Murri wrote:
>
> Hello Maiken, 
>
> > The task "common:Upgrade all installed packages to latest version" fails 
> with 
> > [...] 
> > Should I downgrade my slurm version on the cluster to make this work? Or 
> is there a chance that this should work with 18.08.7? 
>
> My reading of the error message is this: 
>
> - you have SLURM 18.08.7 installed from some RPM package which is *not 
> available from a YUM repository* 
> - ElastiCluster runs `yum install slurm` so YUM only finds the 
> `slurm-*` packages coming from @verdurin's repository (which ATM only 
> contains SLURM 18.08..5) 
> - so YUM tries to downgrade SLURM packages to 18.08.5 
> - *but* some of the packages you have installed right now 
> (`slurm-sjstat`, `slurm-contribs`, `slurm-sjobexit`) are 
> "obsolete"[1], so they would be removed -- which seems not to be 
> allowed without additional options to YUM.[2] 
>
> I do not know YUM (or CentOS) for the matter to know how exactly to 
> cope with this situation.  Can you try setting `obsoletes=0` in 
> `/etc/yum.conf` (as explained in [2]) on all nodes and see if this 
> fixes the issue?  You will end up with SLURM 18.08.5 on the cluster, 
> though. 
>
> [1]: 
> https://serverfault.com/questions/814040/install-obsoleting-package-without-removing-obsoleted-package
>  
> [2]: https://stackoverflow.com/a/48041045/459543 
>
> Ciao, 
> R 
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticluster/8f7dc49f-b130-40d7-b84c-928dd1abb1a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to