2025-10-05T07:34:18.158358300+00:00 stderr F INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json 2025-10-05T07:34:18.158937555+00:00 stderr F INFO:__main__:Validating config file 2025-10-05T07:34:18.158937555+00:00 stderr F INFO:__main__:Kolla config strategy set to: COPY_ALWAYS 2025-10-05T07:34:18.158937555+00:00 stderr F INFO:__main__:Copying service configuration files 2025-10-05T07:34:18.159410007+00:00 stderr F INFO:__main__:Deleting /etc/my.cnf.d/galera.cnf 2025-10-05T07:34:18.159537021+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 2025-10-05T07:34:18.160171558+00:00 stderr F INFO:__main__:Creating directory /etc/systemd/system/mariadb.service.d 2025-10-05T07:34:18.160339253+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 2025-10-05T07:34:18.160714913+00:00 stderr F INFO:__main__:Copying /var/lib/kolla/config_files/src/root/.my.cnf to /root/.my.cnf 2025-10-05T07:34:18.160959849+00:00 stderr F INFO:__main__:Writing out command to execute 2025-10-05T07:34:18.161494643+00:00 stderr F INFO:__main__:Setting permission for /var/lib/mysql 2025-10-05T07:34:18.180924242+00:00 stderr F sudo: unable to send audit message: Operation not permitted 2025-10-05T07:34:18.232914668+00:00 stderr F chown: cannot access '/auth_pam_tool_dir/auth_pam_tool': No such file or directory 2025-10-05T07:34:18.233212387+00:00 stdout F Couldn't set an owner to '/auth_pam_tool_dir/auth_pam_tool'. 2025-10-05T07:34:18.233212387+00:00 stdout F It must be root, the PAM authentication plugin doesn't work otherwise.. 2025-10-05T07:34:18.233212387+00:00 stdout F 2025-10-05T07:34:18.236243067+00:00 stderr P chown: cannot access '/auth_pam_tool_dir' 2025-10-05T07:34:18.236294439+00:00 stderr F : No such file or directory 2025-10-05T07:34:18.236684559+00:00 stdout F Cannot change ownership of the '/auth_pam_tool_dir' directory 2025-10-05T07:34:18.236684559+00:00 stdout F to the 'mysql' user. Check that you have the necessary permissions and try again. 2025-10-05T07:34:18.236684559+00:00 stdout F 2025-10-05T07:34:18.237092180+00:00 stdout F Installing MariaDB/MySQL system tables in '/var/lib/mysql' ... 2025-10-05T07:34:19.022956712+00:00 stdout F OK 2025-10-05T07:34:19.023829815+00:00 stdout F 2025-10-05T07:34:19.023857375+00:00 stdout F To start mariadbd at boot time you have to copy 2025-10-05T07:34:19.023932417+00:00 stdout F support-files/mariadb.service to the right place for your system 2025-10-05T07:34:19.023950878+00:00 stdout F 2025-10-05T07:34:19.023950878+00:00 stdout F 2025-10-05T07:34:19.023950878+00:00 stdout F Two all-privilege accounts were created. 2025-10-05T07:34:19.023962938+00:00 stdout F One is root@localhost, it has no password, but you need to 2025-10-05T07:34:19.024020410+00:00 stdout F be system 'root' user to connect. Use, for example, sudo mysql 2025-10-05T07:34:19.024020410+00:00 stdout F The second is mysql@localhost, it has no password either, but 2025-10-05T07:34:19.024039880+00:00 stdout F you need to be the system 'mysql' user to connect. 2025-10-05T07:34:19.024087852+00:00 stdout F After connecting you can set the password, if you would need to be 2025-10-05T07:34:19.024109822+00:00 stdout F able to connect as any of these users with a password and without sudo 2025-10-05T07:34:19.024109822+00:00 stdout F 2025-10-05T07:34:19.024109822+00:00 stdout F See the MariaDB Knowledgebase at https://mariadb.com/kb 2025-10-05T07:34:19.024131253+00:00 stdout F 2025-10-05T07:34:19.024205745+00:00 stdout F You can start the MariaDB daemon with: 2025-10-05T07:34:19.024205745+00:00 stdout F cd '/usr' ; /usr/bin/mariadb-safe --datadir='/var/lib/mysql' 2025-10-05T07:34:19.024223995+00:00 stdout F 2025-10-05T07:34:19.024223995+00:00 stdout F You can test the MariaDB daemon with mysql-test-run.pl 2025-10-05T07:34:19.024233485+00:00 stdout F cd '/usr/share/mysql-test' ; perl mariadb-test-run.pl 2025-10-05T07:34:19.024233485+00:00 stdout F 2025-10-05T07:34:19.024267696+00:00 stdout F Please report any problems at https://mariadb.org/jira 2025-10-05T07:34:19.024276596+00:00 stdout F 2025-10-05T07:34:19.024323658+00:00 stdout F The latest information about MariaDB is available at https://mariadb.org/. 2025-10-05T07:34:19.024323658+00:00 stdout F 2025-10-05T07:34:19.024340358+00:00 stdout F Consider joining MariaDB's strong and vibrant community: 2025-10-05T07:34:19.024340358+00:00 stdout F https://mariadb.org/get-involved/ 2025-10-05T07:34:19.024349908+00:00 stdout F 2025-10-05T07:34:19.208270534+00:00 stdout F 251005 07:34:19 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'. 2025-10-05T07:34:19.275675062+00:00 stdout F 251005 07:34:19 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql 2025-10-05T07:34:20.041899969+00:00 stderr P sudo 2025-10-05T07:34:20.042016352+00:00 stderr P : 2025-10-05T07:34:20.042097774+00:00 stderr P unable to send audit message 2025-10-05T07:34:20.042132895+00:00 stderr P : 2025-10-05T07:34:20.042166006+00:00 stderr P Operation not permitted 2025-10-05T07:34:20.042197647+00:00 stderr F 2025-10-05T07:34:20.051290460+00:00 stdout F spawn mysql_secure_installation 2025-10-05T07:34:20.072658800+00:00 stdout F 2025-10-05T07:34:20.072658800+00:00 stdout F NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB 2025-10-05T07:34:20.072658800+00:00 stdout F SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! 2025-10-05T07:34:20.072658800+00:00 stdout F 2025-10-05T07:34:20.072658800+00:00 stdout F In order to log into MariaDB to secure it, we'll need the current 2025-10-05T07:34:20.072704771+00:00 stdout F password for the root user. If you've just installed MariaDB, and 2025-10-05T07:34:20.072704771+00:00 stdout F haven't set the root password yet, you should just press enter here. 2025-10-05T07:34:20.072704771+00:00 stdout F 2025-10-05T07:34:20.075552717+00:00 stdout P Enter current password for root (enter for none): 2025-10-05T07:34:20.075734612+00:00 stdout F 2025-10-05T07:34:20.098175250+00:00 stdout F OK, successfully used password, moving on... 2025-10-05T07:34:20.098175250+00:00 stdout F 2025-10-05T07:34:20.098175250+00:00 stdout F Setting the root password or using the unix_socket ensures that nobody 2025-10-05T07:34:20.098175250+00:00 stdout F can log into the MariaDB root user without the proper authorisation. 2025-10-05T07:34:20.098175250+00:00 stdout F 2025-10-05T07:34:20.098252552+00:00 stdout F You already have your root account protected, so you can safely answer 'n'. 2025-10-05T07:34:20.098252552+00:00 stdout F 2025-10-05T07:34:20.098252552+00:00 stdout P Switch to unix_socket authentication [Y/n] 2025-10-05T07:34:20.098427577+00:00 stdout F n 2025-10-05T07:34:20.098615022+00:00 stdout F ... skipping. 2025-10-05T07:34:20.098615022+00:00 stdout F 2025-10-05T07:34:20.098615022+00:00 stdout F You already have your root account protected, so you can safely answer 'n'. 2025-10-05T07:34:20.098615022+00:00 stdout F 2025-10-05T07:34:20.098615022+00:00 stdout P Change the root password? [Y/n] 2025-10-05T07:34:20.098711195+00:00 stdout F y 2025-10-05T07:34:20.102346012+00:00 stdout P New password: 2025-10-05T07:34:20.102548547+00:00 stdout F 2025-10-05T07:34:20.102548547+00:00 stdout P Re-enter new password: 2025-10-05T07:34:20.102697171+00:00 stdout F 2025-10-05T07:34:20.126921158+00:00 stdout F Password updated successfully! 2025-10-05T07:34:20.126921158+00:00 stdout F Reloading privilege tables.. 2025-10-05T07:34:20.138263610+00:00 stdout F ... Success! 2025-10-05T07:34:20.138263610+00:00 stdout F 2025-10-05T07:34:20.143882280+00:00 stdout F 2025-10-05T07:34:20.143882280+00:00 stdout F By default, a MariaDB installation has an anonymous user, allowing anyone 2025-10-05T07:34:20.143882280+00:00 stdout F to log into MariaDB without having to have a user account created for 2025-10-05T07:34:20.143882280+00:00 stdout F them. This is intended only for testing, and to make the installation 2025-10-05T07:34:20.143882280+00:00 stdout F go a bit smoother. You should remove them before moving into a 2025-10-05T07:34:20.143882280+00:00 stdout F production environment. 2025-10-05T07:34:20.143882280+00:00 stdout F 2025-10-05T07:34:20.143948912+00:00 stdout P Remove anonymous users? [Y/n] 2025-10-05T07:34:20.144100926+00:00 stdout F y 2025-10-05T07:34:20.157149363+00:00 stdout F ... Success! 2025-10-05T07:34:20.157149363+00:00 stdout F 2025-10-05T07:34:20.157149363+00:00 stdout F Normally, root should only be allowed to connect from 'localhost'. This 2025-10-05T07:34:20.157149363+00:00 stdout F ensures that someone cannot guess at the root password from the network. 2025-10-05T07:34:20.157149363+00:00 stdout F 2025-10-05T07:34:20.157204605+00:00 stdout P Disallow root login remotely? [Y/n] 2025-10-05T07:34:20.157381629+00:00 stdout F n 2025-10-05T07:34:20.157489742+00:00 stdout F ... skipping. 2025-10-05T07:34:20.157489742+00:00 stdout F 2025-10-05T07:34:20.157531834+00:00 stdout F By default, MariaDB comes with a database named 'test' that anyone can 2025-10-05T07:34:20.157589096+00:00 stdout F access. This is also intended only for testing, and should be removed 2025-10-05T07:34:20.157589096+00:00 stdout F before moving into a production environment. 2025-10-05T07:34:20.157644527+00:00 stdout F 2025-10-05T07:34:20.157644527+00:00 stdout P Remove test database and access to it? [Y/n] 2025-10-05T07:34:20.157749400+00:00 stdout F y 2025-10-05T07:34:20.157913054+00:00 stdout F - Dropping test database... 2025-10-05T07:34:20.170084639+00:00 stdout F ... Success! 2025-10-05T07:34:20.170084639+00:00 stdout F - Removing privileges on test database... 2025-10-05T07:34:20.183684262+00:00 stdout F ... Success! 2025-10-05T07:34:20.183684262+00:00 stdout F 2025-10-05T07:34:20.183684262+00:00 stdout F Reloading the privilege tables will ensure that all changes made so far 2025-10-05T07:34:20.183684262+00:00 stdout F will take effect immediately. 2025-10-05T07:34:20.183684262+00:00 stdout F 2025-10-05T07:34:20.183736613+00:00 stdout P Reload privilege tables now? [Y/n] 2025-10-05T07:34:20.183908047+00:00 stdout F y 2025-10-05T07:34:20.196900454+00:00 stdout F ... Success! 2025-10-05T07:34:20.196900454+00:00 stdout F 2025-10-05T07:34:20.196900454+00:00 stdout F Cleaning up... 2025-10-05T07:34:20.200536711+00:00 stdout F 2025-10-05T07:34:20.200536711+00:00 stdout F All done! If you've completed all of the above steps, your MariaDB 2025-10-05T07:34:20.200536711+00:00 stdout F installation should now be secure. 2025-10-05T07:34:20.200536711+00:00 stdout F 2025-10-05T07:34:20.200536711+00:00 stdout F Thanks for using MariaDB! 2025-10-05T07:34:21.423430219+00:00 stdout F 251005 07:34:21 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'. 2025-10-05T07:34:21.489275666+00:00 stdout F 251005 07:34:21 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql 2025-10-05T07:34:22.488742815+00:00 stdout F mysqld is alive