From f50b79725a598b44b328967021404ba853d69b3f Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Mon, 20 May 2024 12:02:16 -0400 Subject: [PATCH] suite: check build_complete for centos9 with all ceph releases moving to centos 9-based containers, teuthology should prevent scheduling jobs until those container builds finish update the DEFAULT_OS_VERSION for centos to 9 so it checks for those containers when no --distro-version is specified Fixes: https://tracker.ceph.com/issues/66096 Signed-off-by: Casey Bodley --- teuthology/orchestra/opsys.py | 2 +- teuthology/suite/util.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/teuthology/orchestra/opsys.py b/teuthology/orchestra/opsys.py index 6bd746923..60de5f955 100644 --- a/teuthology/orchestra/opsys.py +++ b/teuthology/orchestra/opsys.py @@ -73,7 +73,7 @@ DISTRO_CODENAME_MAP = { DEFAULT_OS_VERSION = dict( ubuntu="22.04", fedora="25", - centos="8.stream", + centos="9.stream", opensuse="15.4", sle="15.2", rhel="8.6", diff --git a/teuthology/suite/util.py b/teuthology/suite/util.py index 7e1ae35cc..e1d311593 100644 --- a/teuthology/suite/util.py +++ b/teuthology/suite/util.py @@ -25,7 +25,7 @@ from teuthology.task.install import get_flavor log = logging.getLogger(__name__) -CONTAINER_DISTRO = 'centos/8' # the one to check for build_complete +CONTAINER_DISTRO = 'centos/9' # the one to check for build_complete CONTAINER_FLAVOR = 'default' -- 2.47.3