-
Notifications
You must be signed in to change notification settings - Fork 36
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
[BUG] validation check failed is always sent prematurely #550
Comments
Given we only run this out of cron on Monday through Saturday:
and new schedules go out on Sundays, maybe we want to also run the cron on Sundays as well? Also, for the hour,
it means the next validation run will start at 22:40 and be after the end of the grace period. This is still well before the next rbac run. Depending on the cost of running
which should have the rbac run to trigger at 22:05, well before the next validation run. |
@kambiz-aghaiepour running more frequently wouldn't be a bad thing but I think we should also run a pre-emptive I'd want to discuss with @grafuls on how to handle this, but likely we'd want an assignment table field in the database to ensure it's run only once and then just run it out of |
Currently this message gets generated here in the If we had an one-time-per-release At that point we may be able to just completely remove the cron. |
Lastly, we want a check that we're not in grace period before e.g. if time_delta.total_seconds() // 60 > Config["validation_grace_period"]: https://github.com/redhat-performance/quads/blob/latest/conf/quads.yml#L154 |
pending patchset: https://review.gerrithub.io/c/redhat-performance/quads/+/1203774 |
This is a much older and minor issue but the validation check notification email is always sent.
Validation check failed for cloud61 / wfoster / 3885
We should not be sending any notification emails from
validate_environment
phases while in the configurable grace window.Fix
I think that we should run an pre-emptive
quads --foreman-rbac
here as in testing this makes sure the message is actually relevant (just tested this with another env)The text was updated successfully, but these errors were encountered: