reanahub / reana-auth-rucio

REANA authentication sidecar for Rucio
https://www.reana.io
MIT License
0 stars 16 forks source link

docker: upgrade base image and/or Rucio version #17

Open tiborsimko opened 2 months ago

tiborsimko commented 2 months ago

Current status

The reana-auth-rucio component is using version 1.30.0 of Rucio, which is based on CC7:

$ docker run -i -t docker.io/rucio/rucio-clients:release-1.30.0 /bin/bash -c 'cat /etc/redhat-release'
CentOS Linux release 7.9.2009 (Core)

This is not ideal due to CC7 being at its end-of-life, see https://linux.web.cern.ch/#cc7-rhel7-have-reached-end-of-life.

Desiderata

It would be good to upgrade the Rucio component to use Alma9 and/or Ubuntu 24.04.

This could be done by (i) either sticking to using the older Rucio version and just changing the base image, or by (ii) upgrading Rucio version at the same time, which will be already based on Alma9:

$ docker run -i -t docker.io/rucio/rucio-clients:latest /bin/bash -c 'cat /etc/redhat-release'
INFO:root:Merged 16 configuration values from /opt/user/rucio.default.cfg
INFO:root:Merged 0 configuration values from ENV
INFO:root:Writing /opt/rucio/etc/rucio.cfg
AlmaLinux release 9.4 (Seafoam Ocelot)

The latter would be preferable, and would require to edit Dockerfile to bring up new system packages for dependencies, to possibly alter Rucio configuration files in files, and to test the Rucio functionality with the new version carefully on a few selected REANA examples.

rubenperezm commented 2 months ago

I managed to connect to the VRE Rucio instance (with @Soap2G), but the upload and download functionalities are unavailable. Is there any other Rucio instance I can connect to?

tiborsimko commented 2 months ago

I think you would have to be part of a VO, which is not easy to arrange due to temporary internship status... Perhaps @Soap2G could try with an ATLAS instance? (I could try with a CMS one, if you have a tentative PR?)

rubenperezm commented 2 months ago

PR created. I do not know if it would be necessary to update https://github.com/reanahub/reana-auth-rucio/blob/b4b2b11/files/rucio.cfg.j2