]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
suite: check build_complete for centos9
authorCasey Bodley <cbodley@redhat.com>
Mon, 20 May 2024 16:02:16 +0000 (12:02 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 30 May 2024 18:11:48 +0000 (14:11 -0400)
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 <cbodley@redhat.com>
teuthology/orchestra/opsys.py
teuthology/suite/util.py

index 6bd7469235e676820e9e6dc4299e69ae6a5aacd9..60de5f9554f9c4c2f7f9e3051dbeffdfbf3da54b 100644 (file)
@@ -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",
index 7e1ae35ccc2699503f357884e4461e2335ac31f4..e1d311593175f52d5153d7be2be4d78da2d17b9e 100644 (file)
@@ -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'