/usr/share/salt-formulas/env/cinder/meta/prometheus.yml has error at line 45

Bug #1729434 reported by Nadezhda Kabanova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
salt-formula-cinder (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description: Ubuntu 16.04.2 LTS
Release: 16.04
salt-formula-cinder:
  Installed: 2016.12.1+201709011506.ec3ad03-1xenial1
  Candidate: 2016.12.1+201709011506.ec3ad03-1xenial1

What you expected to happen
When we install prometheus container we expect that it will run.

 What happened instead
It is failed with error that cant parse 45 line in /usr/share/salt-formulas/env/cinder/meta/prometheus.yml
This line contains syntactic error:
  openstack_cinder_services{state="up",service="cinder-volume|cinder-scheduler"}) == 0

It should be
  (openstack_cinder_services{state="up",service="cinder-volume|cinder-scheduler"}) == 0

summary: /usr/share/salt-formulas/env/cinder/meta/prometheus.yml has error at
- line 828
+ line 45
Revision history for this message
Dmitry Kalashnik (dkalashnik) wrote :

Already fixed:
>>>$ git show 285e1fff127df2011e3b9c814fa214bbe254294f
commit 285e1fff127df2011e3b9c814fa214bbe254294f
Author: Olivier Bourdon <email address hidden>
Date: Tue Sep 5 12:04:41 2017 +0200

    Fix typo

    (extra closing parenthesis)

    Change-Id: I0236a4a45f46df66af8e9ca1d1d9d26270d24077

diff --git a/cinder/meta/prometheus.yml b/cinder/meta/prometheus.yml
index 79880cc..35e5ea8 100644
--- a/cinder/meta/prometheus.yml
+++ b/cinder/meta/prometheus.yml
@@ -42,7 +42,7 @@ server:
             Only one {{ $labels.service }} service is up for 2 minutes
     CinderAllServicesDown:
       if: >-
- openstack_cinder_services{state="up",service="cinder-volume|cinder-scheduler"}) == 0
+ openstack_cinder_services{state="up",service="cinder-volume|cinder-scheduler"} == 0
       for: 2m
       labels:
         severity: down

Changed in salt-formula-cinder (Ubuntu):
status: New → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.