Skip to content
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

Alert rule for active routers on ML2/OVS #1424

Merged
merged 3 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion etc/kayobe/kolla/config/prometheus/openstack.rules
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,14 @@ groups:
annotations:
summary: "{{ $labels.service }} at {{ $labels.hostname }} is down"
description: "OpenStack service {{ $labels.service }} at {{ $labels.hostname }} is down"

- name: Routers
rules:
- alert: OpenStackRouterDown
expr: count by (router_id) (openstack_neutron_l3_agent_of_router{ha_state="active"}) != 1
for: 1m
labels:
severity: alert
annotations:
summary: "The router {{ $labels.router_id }} is not active on exactly one agent"
description: "The router {{ $labels.router_id }} should be active on exactly one agent. It can either be active on multiple agents or not active at all."
{% endraw %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
Adds an alert to check that there is exactly one active router on ML2/OVS based
deployments.