-
Notifications
You must be signed in to change notification settings - Fork 343
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
Traffic Monitor start doesn't recover when Traffic Ops is unavailable #6129
Comments
Is that by design? I would think we'd want it to use the backup. Also, is this a regression? Did it used to restart okay while TO was down? |
Even if it's not an actual regression, it does seem like one, since this is one scenario I think we were supposed to have covered by introducing the snapshot backups. If it restarts when TO is unavailable, it should use the backup snapshots. |
Always set non-nil TO sessions that can eventually authenticate themselves when TO recovers. Additionally, instead of exclusively using one major client version after starting up and logging in, always attempt the latest major version and fall back to the legacy version in case of error. This will allow TM to seamlessly transition between using either major version no matter which order TM and TO are upgraded in. Closes: apache#6129
* Make TM recover from TO being unavailable at startup Always set non-nil TO sessions that can eventually authenticate themselves when TO recovers. Additionally, instead of exclusively using one major client version after starting up and logging in, always attempt the latest major version and fall back to the legacy version in case of error. This will allow TM to seamlessly transition between using either major version no matter which order TM and TO are upgraded in. Closes: #6129 * Organize imports, add UsingDummyTO back
* Make TM recover from TO being unavailable at startup Always set non-nil TO sessions that can eventually authenticate themselves when TO recovers. Additionally, instead of exclusively using one major client version after starting up and logging in, always attempt the latest major version and fall back to the legacy version in case of error. This will allow TM to seamlessly transition between using either major version no matter which order TM and TO are upgraded in. Closes: #6129 * Organize imports, add UsingDummyTO back (cherry picked from commit 16dda64)
This Bug Report affects these Traffic Control components:
Current behavior:
When Traffic Ops is offline and Traffic Monitor is restarted. The following happens:
Logs:
Expected behavior:
Traffic Monitor should recover from Traffic Ops coming back
Steps to reproduce:
The text was updated successfully, but these errors were encountered: