Project

General

Profile

Actions

Tasks #57709

open

Handle complex role names in teuthology tests

Added by Laura Flores over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:

Description

Currently, most real-world clusters have daemons with complex names, which teuthology and vstart environments do not reflect.

When we define roles in teuthology tests, like this:

roles:
- - mon.a
  - mon.c
  - mgr.y
  - mds.a
  - osd.0
  - osd.1
  - osd.2
  - osd.3
  - client.0
  - node-exporter.a
  - alertmanager.a
- - mon.b
  - mds.b
  - mgr.x
  - osd.4
  - osd.5
  - osd.6
  - osd.7
  - client.1
  - prometheus.a
  - grafana.a
  - node-exporter.b

It is currently not possible to make the daemon ids more complex, i.e.

roles:
- - mon.a.complex
  - mon.c.complex
  - mgr.y.complex
  - mds.a.complex
  - osd.0
  - osd.1
  - osd.2
  - osd.3
  - client.0
  - node-exporter.a
  - alertmanager.a
- - mon.b.complex
  - mds.b.complex
  - mgr.x.complex
  - osd.4
  - osd.5
  - osd.6
  - osd.7
  - client.1
  - prometheus.a
  - grafana.a
  - node-exporter.b

Having the ability to name complex roles could help catch bugs like https://tracker.ceph.com/issues/57700 before they surface on real clusters.


Files

orig.config.yaml (5.6 KB) orig.config.yaml Laura Flores, 09/29/2022 05:15 PM
teuthology.log (402 KB) teuthology.log Laura Flores, 09/29/2022 05:15 PM

Related issues 1 (0 open1 closed)

Related to mgr - Bug #57700: mgr/telemetry: ValueError: too many values to unpack (expected 2) in get_mempoolResolvedLaura Flores

Actions
Actions

Also available in: Atom PDF