From: Kyrylo Shatskyy Date: Wed, 26 Feb 2025 18:42:05 +0000 (+0100) Subject: orchestra/opsys: add tumbleweed version to the distro version map X-Git-Tag: 1.2.2~36^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2027%2Fhead;p=teuthology.git 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 --- 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",