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

Fix production cache container failure at start up due to outdated xrootd #922

Merged

Conversation

haoming29
Copy link
Contributor

@haoming29 haoming29 commented Mar 8, 2024

Fixes #917

Also fixes the bug where we check director's endpoint to ensure director is working but we are checking against Server.ExternalWebUrl, which is wrong.

Building the container and running locally, I can confirm this fix will enable cache to run.

@haoming29 haoming29 added this to the v7.6.0 milestone Mar 8, 2024
@haoming29 haoming29 added bug Something isn't working container cache Issue relating to the cache component labels Mar 8, 2024
Copy link
Collaborator

@turetske turetske left a comment

Choose a reason for hiding this comment

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

LGTM!

@jhiemstrawisc
Copy link
Member

jhiemstrawisc commented Mar 8, 2024

@haoming29 , can you take a look at line 214 in launcher.go? We also do a Server_ExternalWebUrl there if we're configured in both cache and origin mode.

@haoming29
Copy link
Contributor Author

@haoming29 , can you take a look at line 214 in launcher.go? We also do a Server_ExternalWebUrl there if we're configured in both cache and origin mode.

Good catch, that should be fixed too

@matyasselmeci matyasselmeci merged commit cce8db7 into PelicanPlatform:main Mar 8, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cache Issue relating to the cache component container
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ITB team reports wrong xrootd in production container
4 participants