From 4086ada00e3200aeea870bdb4c90bfd610ca12f0 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 21 Feb 2023 16:33:02 -0700 Subject: [PATCH] Add active_machine_types config item I'm adding this so that the exporter can know which machines types to care about. Signed-off-by: Zack Cerza --- docs/siteconfig.rst | 4 ++++ teuthology/config.py | 1 + 2 files changed, 5 insertions(+) diff --git a/docs/siteconfig.rst b/docs/siteconfig.rst index a80abb0a4..96d2658c4 100644 --- a/docs/siteconfig.rst +++ b/docs/siteconfig.rst @@ -22,6 +22,10 @@ Here is a sample configuration with many of the options set and documented:: # Teuthology can use the entire cluster. reserve_machines: 5 + # The machine types currently in active use; currently only used by + # teuthology-exporter + active_machine_types: ['smithi'] + # The host and port to use for the beanstalkd queue. This is required # for scheduled jobs. queue_host: localhost diff --git a/teuthology/config.py b/teuthology/config.py index d499e7672..b97d5188c 100644 --- a/teuthology/config.py +++ b/teuthology/config.py @@ -192,6 +192,7 @@ class TeuthologyConfig(YamlConfig): 'rocketchat': None, 'sleep_before_teardown': 0, 'ssh_key': None, + 'active_machine_types': [], } def __init__(self, yaml_path=None): -- 2.47.3