2026-06-13T07:43:37.327665884+00:00 stderr F INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json 2026-06-13T07:43:37.327868780+00:00 stderr F INFO:__main__:Validating config file 2026-06-13T07:43:37.327885421+00:00 stderr F INFO:__main__:Kolla config strategy set to: COPY_ALWAYS 2026-06-13T07:43:37.327926322+00:00 stderr F INFO:__main__:Copying service configuration files 2026-06-13T07:43:37.328529823+00:00 stderr F INFO:__main__:Deleting /etc/my.cnf.d/galera.cnf 2026-06-13T07:43:37.328636877+00:00 stderr F INFO:__main__:Copying /var/lib/kolla/config_files/src/etc/my.cnf.d/galera.cnf to /etc/my.cnf.d/galera.cnf 2026-06-13T07:43:37.329539726+00:00 stderr F INFO:__main__:Creating directory /etc/systemd/system/mariadb.service.d 2026-06-13T07:43:37.329697651+00:00 stderr F INFO:__main__:Copying /var/lib/kolla/config_files/src/etc/systemd/system/mariadb.service.d/90-limits.conf to /etc/systemd/system/mariadb.service.d/90-limits.conf 2026-06-13T07:43:37.330151666+00:00 stderr F INFO:__main__:Copying /var/lib/kolla/config_files/src/root/.my.cnf to /root/.my.cnf 2026-06-13T07:43:37.330405294+00:00 stderr F INFO:__main__:Writing out command to execute 2026-06-13T07:43:37.330905110+00:00 stderr F INFO:__main__:Setting permission for /var/lib/mysql 2026-06-13T07:43:37.348190681+00:00 stderr F sudo: unable to send audit message: Operation not permitted 2026-06-13T07:43:37.386176192+00:00 stderr P chown: cannot access '/auth_pam_tool_dir/auth_pam_tool' 2026-06-13T07:43:37.386231584+00:00 stderr F : No such file or directory 2026-06-13T07:43:37.386551635+00:00 stdout F Couldn't set an owner to '/auth_pam_tool_dir/auth_pam_tool'. 2026-06-13T07:43:37.386551635+00:00 stdout F It must be root, the PAM authentication plugin doesn't work otherwise.. 2026-06-13T07:43:37.386551635+00:00 stdout F 2026-06-13T07:43:37.393433292+00:00 stdout F Cannot change ownership of the '/auth_pam_tool_dir' directory 2026-06-13T07:43:37.393433292+00:00 stdout F to the 'mysql' user. Check that you have the necessary permissions and try again. 2026-06-13T07:43:37.393433292+00:00 stdout F 2026-06-13T07:43:37.393433292+00:00 stdout F Installing MariaDB/MySQL system tables in '/var/lib/mysql' ... 2026-06-13T07:43:37.393476083+00:00 stderr F chown: cannot access '/auth_pam_tool_dir': No such file or directory 2026-06-13T07:43:38.160033397+00:00 stdout F OK 2026-06-13T07:43:38.160416141+00:00 stdout F 2026-06-13T07:43:38.160445262+00:00 stdout F To start mariadbd at boot time you have to copy 2026-06-13T07:43:38.160494884+00:00 stdout F support-files/mariadb.service to the right place for your system 2026-06-13T07:43:38.160623738+00:00 stdout F 2026-06-13T07:43:38.160623738+00:00 stdout F 2026-06-13T07:43:38.160623738+00:00 stdout F Two all-privilege accounts were created. 2026-06-13T07:43:38.160649459+00:00 stdout F One is root@localhost, it has no password, but you need to 2026-06-13T07:43:38.160649459+00:00 stdout F be system 'root' user to connect. Use, for example, sudo mysql 2026-06-13T07:43:38.160663029+00:00 stdout F The second is mysql@localhost, it has no password either, but 2026-06-13T07:43:38.160675599+00:00 stdout F you need to be the system 'mysql' user to connect. 2026-06-13T07:43:38.160777073+00:00 stdout F After connecting you can set the password, if you would need to be 2026-06-13T07:43:38.160800253+00:00 stdout F able to connect as any of these users with a password and without sudo 2026-06-13T07:43:38.160812704+00:00 stdout F 2026-06-13T07:43:38.160812704+00:00 stdout F See the MariaDB Knowledgebase at https://mariadb.com/kb 2026-06-13T07:43:38.160918547+00:00 stdout F 2026-06-13T07:43:38.160918547+00:00 stdout F You can start the MariaDB daemon with: 2026-06-13T07:43:38.160960739+00:00 stdout F cd '/usr' ; /usr/bin/mariadb-safe --datadir='/var/lib/mysql' 2026-06-13T07:43:38.160960739+00:00 stdout F 2026-06-13T07:43:38.161043621+00:00 stdout F You can test the MariaDB daemon with mysql-test-run.pl 2026-06-13T07:43:38.161084263+00:00 stdout F cd '/usr/share/mysql-test' ; perl mariadb-test-run.pl 2026-06-13T07:43:38.161084263+00:00 stdout F 2026-06-13T07:43:38.161171046+00:00 stdout F Please report any problems at https://mariadb.org/jira 2026-06-13T07:43:38.161171046+00:00 stdout F 2026-06-13T07:43:38.161217147+00:00 stdout F The latest information about MariaDB is available at https://mariadb.org/. 2026-06-13T07:43:38.161309010+00:00 stdout F 2026-06-13T07:43:38.161330021+00:00 stdout F Consider joining MariaDB's strong and vibrant community: 2026-06-13T07:43:38.161330021+00:00 stdout F https://mariadb.org/get-involved/ 2026-06-13T07:43:38.161330021+00:00 stdout F 2026-06-13T07:43:38.351575441+00:00 stdout F 260613 07:43:38 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'. 2026-06-13T07:43:38.417995960+00:00 stdout F 260613 07:43:38 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql 2026-06-13T07:43:39.177990599+00:00 stderr F sudo: unable to send audit message: Operation not permitted 2026-06-13T07:43:39.184488023+00:00 stdout P spawn 2026-06-13T07:43:39.184545155+00:00 stdout P 2026-06-13T07:43:39.184563845+00:00 stdout P mysql_secure_installation 2026-06-13T07:43:39.184581456+00:00 stdout F 2026-06-13T07:43:39.201467852+00:00 stdout F 2026-06-13T07:43:39.201467852+00:00 stdout F NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB 2026-06-13T07:43:39.201606437+00:00 stdout F SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! 2026-06-13T07:43:39.201606437+00:00 stdout F 2026-06-13T07:43:39.201606437+00:00 stdout F In order to log into MariaDB to secure it, we'll need the current 2026-06-13T07:43:39.201606437+00:00 stdout F password for the root user. If you've just installed MariaDB, and 2026-06-13T07:43:39.201606437+00:00 stdout F haven't set the root password yet, you should just press enter here. 2026-06-13T07:43:39.201714360+00:00 stdout F 2026-06-13T07:43:39.203533271+00:00 stdout P Enter current password for root (enter for none): 2026-06-13T07:43:39.203698066+00:00 stdout F 2026-06-13T07:43:39.222915129+00:00 stdout F OK, successfully used password, moving on... 2026-06-13T07:43:39.222915129+00:00 stdout F 2026-06-13T07:43:39.222915129+00:00 stdout F Setting the root password or using the unix_socket ensures that nobody 2026-06-13T07:43:39.223032913+00:00 stdout F can log into the MariaDB root user without the proper authorisation. 2026-06-13T07:43:39.223032913+00:00 stdout F 2026-06-13T07:43:39.223032913+00:00 stdout F You already have your root account protected, so you can safely answer 'n'. 2026-06-13T07:43:39.223032913+00:00 stdout F 2026-06-13T07:43:39.223032913+00:00 stdout P Switch to unix_socket authentication [Y/n] 2026-06-13T07:43:39.223264481+00:00 stdout F n 2026-06-13T07:43:39.223361214+00:00 stdout F ... skipping. 2026-06-13T07:43:39.223361214+00:00 stdout F 2026-06-13T07:43:39.223504339+00:00 stdout F You already have your root account protected, so you can safely answer 'n'. 2026-06-13T07:43:39.223504339+00:00 stdout F 2026-06-13T07:43:39.223504339+00:00 stdout P Change the root password? [Y/n] 2026-06-13T07:43:39.223676324+00:00 stdout F y 2026-06-13T07:43:39.225695071+00:00 stdout P New password: 2026-06-13T07:43:39.226011501+00:00 stdout F 2026-06-13T07:43:39.226011501+00:00 stdout P Re-enter new password: 2026-06-13T07:43:39.226222588+00:00 stdout F 2026-06-13T07:43:39.246975272+00:00 stdout F Password updated successfully! 2026-06-13T07:43:39.246975272+00:00 stdout F Reloading privilege tables.. 2026-06-13T07:43:39.258424319+00:00 stdout F ... Success! 2026-06-13T07:43:39.258424319+00:00 stdout F 2026-06-13T07:43:39.262188064+00:00 stdout F 2026-06-13T07:43:39.262188064+00:00 stdout F By default, a MariaDB installation has an anonymous user, allowing anyone 2026-06-13T07:43:39.262362429+00:00 stdout F to log into MariaDB without having to have a user account created for 2026-06-13T07:43:39.262362429+00:00 stdout F them. This is intended only for testing, and to make the installation 2026-06-13T07:43:39.262362429+00:00 stdout F go a bit smoother. You should remove them before moving into a 2026-06-13T07:43:39.262362429+00:00 stdout F production environment. 2026-06-13T07:43:39.262362429+00:00 stdout F 2026-06-13T07:43:39.262362429+00:00 stdout P Remove anonymous users? [Y/n] 2026-06-13T07:43:39.262737942+00:00 stdout F y 2026-06-13T07:43:39.273971132+00:00 stdout F ... Success! 2026-06-13T07:43:39.273971132+00:00 stdout F 2026-06-13T07:43:39.274084946+00:00 stdout F Normally, root should only be allowed to connect from 'localhost'. This 2026-06-13T07:43:39.274084946+00:00 stdout F ensures that someone cannot guess at the root password from the network. 2026-06-13T07:43:39.274084946+00:00 stdout F 2026-06-13T07:43:39.274084946+00:00 stdout P Disallow root login remotely? [Y/n] 2026-06-13T07:43:39.274276662+00:00 stdout F n 2026-06-13T07:43:39.274354484+00:00 stdout F ... skipping. 2026-06-13T07:43:39.274354484+00:00 stdout F 2026-06-13T07:43:39.274354484+00:00 stdout F By default, MariaDB comes with a database named 'test' that anyone can 2026-06-13T07:43:39.274354484+00:00 stdout F access. This is also intended only for testing, and should be removed 2026-06-13T07:43:39.274455078+00:00 stdout F before moving into a production environment. 2026-06-13T07:43:39.274455078+00:00 stdout F 2026-06-13T07:43:39.274455078+00:00 stdout P Remove test database and access to it? [Y/n] 2026-06-13T07:43:39.274649144+00:00 stdout F y 2026-06-13T07:43:39.274722176+00:00 stdout F - Dropping test database... 2026-06-13T07:43:39.286251686+00:00 stdout F ... Success! 2026-06-13T07:43:39.286251686+00:00 stdout F - Removing privileges on test database... 2026-06-13T07:43:39.298766839+00:00 stdout F ... Success! 2026-06-13T07:43:39.298766839+00:00 stdout F 2026-06-13T07:43:39.298766839+00:00 stdout F Reloading the privilege tables will ensure that all changes made so far 2026-06-13T07:43:39.298766839+00:00 stdout F will take effect immediately. 2026-06-13T07:43:39.298766839+00:00 stdout F 2026-06-13T07:43:39.298891693+00:00 stdout P Reload privilege tables now? [Y/n] 2026-06-13T07:43:39.299061949+00:00 stdout F y 2026-06-13T07:43:39.312650367+00:00 stdout F ... Success! 2026-06-13T07:43:39.312650367+00:00 stdout F 2026-06-13T07:43:39.312774591+00:00 stdout F Cleaning up... 2026-06-13T07:43:39.315894474+00:00 stdout F 2026-06-13T07:43:39.315894474+00:00 stdout F All done! If you've completed all of the above steps, your MariaDB 2026-06-13T07:43:39.315894474+00:00 stdout F installation should now be secure. 2026-06-13T07:43:39.315894474+00:00 stdout F 2026-06-13T07:43:39.316003257+00:00 stdout F Thanks for using MariaDB! 2026-06-13T07:43:40.500171386+00:00 stdout F 260613 07:43:40 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'. 2026-06-13T07:43:40.547924990+00:00 stdout F 260613 07:43:40 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql 2026-06-13T07:43:41.601485494+00:00 stdout F mysqld is alive