From b54779b3260028a9e8fbb7f108d8537fd09c7ad7 Mon Sep 17 00:00:00 2001 From: Kyrylo Shatskyy Date: Wed, 26 Feb 2025 19:42:05 +0100 Subject: [PATCH] orchestra/opsys: add tumbleweed version to the distro version map openSUSE Tumbleweed is a rolling release, so it has fixed version number and changable version id is represented by a date of snapshot, example of vm image: openSUSE-Tumbleweed-Minimal-VM.x86_64-1.0.0-Cloud-Snapshot20250224.qcow2 In comparison, openSUSE Leap has regular release, incremental version, for example: 15.0, 15.1, ..., 15.6, etc., and recently introduced 16.0 alpha. Because there is no sense to stick to the date, it is changing almost daily, it is suggested to fix Tumbleweed version to 1.0 to distinguish from Leap. As a side effect, once Teuthology locks a node with imaged Tumbleweed it updates os version correctly to date of release in paddles, and pulpito display it interface correspondingly as the date. Signed-off-by: Kyrylo Shatskyy --- teuthology/orchestra/opsys.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/orchestra/opsys.py b/teuthology/orchestra/opsys.py index 8f72f888e..b94f0d76a 100644 --- a/teuthology/orchestra/opsys.py +++ b/teuthology/orchestra/opsys.py @@ -61,6 +61,7 @@ DISTRO_CODENAME_MAP = { "20": "heisenbug", }, "opensuse": { + "1.0": "tumbleweed", "15.0": "leap", "15.1": "leap", "15.2": "leap", -- 2.47.3