From 8c5af478e9a8bda918a222db6e6893a4f94d027c Mon Sep 17 00:00:00 2001 From: Matthew Westphall Date: Thu, 31 Oct 2024 13:23:28 -0500 Subject: [PATCH 1/2] Add docs for updating ospool-ep docker image --- docs/release/updating-to-osg-24.md | 50 ++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 docs/release/updating-to-osg-24.md diff --git a/docs/release/updating-to-osg-24.md b/docs/release/updating-to-osg-24.md new file mode 100644 index 000000000..1a7d9f3b3 --- /dev/null +++ b/docs/release/updating-to-osg-24.md @@ -0,0 +1,50 @@ +title: Updating to OSG 24 + +Updating to OSG 24 +================== + +[OSG 24](release_series.md#series-overviews) (the *new series*) introduces support for the ARM architecture. Changes +required to upgrade from OSG 23 are relatively minor. + +Updating Docker-based EP Deployments +----------------------------- + +In OSG 24, the `opensciencegrid/osgvo-docker-pilot` worker node docker image has been renamed to `osg-htc/ospool-ep`. +To upgrade your docker-based worker nodes from OSG 23 to OSG 24, follow the sections below: + +#### Via Docker Run #### + +For sites running the container [directly via docker](../resource-sharing/os-backfill-containers.md#running-the-container-with-docker), +the EP container can be updated by changing the image name referenced in the `docker run` command. All other arguments to the +`docker run` command may remain the same. + +```console +root@host # docker run hub.opensciencegrid.org/osg-htc/ospool-ep:24-release +``` + +#### Via RPM #### + +For sites running the ep container [via rpm installation](../resource-sharing/os-backfill-containers.md#running-the-container-via-rpm), +the container can be upgraded by updating the RPM. + +1. [Install](../common/yum.md#install-the-osg-repositories) the new OSG release series RPMs. + + - OSG 24 EL9: + + :::console + root@host # yum install https://repo.opensciencegrid.org/osg/24-main/osg-24-main-el9-release-latest.rpm + + - OSG 24 EL8: + + :::console + root@host # yum install https://repo.opensciencegrid.org/osg/24-main/osg-24-main-el8-release-latest.rpm + +2. Upgrade the `ospool-ep` rpm: + + :::console + root@host # yum install ospool-ep + +3. Restart the ospool-ep systemctl service: + + :::console + root@host # systemctl restart ospool-ep \ No newline at end of file From 4aa94369587b81a40581886d97054edbc77ecc50 Mon Sep 17 00:00:00 2001 From: mwestphall Date: Tue, 5 Nov 2024 12:51:30 -0600 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Brian Lin --- docs/release/updating-to-osg-24.md | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/docs/release/updating-to-osg-24.md b/docs/release/updating-to-osg-24.md index 1a7d9f3b3..d04d57f76 100644 --- a/docs/release/updating-to-osg-24.md +++ b/docs/release/updating-to-osg-24.md @@ -6,7 +6,7 @@ Updating to OSG 24 [OSG 24](release_series.md#series-overviews) (the *new series*) introduces support for the ARM architecture. Changes required to upgrade from OSG 23 are relatively minor. -Updating Docker-based EP Deployments +Updating Container-based OSPool EP Deployments ----------------------------- In OSG 24, the `opensciencegrid/osgvo-docker-pilot` worker node docker image has been renamed to `osg-htc/ospool-ep`. @@ -24,20 +24,10 @@ root@host # docker run hub.opensciencegrid.org/osg-htc/os #### Via RPM #### -For sites running the ep container [via rpm installation](../resource-sharing/os-backfill-containers.md#running-the-container-via-rpm), +For sites running the EP container [via rpm installation](../resource-sharing/os-backfill-containers.md#running-the-container-via-rpm), the container can be upgraded by updating the RPM. -1. [Install](../common/yum.md#install-the-osg-repositories) the new OSG release series RPMs. - - - OSG 24 EL9: - - :::console - root@host # yum install https://repo.opensciencegrid.org/osg/24-main/osg-24-main-el9-release-latest.rpm - - - OSG 24 EL8: - - :::console - root@host # yum install https://repo.opensciencegrid.org/osg/24-main/osg-24-main-el8-release-latest.rpm +1. [Install](../common/yum.md#install-the-osg-repositories) the OSG 24 Yum repositories 2. Upgrade the `ospool-ep` rpm: