Hi Werner,
First thanks again for the update to support Centos 7.5.
I was going to ask if it may be possible to use the Rocks Version attribute for Slurm Roll releases?
At present every slurm release is version 7.0.0. This means there is no easy way to roll back an update. I have to disable and remove the roll and then add and enable the replacement iso.
However with version numbers I could disable the old release add the new release and enable new one. If something goes wrong I can just disable new and enable old and create distro.
E.g. When testing my CentOS 7.5 version I can have 2 CentOS rolls with different versions and enable and disable them as I test.
# rocks list roll
NAME VERSION ARCH ENABLED
CentOS: 7.4.1708 x86_64 yes
CentOS: 7.5.1804 x86_64 no
Updates-CentOS-7.4.1708: 2018-02-28 x86_64 yes
Updates-CentOS-7.5.1804: 2018-08-19 x86_64 no
rocks disable roll CentOS version=7.4.1708
rocks enable roll CentOS version=7.5.1804
Thanks,
James
Last edit: James 2018-08-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I will introduce versioning with the next release. Thsis is a simple task.
But how to revert to a previous slurm version on the headnode, after you ran yum update?
Downgrading the rpms may not enough, It may be, that the mysql database und and files in /var/spool/slurm.state also have to downgraded. But this is a question for the slurm-users discussion group.
Best regards
Werner
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Werner.
It was more to do with what packages are avaliable. In a previous release I followed the upgrade instructions for installing the roll but when doing testing with yum update had the incompatibility with CentOs 7.5 library (has now been fixed). This meant I then had to completely remove the roll and re-add the old version and make sure I used the correct version.
Thanks again, James
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Werner,
First thanks again for the update to support Centos 7.5.
I was going to ask if it may be possible to use the Rocks Version attribute for Slurm Roll releases?
At present every slurm release is version 7.0.0. This means there is no easy way to roll back an update. I have to disable and remove the roll and then add and enable the replacement iso.
However with version numbers I could disable the old release add the new release and enable new one. If something goes wrong I can just disable new and enable old and create distro.
E.g. When testing my CentOS 7.5 version I can have 2 CentOS rolls with different versions and enable and disable them as I test.
Thanks,
James
Last edit: James 2018-08-19
I will introduce versioning with the next release. Thsis is a simple task.
But how to revert to a previous slurm version on the headnode, after you ran yum update?
Downgrading the rpms may not enough, It may be, that the mysql database und and files in /var/spool/slurm.state also have to downgraded. But this is a question for the slurm-users discussion group.
Best regards
Werner
Thanks Werner.
It was more to do with what packages are avaliable. In a previous release I followed the upgrade instructions for installing the roll but when doing testing with yum update had the incompatibility with CentOs 7.5 library (has now been fixed). This meant I then had to completely remove the roll and re-add the old version and make sure I used the correct version.
Thanks again, James