From: Kyr Shatskyy Date: Fri, 16 Jan 2026 13:13:21 +0000 (+0100) Subject: qa/tasks/keystone: restart mariadb for rocky and alma linux too X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cc671a4f6219ab9f6dc3242b94a91c3c348ee8a4;p=ceph.git qa/tasks/keystone: restart mariadb for rocky and alma linux too Fixes: https://tracker.ceph.com/issues/74653 Signed-off-by: Kyr Shatskyy --- diff --git a/qa/tasks/keystone.py b/qa/tasks/keystone.py index bffeeeae181..2a55213d2b6 100644 --- a/qa/tasks/keystone.py +++ b/qa/tasks/keystone.py @@ -163,7 +163,7 @@ def setup_database(ctx, config): # MariaDB on RHEL/CentOS needs service started after package install # while Ubuntu starts service by default. - if remote.os.name == 'rhel' or remote.os.name == 'centos': + if remote.os.name in ('rhel', 'centos', 'alma', 'rocky'): remote.run(args=['sudo', 'systemctl', 'restart', 'mariadb']) run_mysql_query(ctx, remote, "CREATE USER 'keystone'@'localhost' IDENTIFIED BY 'SECRET';")