JeffersonLab / gluex_install

Scripts to do a green-field install of GlueX software
3 stars 2 forks source link

Add Rucio client and gfal2 into the conatiner #57

Open panta-123 opened 1 month ago

panta-123 commented 1 month ago

To test the rucio interface we need gfal2 and rucio client (with dependencies).

For gfal2 rpm packages:

gfal2-all gfal2-util  gfal2-plugin-xrootd

And rucio client is PIP package.

pip install rucio-clients gfal2-python
pip install -i https://test.pypi.org/simple/ gluex-rucio-policy-package

I can add rpm package in : https://github.com/JeffersonLab/gluex_install/blob/master/gluex_prereqs_almalinux_9.sh

And for pip package whats the procedure (like where to define it ?)

@aaust , please let me know.

After this i can start testing the workflow. First start with test data procesing.

aaust commented 1 month ago

At the moment, we do not have a mechanism to install pip packages in the container but it looks like we need one. mysql-connector-python is a requirement for rcdb 0.9 and is also not available in any rpms.

panta-123 commented 1 month ago

@aaust , updated the pip package. added extra package for gluex policy.

aaust commented 1 month ago

dnf could not find the gfal2-util package, so I added gfal2-util-scripts instead.

With pip, I managed to install the rucio_clients and the policy-package, but gfal2-python fails so I left it out.

Here is an updated container to test for you: /group/halld/www/halldweb/html/dist/gluex_almalinux9_gxi2.35_rucio.sif

panta-123 commented 1 month ago

@aaust , Sorry the gfal2-python seem to have rpm package and was recommended to install via rpm.

Could you make a new container in addition to the package you have installed plus following:

dnf install gfal2-python
aaust commented 1 month ago

I could neither find this package. Do you mean python3-gfal2?

panta-123 commented 1 month ago

If that is present then that please install it.

aaust commented 1 month ago

Ok, I added python3-gfal2 and python3-gfal2-util to the container on group.