2025-10-03T08:15:21.758104543+00:00 stderr F INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json 2025-10-03T08:15:21.758585606+00:00 stderr F INFO:__main__:Validating config file 2025-10-03T08:15:21.758680798+00:00 stderr F INFO:__main__:Kolla config strategy set to: COPY_ALWAYS 2025-10-03T08:15:21.758737840+00:00 stderr F INFO:__main__:Copying service configuration files 2025-10-03T08:15:21.758890974+00:00 stderr F INFO:__main__:Copying /dev/null to /etc/libqb/force-filesystem-sockets 2025-10-03T08:15:21.759769218+00:00 stderr F INFO:__main__:Setting permission for /etc/libqb/force-filesystem-sockets 2025-10-03T08:15:21.760352804+00:00 stderr F INFO:__main__:Deleting /etc/my.cnf.d/galera.cnf 2025-10-03T08:15:21.760521760+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-03T08:15:21.760985742+00:00 stderr F INFO:__main__:Copying /var/lib/kolla/config_files/src/etc/sysconfig/clustercheck to /etc/sysconfig/clustercheck 2025-10-03T08:15:21.761430984+00:00 stderr F INFO:__main__:Copying /var/lib/kolla/config_files/src/root/.my.cnf to /root/.my.cnf 2025-10-03T08:15:21.762266377+00:00 stderr F INFO:__main__:Copying /var/lib/kolla/config_files/src-tls/etc/pki/tls/private/mysql.key to /etc/pki/tls/private/mysql.key 2025-10-03T08:15:21.762684618+00:00 stderr F INFO:__main__:Copying /var/lib/kolla/config_files/src-tls/etc/pki/tls/certs/mysql.crt to /etc/pki/tls/certs/mysql.crt 2025-10-03T08:15:21.762948866+00:00 stderr F INFO:__main__:Writing out command to execute 2025-10-03T08:15:21.763365418+00:00 stderr F INFO:__main__:Setting permission for /etc/pki/tls/certs/mysql.crt 2025-10-03T08:15:21.763519722+00:00 stderr F INFO:__main__:Setting permission for /etc/pki/tls/private/mysql.key 2025-10-03T08:15:21.785027405+00:00 stderr F sudo: unable to send audit message: Operation not permitted 2025-10-03T08:15:21.828849744+00:00 stderr P chown: 2025-10-03T08:15:21.828956857+00:00 stderr P cannot access '/auth_pam_tool_dir/auth_pam_tool' 2025-10-03T08:15:21.829036130+00:00 stderr P : No such file or directory 2025-10-03T08:15:21.829080391+00:00 stderr F 2025-10-03T08:15:21.829489212+00:00 stdout F Couldn't set an owner to '/auth_pam_tool_dir/auth_pam_tool'. 2025-10-03T08:15:21.829489212+00:00 stdout F It must be root, the PAM authentication plugin doesn't work otherwise.. 2025-10-03T08:15:21.829489212+00:00 stdout F 2025-10-03T08:15:21.831279582+00:00 stderr P chown: cannot access '/auth_pam_tool_dir' 2025-10-03T08:15:21.831315893+00:00 stderr F : No such file or directory 2025-10-03T08:15:21.831499448+00:00 stdout F Cannot change ownership of the '/auth_pam_tool_dir' directory 2025-10-03T08:15:21.831499448+00:00 stdout F to the 'mysql' user. Check that you have the necessary permissions and try again. 2025-10-03T08:15:21.831499448+00:00 stdout F 2025-10-03T08:15:21.831653952+00:00 stdout F Installing MariaDB/MySQL system tables in '/var/lib/mysql' ... 2025-10-03T08:15:22.635843460+00:00 stdout F OK 2025-10-03T08:15:22.636069086+00:00 stdout F 2025-10-03T08:15:22.636099767+00:00 stdout F To start mariadbd at boot time you have to copy 2025-10-03T08:15:22.636180899+00:00 stdout F support-files/mariadb.service to the right place for your system 2025-10-03T08:15:22.636180899+00:00 stdout F 2025-10-03T08:15:22.636199310+00:00 stdout F 2025-10-03T08:15:22.636199310+00:00 stdout F Two all-privilege accounts were created. 2025-10-03T08:15:22.636212340+00:00 stdout F One is root@localhost, it has no password, but you need to 2025-10-03T08:15:22.636225911+00:00 stdout F be system 'root' user to connect. Use, for example, sudo mysql 2025-10-03T08:15:22.636238401+00:00 stdout F The second is mysql@localhost, it has no password either, but 2025-10-03T08:15:22.636253181+00:00 stdout F you need to be the system 'mysql' user to connect. 2025-10-03T08:15:22.636253181+00:00 stdout F After connecting you can set the password, if you would need to be 2025-10-03T08:15:22.636267172+00:00 stdout F able to connect as any of these users with a password and without sudo 2025-10-03T08:15:22.636311813+00:00 stdout F 2025-10-03T08:15:22.636311813+00:00 stdout F See the MariaDB Knowledgebase at https://mariadb.com/kb 2025-10-03T08:15:22.636311813+00:00 stdout F 2025-10-03T08:15:22.636311813+00:00 stdout F You can start the MariaDB daemon with: 2025-10-03T08:15:22.636311813+00:00 stdout F cd '/usr' ; /usr/bin/mariadb-safe --datadir='/var/lib/mysql' 2025-10-03T08:15:22.636328073+00:00 stdout F 2025-10-03T08:15:22.636328073+00:00 stdout F You can test the MariaDB daemon with mysql-test-run.pl 2025-10-03T08:15:22.636341634+00:00 stdout F cd '/usr/share/mysql-test' ; perl mariadb-test-run.pl 2025-10-03T08:15:22.636341634+00:00 stdout F 2025-10-03T08:15:22.636354754+00:00 stdout F Please report any problems at https://mariadb.org/jira 2025-10-03T08:15:22.636354754+00:00 stdout F 2025-10-03T08:15:22.636373635+00:00 stdout F The latest information about MariaDB is available at https://mariadb.org/. 2025-10-03T08:15:22.636373635+00:00 stdout F 2025-10-03T08:15:22.636386605+00:00 stdout F Consider joining MariaDB's strong and vibrant community: 2025-10-03T08:15:22.636386605+00:00 stdout F https://mariadb.org/get-involved/ 2025-10-03T08:15:22.636399385+00:00 stdout F 2025-10-03T08:15:22.925455081+00:00 stdout F 251003 08:15:22 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'. 2025-10-03T08:15:22.997583571+00:00 stdout F 251003 08:15:22 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql 2025-10-03T08:15:23.653948040+00:00 stderr F sudo: unable to send audit message: Operation not permitted 2025-10-03T08:15:23.662026483+00:00 stdout F spawn mysql_secure_installation 2025-10-03T08:15:23.683521897+00:00 stdout F 2025-10-03T08:15:23.683521897+00:00 stdout F NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB 2025-10-03T08:15:23.683521897+00:00 stdout F SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! 2025-10-03T08:15:23.683521897+00:00 stdout F 2025-10-03T08:15:23.683521897+00:00 stdout F In order to log into MariaDB to secure it, we'll need the current 2025-10-03T08:15:23.683521897+00:00 stdout F password for the root user. If you've just installed MariaDB, and 2025-10-03T08:15:23.683683521+00:00 stdout F haven't set the root password yet, you should just press enter here. 2025-10-03T08:15:23.683683521+00:00 stdout F 2025-10-03T08:15:23.686684274+00:00 stdout P Enter current password for root (enter for none): 2025-10-03T08:15:23.687002522+00:00 stdout F 2025-10-03T08:15:23.713375231+00:00 stdout F OK, successfully used password, moving on... 2025-10-03T08:15:23.713375231+00:00 stdout F 2025-10-03T08:15:23.713375231+00:00 stdout F Setting the root password or using the unix_socket ensures that nobody 2025-10-03T08:15:23.713673459+00:00 stdout F can log into the MariaDB root user without the proper authorisation. 2025-10-03T08:15:23.714071590+00:00 stdout F 2025-10-03T08:15:23.714071590+00:00 stdout F You already have your root account protected, so you can safely answer 'n'. 2025-10-03T08:15:23.714071590+00:00 stdout F 2025-10-03T08:15:23.714071590+00:00 stdout P Switch to unix_socket authentication [Y/n] 2025-10-03T08:15:23.714451780+00:00 stdout F n 2025-10-03T08:15:23.714748268+00:00 stdout F ... skipping. 2025-10-03T08:15:23.714748268+00:00 stdout F 2025-10-03T08:15:23.714871491+00:00 stdout F You already have your root account protected, so you can safely answer 'n'. 2025-10-03T08:15:23.714871491+00:00 stdout F 2025-10-03T08:15:23.714871491+00:00 stdout P Change the root password? [Y/n] 2025-10-03T08:15:23.714971254+00:00 stdout F y 2025-10-03T08:15:23.719030477+00:00 stdout P New password: 2025-10-03T08:15:23.719405117+00:00 stdout F 2025-10-03T08:15:23.719405117+00:00 stdout P Re-enter new password: 2025-10-03T08:15:23.719682974+00:00 stdout F 2025-10-03T08:15:23.743403729+00:00 stdout F Password updated successfully! 2025-10-03T08:15:23.743403729+00:00 stdout F Reloading privilege tables.. 2025-10-03T08:15:23.756028697+00:00 stdout F ... Success! 2025-10-03T08:15:23.756028697+00:00 stdout F 2025-10-03T08:15:23.762796034+00:00 stdout F 2025-10-03T08:15:23.762796034+00:00 stdout F By default, a MariaDB installation has an anonymous user, allowing anyone 2025-10-03T08:15:23.762796034+00:00 stdout P to log into MariaDB without having to have a user account created for 2025-10-03T08:15:23.762975708+00:00 stdout F 2025-10-03T08:15:23.763278247+00:00 stdout F them. This is intended only for testing, and to make the installation 2025-10-03T08:15:23.763278247+00:00 stdout F go a bit smoother. You should remove them before moving into a 2025-10-03T08:15:23.763411241+00:00 stdout F production environment. 2025-10-03T08:15:23.763645528+00:00 stdout F 2025-10-03T08:15:23.763912525+00:00 stdout P Remove anonymous users? [Y/n] 2025-10-03T08:15:23.764147051+00:00 stdout F y 2025-10-03T08:15:23.777427858+00:00 stdout F ... Success! 2025-10-03T08:15:23.777427858+00:00 stdout F 2025-10-03T08:15:23.777427858+00:00 stdout F Normally, root should only be allowed to connect from 'localhost'. This 2025-10-03T08:15:23.777427858+00:00 stdout F ensures that someone cannot guess at the root password from the network. 2025-10-03T08:15:23.777427858+00:00 stdout F 2025-10-03T08:15:23.777707046+00:00 stdout F Disallow root login remotely? [Y/n] n 2025-10-03T08:15:23.778131007+00:00 stdout F ... skipping. 2025-10-03T08:15:23.778131007+00:00 stdout F 2025-10-03T08:15:23.778274681+00:00 stdout F By default, MariaDB comes with a database named 'test' that anyone can 2025-10-03T08:15:23.778499907+00:00 stdout F access. This is also intended only for testing, and should be removed 2025-10-03T08:15:23.778499907+00:00 stdout F before moving into a production environment. 2025-10-03T08:15:23.778499907+00:00 stdout F 2025-10-03T08:15:23.778778085+00:00 stdout P Remove test database and access to it? [Y/n] 2025-10-03T08:15:23.778910649+00:00 stdout F y 2025-10-03T08:15:23.779353371+00:00 stdout F - Dropping test database... 2025-10-03T08:15:23.792069622+00:00 stdout F ... Success! 2025-10-03T08:15:23.792069622+00:00 stdout F - Removing privileges on test database... 2025-10-03T08:15:23.805295436+00:00 stdout F ... Success! 2025-10-03T08:15:23.805295436+00:00 stdout F 2025-10-03T08:15:23.805295436+00:00 stdout F Reloading the privilege tables will ensure that all changes made so far 2025-10-03T08:15:23.805295436+00:00 stdout F will take effect immediately. 2025-10-03T08:15:23.805295436+00:00 stdout F 2025-10-03T08:15:23.805442261+00:00 stdout P Reload privilege tables now? [Y/n] 2025-10-03T08:15:23.805497783+00:00 stdout F y 2025-10-03T08:15:23.816340281+00:00 stdout F ... Success! 2025-10-03T08:15:23.816340281+00:00 stdout F 2025-10-03T08:15:23.816340281+00:00 stdout F Cleaning up... 2025-10-03T08:15:23.819682124+00:00 stdout F 2025-10-03T08:15:23.819682124+00:00 stdout F All done! If you've completed all of the above steps, your MariaDB 2025-10-03T08:15:23.819682124+00:00 stdout F installation should now be secure. 2025-10-03T08:15:23.819682124+00:00 stdout F 2025-10-03T08:15:23.819778037+00:00 stdout F Thanks for using MariaDB! 2025-10-03T08:15:25.135682543+00:00 stdout F 251003 08:15:25 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'. 2025-10-03T08:15:25.206996231+00:00 stdout F 251003 08:15:25 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql 2025-10-03T08:15:26.099825826+00:00 stdout F mysqld is alive