-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Create rucio.cfg from inside Rucio objectstore #19863
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix! I think you can rely on the objectstore extra_dirs["temp"]
as defined in lib/galaxy/objectstore/__init__.py
, see suggestions.
I'm not sure why Rucio tests are failing. It seems there is some race condition after recent changes (maybe in switching to Celery to run tests?). It only happens for the tools that have some file as an input. Maybe it does not get uploaded properly before the test runs? I can remove those tests, unless someone has an idea how to fix it. Also for security fail - Rucio does need password in the config file, so not sure what can be done. Tried to hide it, but the analyser is too clever :) |
that's not a terribly helpful message. |
I've disabled the celery setup, and now I see:
We do create file size 0 uploads, is that something rucio doesn't support ? |
Either of these options are not compatible with rucio. Maybe more than one connection isn't permitted ?
The last commit disables celery and extended metadata for the rucio object store, and that results in passing tests. Both of these options are key parts we want to build on in the future, so it would be worth figuring out why that doesn't work. Is it possible that we can't connect to rucio from more than one process ? I couldn't make any progress even when I simply skipped the upload of empty files (however treating this as an error seems fairly opinionated ?) |
So ... rucio doesn't do updates of a file with the same contents (i believe that's the source of |
39f304a
to
8b89193
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The failing test is unrelated
Rucio client library requires rucio.cfg to be present on the system. We create this file now in objectstore to make sure it always gets created.
How to test the changes?
(Select all options that apply)
License