Project

General

Profile

Bug #47648

mgr/cephadm: Rendering custom template HTML escapes wrongly

Added by Patrick Seidensal 4 months ago. Updated about 2 months 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:

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'

History

#1 Updated by Patrick Seidensal 4 months ago

  • Description updated (diff)

#2 Updated by Patrick Seidensal 4 months ago

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

#3 Updated by Patrick Seidensal 4 months ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Sebastian Wagner about 2 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF