Updating to OSG 25¶
OSG 25 (the new series) introduces support for EL10. Changes required to upgrade from OSG 24 are relatively minor. Please update all services to OSG 25 as soon as possible.
Updating the OSG Repositories¶
-
Consult the relevant section for the service you're upgrading before updating the OSG Yum repositories:
-
Clean the yum cache:
root@host # yum clean all --enablerepo=* -
Remove the old series Yum repositories:
root@host # yum erase osg-releaseThis step ensures that any local modifications to
*.repofiles will not prevent installing the new series repositories. Any modified*.repofiles should appear under/etc/yum.repos.d/with the*.rpmsaveextension. After installing the new OSG repositories (the next step) you may want to apply any changes made in the*.rpmsavefiles to the new*.repofiles. -
Update your Yum repositories to OSG 25
-
Update software:
Note
Because configuration updates will be necessary, be sure to turn off any OSG services before updating them. Consult the sections below that match your situation.
root@host # yum updateWarning
- Please be aware that running
yum updatemay also update other RPMs. You can exclude packages from being updated using the--exclude=[package-name or glob]option for theyumcommand. - Watch the yum update carefully for any messages about a
.rpmnewfile being created. That means that a configuration file had been edited, and a new default version was to be installed. In that case, RPM does not overwrite the edited configuration file but instead installs the new version with a.rpmnewextension. You will need to merge any edits that have made into the.rpmnewfile and then move the merged version into place (that is, without the.rpmnewextension).
- Please be aware that running
-
Continue on to any update instructions that match the role(s) that the host performs.
Updating Your OSG Compute Entrypoint¶
The OSG 25 release series contains HTCondor-CE 25.
To upgrade your CE to OSG 25, follow the sections below.
-
Ensure that you have the latest HTCondor installed (at least HTCondor 24.12.4 or HTCondor 24.0.13).
New HTCondor Python Bindings
The initial version of the HTCondor Python bindings were removed in HTCondor 25. If you have any Python scripts using the HTCondor Python bindings, please refer to the migration guide.
-
Run the
condor_ce_upgrade_checkscript and address any issues found. -
If you have an HTCondor batch system, also run the
condor_upgrade_checkscript and address any issues found. -
Also consult the upgrade documentation for more information.
For OSG CEs serving an HTCondor pool
If your OSG CE routes pilot jobs to a local HTCondor pool, also see the section for updating your HTCondor hosts
You may proceed with the repository and RPM update process.
Updating Your HTCondor Hosts¶
HTCondor-CE hosts
Consult this section before updating the condor package on your
HTCondor-CE hosts.
If you are running an HTCondor pool, consult the following instructions to update to HTCondor from OSG 24.
-
Ensure that you have the latest HTCondor installed (at least HTCondor 24.12.4 or HTCondor 24.0.13).
New HTCondor Python Bindings
The initial version of the HTCondor Python bindings were removed in HTCondor 25. If you have any Python scripts using the HTCondor Python bindings, please refer to the migration guide.
-
Run the
condor_upgrade_checkscript and address any issues found. -
Also consult the HTCondor 25.0 upgrade instructions.
You may proceed with the repository and RPM update process.
Getting Help¶
To get assistance, please use the this page.