Fixes: https://tracker.ceph.com/issues/74653
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
# 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';")