Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
ab0d106c
Commit
ab0d106c
authored
May 06, 2020
by
Andrey Vertiprahov
Browse files
Add retry escalation to Escalation limit exceeded.
parent
fcb85a9e
Pipeline
#22736
failed with stages
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
services/escalator/escalation.py
View file @
ab0d106c
...
...
@@ -125,6 +125,11 @@ def escalate(alarm_id, escalation_id, escalation_delay, login="correlator", *arg
"Escalation limit exceeded (%s/%s). Skipping"
%
(
ae
,
config
.
escalator
.
tt_escalation_limit
)
)
Job
.
retry_after
(
get_next_retry
(),
"Escalation limit exceeded (%s/%s). Skipping"
%
(
ae
,
config
.
escalator
.
tt_escalation_limit
)
)
return
# Check whether consequences has escalations
cons_escalated
=
sorted
(
alarm
.
iter_escalated
(),
key
=
operator
.
attrgetter
(
"timestamp"
))
...
...
Dmitry Volodin
@dv
mentioned in commit
811d5d98
·
May 06, 2020
mentioned in commit
811d5d98
mentioned in commit 811d5d985782976a7398603c84e6225b9a6207ea
Toggle commit list
Andrey Vertiprahov
@aversant
mentioned in merge request
!3585 (merged)
·
May 06, 2020
mentioned in merge request
!3585 (merged)
mentioned in merge request !3585
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment