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

TO /servers/{hostname}/update_status parentRevalPending is not CDN-specific #5505

Closed
rawlinp opened this issue Feb 8, 2021 · 2 comments · Fixed by #5578
Closed

TO /servers/{hostname}/update_status parentRevalPending is not CDN-specific #5505

rawlinp opened this issue Feb 8, 2021 · 2 comments · Fixed by #5578
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
Milestone

Comments

@rawlinp
Copy link
Contributor

rawlinp commented Feb 8, 2021

I'm submitting a ...

  • bug report

Traffic Control components affected ...

  • Traffic Ops

Current behavior:

If you have two CDNs (A and B) and a MID in CDN A (cachegroup = parent-cg) with revalPending = true, all child caches of cachegroup parent-cg in both CDN A and B have parentRevalPending = true.

Expected behavior:

In the above example, only child caches of cachegroup parent-cg that are in CDN A would have parentRevalPending = true.

Minimal reproduction of the problem with instructions:

Using the above example, ensure that CDN B has no pending revalidations then submit an invalidation for a delivery service in CDN A. Observe that child caches in CDN B now have parentRevalPending = true.

@rawlinp rawlinp added bug something isn't working as intended Traffic Ops related to Traffic Ops medium impact impacts a significant portion of a CDN, or has the potential to do so labels Feb 8, 2021
@rawlinp rawlinp added this to the 5.1.0 milestone Feb 8, 2021
@ocket8888
Copy link
Contributor

I just tried to reproduce this in CDN-in-a-Box. I created a new CDN - B - and cloned an Edge Server Profile into it. Then I created a new server using that Profile (obviously, then, the server was also in CDN B) and put it into the same Cache Group as the default Edge Server (edge), and finally created a content invalidation job on demo1. Afterwards, edge, mid-01, and mid-02 all had reval_pending values of true. The new Edge Server in CDN B did not.

Is this because I was using a Topology? Does the problem only manifest with traditional server assignments? Or did I miss a step somewhere?

@zrhoffman
Copy link
Member

Oh, I just set a server in the demo1-top Topology to have a different CDN ID to avoid all of our validation. Steps in #5578 work to reproduce

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
Development

Successfully merging a pull request may close this issue.

3 participants