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

Improvements to Pelican Plugin Error Messages #993

Closed
1 task
jhiemstrawisc opened this issue Mar 26, 2024 · 0 comments · Fixed by #999
Closed
1 task

Improvements to Pelican Plugin Error Messages #993

jhiemstrawisc opened this issue Mar 26, 2024 · 0 comments · Fixed by #999
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jhiemstrawisc
Copy link
Member

jhiemstrawisc commented Mar 26, 2024

Pelican Service:

  • Plugin

Is your feature request related to a problem? Please describe.
A user recently gave us a list of errors they were getting from the pelican plugin in the OSPool. In particular, the error appeared to be related to a network issue at the site:

Problem initializing the Pelican Client configuration:
Failure when doing federation metadata lookup to https://osg-htc.org/.well-known/pelican-
configuration: Get "https://osg-htc.org/.well-known/pelican-configuration": context deadline
exceeded (Client.Timeout exceeded while awaiting headers) (5s since start)

It would be tremendously useful if this type of error message from the plugin included the site name/hostname so that we could track potentially buggy sites and direct users away from them.

Describe the solution you'd like
Plugin error messages include information about the site that generated the error.

From talking with Rachel, there are a few more action items for this issue that should be tagged on:

  • Having all errors start with PELICAN CLIENT ERROR: so RCF's can notice this easier and know it is an issue with the plugin
  • Clear separators within the errors for PELICAN CLIENT ERROR, SITENAME, and HOSTNAME. All caps is good enough to really help the facilitators.
@jhiemstrawisc jhiemstrawisc added the enhancement New feature or request label Mar 26, 2024
@jhiemstrawisc jhiemstrawisc added this to the v7.7.0 milestone Mar 26, 2024
@joereuss12 joereuss12 changed the title Pelican plugin should include site name/hostname in error messages Improvements to Pelican Plugin Error Messages Mar 26, 2024
@joereuss12 joereuss12 linked a pull request Mar 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants