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 api/{version}/deliveryservices/{id}/health returns no info if delivery service uses a topology #6271

Closed
mitchell852 opened this issue Oct 13, 2021 · 0 comments · Fixed by #6827
Assignees
Labels
bug something isn't working as intended medium impact impacts a significant portion of a CDN, or has the potential to do so Traffic Ops related to Traffic Ops

Comments

@mitchell852
Copy link
Member

mitchell852 commented Oct 13, 2021

This Bug Report affects these Traffic Control components:

  • Traffic Ops

Current behavior:

GET api/{{version}/deliveryservices/{id}/health returns no info if the delivery service uses a topology

{ "response": {
  "totalOffline": 0,
  "totalOnline": 0,
  "cachegroups": [ ]
}}

Expected behavior:

When a delivery service uses a topology, it still should have a total for all "ONLINE" and "OFFLINE" caches as well as totals for each Cache Group employed by the Topology. such as this:

{ "response": {
  "totalOffline": 16,
  "totalOnline": 388,
  "cachegroups": [
    {
      "offline": 1,
      "online": 19,
      "name": "us-fl-sarasota"
    },
    {
      "offline": 2,
      "online": 39,
      "name": "us-il-chicago"
    }
  ]
}}

Steps to reproduce:

  1. Assign servers directly to a delivery service
  2. GET api/{{version}}/deliveryservices/{{id}}/health and observe the online/offline counts (total and per cache group)
  3. Assign a topology to the delivery service
  4. GET api/{{version}}/deliveryservices/{{id}}/health and observe NO online/offline counts (total and per cache group)
@mitchell852 mitchell852 added bug something isn't working as intended Traffic Ops related to Traffic Ops labels Oct 13, 2021
@mitchell852 mitchell852 added the medium impact impacts a significant portion of a CDN, or has the potential to do so label Nov 30, 2021
@srijeet0406 srijeet0406 self-assigned this May 6, 2022
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 medium impact impacts a significant portion of a CDN, or has the potential to do so Traffic Ops related to Traffic Ops
Projects
None yet
2 participants