Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Starting with MOSK 25.2, the MOSK documentation set will cover all product layers, including MOSK management (formerly MCC). This means everything you need will be in one place. The separate MCC documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
Keycloak admin console becomes inaccessible after changing the theme¶
Due to the upstream Keycloack issue, the Keycloak admin console becomes inaccessible after changing the theme to base using the Themes tab.
To apply the issue resolution:
Obtain the MySQL admin password:
kubectl get secret -n kaas mariadb-dbadmin-password -o yaml | awk '/MYSQL_DBADMIN_PASSWORD/ {print $2}' | base64 -d
Connect to the MariaDB server:
kubectl exec -it -n kaas mariadb-server-0 -- mysql -h localhost -u root -p
Update the Keycloak database for the following themes:
ADMIN_THEME
ACCOUNT_THEME
EMAIL_THEME
LOGIN_THEME
For example:
use keycloak; update REALM set ADMIN_THEME = REPLACE(ADMIN_THEME, 'base','keycloak');
Restart Keycloak:
kubectl scale sts -n kaas --replicas=0 iam-keycloak kubectl scale sts -n kaas --replicas=3 iam-keycloak