Project

General

Profile

Actions

Bug #47648

closed

mgr/cephadm: Rendering custom template HTML escapes wrongly

Added by Patrick Seidensal over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm/monitoring
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When setting a custom template for prometheus, the result is rendered HTML escaped and therefore faulty.

# This file is generated by cephadm.
global:
  scrape_interval: 15s
  evaluation_interval: 10s
rule_files:
  - /etc/prometheus/alerting/*
alerting:
  alertmanagers:
    - scheme: http
      path_prefix: /alertmanager
      static_configs:
        - targets: [&#39;home:9093&#39;] # <--
scrape_configs:
  - job_name: 'ceph'
    static_configs:
    - targets:
      - 'home:9283'
      labels:
        instance: 'ceph_cluster'
  - job_name: 'node'
    static_configs:
    - targets: ['home:9100']
      labels:
        instance: 'home'

Actions #1

Updated by Patrick Seidensal over 3 years ago

  • Description updated (diff)
Actions #2

Updated by Patrick Seidensal over 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 37411
Actions #3

Updated by Patrick Seidensal over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Sebastian Wagner over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF