alert:
{%- if is_controller %}
{%- raw %}
- CinderApiOutage:
- if: >-
- max(openstack_api_check_status{name=~"cinder.*"}) == 0
- labels:
- severity: critical
- service: cinder
- annotations:
- summary: "Cinder API outage"
- description: >-
- Cinder API is not accessible for all available Cinder endpoints in the OpenStack service catalog.
- CinderApiDown:
- if: >-
- openstack_api_check_status{name=~"cinder.*"} == 0
- labels:
- severity: major
- service: cinder
- annotations:
- summary: "{{ $labels.name }} endpoint is not accessible"
- description: >-
- Cinder API is not accessible for the {{ $labels.name }} endpoint.
CinderApiEndpointDown:
if: >-
http_response_status{name=~"cinder-api"} == 0