Skip to content

Conversation

@atsareg
Copy link
Contributor

@atsareg atsareg commented Nov 3, 2025

With this fix DIRAC9 clients can communicate to diracx and S3 minIO storage with are set up with IGTF non-default certificates using the DIRACX_CA_PATH environment.

BEGINRELEASENOTES

*Framework
FIX: Use DIRACX_CA_PATH to communicate to diracx

*WorkloadManagement
FIX: Use DIRACX_CA_PATH to communicate to S3

ENDRELEASENOTES

@atsareg atsareg requested a review from fstagni as a code owner November 3, 2025 13:37
DEFAULT_TOKEN_CACHE_SIZE = 1024

legacy_exchange_session = requests.Session()
diracxUrl = gConfig.getValue("/DiracX/URL")
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be a URL, or you break the pydantic check.

Probably:

Suggested change
diracxUrl = gConfig.getValue("/DiracX/URL")
diracxUrl = gConfig.getValue("/DiracX/URL", os.environ["DIRACX_URL"])

then inject one for the unit test.

@chrisburr
Copy link
Member

With this fix DIRAC9 clients can communicate to diracx and S3 minIO storage with are set up with IGTF non-default certificates using the DIRACX_CA_PATH environment.

If you do this you're going to have issues with the DiracX web app.

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

Successfully merging this pull request may close these issues.

3 participants