Project

General

Profile

Actions

Bug #47648

closed
PS PS

mgr/cephadm: Rendering custom template HTML escapes wrongly

Bug #47648: mgr/cephadm: Rendering custom template HTML escapes wrongly

Added by Patrick Seidensal about 6 years ago. Updated over 1 year ago.

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

0%

Source:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-6024-gc1a39ce17a
Released In:
v16.2.0~1201
Upkeep Timestamp:
2025-07-14T19:28:21+00:00

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'

PS Updated by Patrick Seidensal about 6 years ago Actions #1

  • Description updated (diff)

PS Updated by Patrick Seidensal about 6 years ago Actions #2

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

PS Updated by Patrick Seidensal about 6 years ago Actions #3

  • Status changed from Fix Under Review to Pending Backport

SW Updated by Sebastian Wagner almost 6 years ago Actions #4

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot over 1 year ago Actions #5

  • Merge Commit set to c1a39ce17a30522ff97d0182be9c520070fe1d4f
  • Fixed In set to v16.0.0-6024-gc1a39ce17a
  • Released In set to v16.2.0~1201
  • Upkeep Timestamp set to 2025-07-14T19:28:21+00:00
Actions

Also available in: PDF Atom