Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rucio client and gfal2 into the conatiner #57

Open
panta-123 opened this issue Sep 13, 2024 · 7 comments
Open

Add Rucio client and gfal2 into the conatiner #57

panta-123 opened this issue Sep 13, 2024 · 7 comments

Comments

@panta-123
Copy link

panta-123 commented Sep 13, 2024

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
Copy link
Contributor

aaust commented Sep 18, 2024

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
Copy link
Author

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

@aaust
Copy link
Contributor

aaust commented Sep 18, 2024

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
Copy link
Author

panta-123 commented Sep 19, 2024

@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
Copy link
Contributor

aaust commented Sep 19, 2024

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

@panta-123
Copy link
Author

If that is present then that please install it.

@aaust
Copy link
Contributor

aaust commented Sep 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants