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

GET /servers?dsId={id} returning mid servers outside of the ds's cdn #5147

Closed
mitchell852 opened this issue Oct 14, 2020 · 0 comments · Fixed by #5128
Closed

GET /servers?dsId={id} returning mid servers outside of the ds's cdn #5147

mitchell852 opened this issue Oct 14, 2020 · 0 comments · Fixed by #5128
Assignees
Labels
bug something isn't working as intended Traffic Ops related to Traffic Ops

Comments

@mitchell852
Copy link
Member

I'm submitting a ...

  • bug report

Traffic Control components affected ...

  • Traffic Ops

Current behavior:

When a DS does not utilize a topology, GET /servers?dsId={id} should return ALL servers employed by the DS. This would include all direct edge or org server assignments as well as any implicitly assigned mids. However, servers outside of the ds's cdn should never be returned. Currently, mids outside the cdn are being returned.

Expected behavior:

When a DS does not utilize a topology, GET /servers?dsId={id} should return all servers employed by the DS which includes edges, orgs and mids (for certain ds types), but none of those servers should even be from a different cdn.

Minimal reproduction of the problem with instructions:

  • Create an HTTP delivery service (note the ID)
  • Assign a handful of edges to the DS
  • Ensure that the edges are in a cachegroup with a parent cache group made up of mids
  • in the parent cache group put mid servers from different cdns
  • GET /servers?dsId={id} will return all the Edges plus all the Mids including the mids from the wrong cdn.
@mitchell852 mitchell852 added bug something isn't working as intended Traffic Ops related to Traffic Ops labels Oct 14, 2020
@mitchell852 mitchell852 self-assigned this Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working as intended Traffic Ops related to Traffic Ops
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant