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

Pelican client has wrong user-agent header when requesting object #964

Closed
1 task done
haoming29 opened this issue Mar 19, 2024 · 0 comments · Fixed by #977
Closed
1 task done

Pelican client has wrong user-agent header when requesting object #964

haoming29 opened this issue Mar 19, 2024 · 0 comments · Fixed by #977
Assignees
Labels
bug Something isn't working client Issue affecting the OSDF client
Milestone

Comments

@haoming29
Copy link
Contributor

haoming29 commented Mar 19, 2024

Pelican Version:
Run ./pelican --version to get version number.

Pelican Service:

  • Client

Describe the bug
A clear and concise description of what the bug is.

Pelican client should attach the project name to user-agent header we requesting objects in the federation. However, currently the user-agent is grab

To Reproduce
Steps to reproduce the behavior.

  • Spin up federation in a box
  • Put a file under origin exported directory
  • Request the file using pelican object get
  • Go to Prometheus metric at /api/v1.0/prometheus/query?query=xrootd_transfer_bytes and watch for the label proj. The entry with path == your origin exported namespace should have corresponding proj="grab"

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Linux, MacOS]
  • Browser: [e.g. chrome, safari, if the bug relates to any web user interface]

Additional context
Add any other context about the problem here.

@haoming29 haoming29 added the bug Something isn't working label Mar 19, 2024
@haoming29 haoming29 added this to the v7.7.0 milestone Mar 19, 2024
@joereuss12 joereuss12 added the client Issue affecting the OSDF client label Mar 20, 2024
@joereuss12 joereuss12 linked a pull request Mar 22, 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
bug Something isn't working client Issue affecting the OSDF client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants