-
Notifications
You must be signed in to change notification settings - Fork 344
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
Support Queuing Updates by Server Type #4982
Comments
currently you can queue updates on servers at 3 levels:
I know that #3 will also queue updates on any "child" servers of that server automatically. I'm not sure if #2 does the same thing. I.e. if you queue updates on a cache group's servers, does it also queue updates on any servers in child cache group(s). I'd need to look into that. my point being, when you say "queue updates by server type", you really only want updates queued for servers of that type and NOT "children" servers as it does now, correct? Example, if you want to queue updates on all MID servers, you only want those MID servers queued, right? nothing else.... |
Maybe we need to consider a new endpoint like: POST (or PUT) /api/queue_updates with a bunch of supported query params such as: /api/queue_updates?cdn= that would give the user lots of options on how they wan to queue updates :) |
@mitchell852 I can take this one. |
Talked to @mitchell852 about this, and for this issue, I'll be adding queueing updates by Type and profile only. We can keep adding to that endpoint later as we'd like. |
Queueing updates by type and profile only seems acceptable and more user friendly! Sounds good to me. |
Rather than adding a new endpoint, would it make sense to just add I would prefer us to move away from having to do targeted queues in the first place -- in general if you queue updates on a server that doesn't actually have updates, it should be a no-op. The problem is that it adds load on Traffic Ops to serve requests from |
this makes sense to me. i think most (all?) of the time, you are concerned with a specific cdn anyhow. |
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
There has been the need to queue only the edge caches or only the mid caches. Currently, this has to either be done by writing a script to hit the API, or hacky ways like admin_downing mid caches in each cache group to queue updates on edges.
Expected / new behavior:
I'd like the ability to only queue updates on a specific tier. To expand on this it might be nice to be able to queue based on a profile regex as well.
Minimal reproduction of the problem with instructions:
N/A
Anything else:
The text was updated successfully, but these errors were encountered: