-
Notifications
You must be signed in to change notification settings - Fork 2
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
Refactor to ignore a failure for the grace period #21
Refactor to ignore a failure for the grace period #21
Conversation
9436e96
to
b588ab1
Compare
9b5e91c
to
8870fdb
Compare
23c315d
to
fd93934
Compare
1801587
to
3dfcfd4
Compare
The new unit tests do pass: https://github.com/gregcorbett/gocdb-failover-scripts/actions/runs/6036355188 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some grammatical changes. Rest of the code lgtm
Could you add some notes to the PR about the GitHub workflow changes? (Assuming they are intentionally part of this PR.) |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok, though puzzled by use of help
.
529bdf3
to
d2d681a
Compare
- Improve comments about final logger/echo commands as well
- currently, an error in the pipeline immediately causes the next icinga check to raise an error. - this led to flapping hour to hour, generating emails that were ignored. - this should mean we only get alerts if the failover pipeline has not succeeded within the grace period. Co-authored-by: Adrian Coveney <4836233+tofu-rocketry@users.noreply.github.com>
Co-authored-by: Adrian Coveney <4836233+tofu-rocketry@users.noreply.github.com>
- these are largely the same as the ORACLE case, except the log lines have additional timestamps in them.
Co-authored-by: tofu-rocketry <tofu-rocketry@users.noreply.github.com>
Co-authored-by: Rowan <rowanmoss04@gmail.com> Co-authored-by: Adrian Coveney <4836233+tofu-rocketry@users.noreply.github.com>
d2d681a
to
9610cfe
Compare
I've squashed the commits down a bit, but GitHub confirms no changes have snuck in. |
We're all green then. |
Supersedes #18,
depends on #23 and #22. Resolves GT-235.This PR will also add: