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

feat(dask): detect and create Rucio resources for Dask cluster #634

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

Alputer
Copy link
Member

@Alputer Alputer commented Feb 11, 2025

We detect if Rucio is necessary for Dask cluster by checking top level rucio statement under resources field in reana.yaml. Some amendments were needed in order to fetch the secrets from secrets store instead of environment variables since workflow controller does not have access to runtime environment variables just like job controller.

Closes reanahub/reana#873

@Alputer Alputer requested a review from tiborsimko February 11, 2025 09:56
@Alputer Alputer self-assigned this Feb 11, 2025
Alputer added a commit to Alputer/reana-workflow-controller that referenced this pull request Feb 11, 2025
…hub#634)

We detect if rucio is necessary for Dask cluster by checking top
level rucio statement under resources field in reana.yaml.

Closes reanahub/reana#873
Copy link

codecov bot commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 21.73913% with 18 lines in your changes missing coverage. Please review.

Project coverage is 73.16%. Comparing base (24cb362) to head (e4a64d8).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
reana_workflow_controller/dask.py 15.00% 17 Missing ⚠️
reana_workflow_controller/workflow_run_manager.py 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #634      +/-   ##
==========================================
- Coverage   73.46%   73.16%   -0.31%     
==========================================
  Files          17       17              
  Lines        1975     1986      +11     
==========================================
+ Hits         1451     1453       +2     
- Misses        524      533       +9     
Files with missing lines Coverage Δ
reana_workflow_controller/version.py 100.00% <100.00%> (ø)
reana_workflow_controller/workflow_run_manager.py 80.16% <50.00%> (-0.26%) ⬇️
reana_workflow_controller/dask.py 55.91% <15.00%> (-1.71%) ⬇️

Alputer added a commit to Alputer/reana-workflow-controller that referenced this pull request Feb 11, 2025
…hub#634)

We detect if Rucio is necessary for Dask cluster by checking top
level rucio statement under resources field in reana.yaml.

Closes reanahub/reana#873
@Alputer Alputer changed the title feat(dask): detect and create rucio resources for Dask cluster feat(dask): detect and create Rucio resources for Dask cluster Feb 11, 2025
We detect if Rucio is necessary for Dask cluster by checking top level
rucio statement under resources field in reana.yaml. Some amendments
were needed in order to fetch the secrets from secrets store instead
of environment variables since workflow controller does not have
access to runtime environment variables just like job controller.

Closes reanahub/reana#873
Copy link
Member

@tiborsimko tiborsimko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-tested VOMS and Kerberos. Cannot test Rucio, but we can see about this one once deployed on QA.

I'll add a release commit on top whilst merging.

@tiborsimko tiborsimko merged commit e4a64d8 into reanahub:master Feb 12, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Create necessary Rucio resources for Dask cluster
2 participants