2025-10-01T07:49:34.967817781+00:00 stderr F INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json 2025-10-01T07:49:34.968166961+00:00 stderr F INFO:__main__:Validating config file 2025-10-01T07:49:34.968250444+00:00 stderr F INFO:__main__:Kolla config strategy set to: COPY_ALWAYS 2025-10-01T07:49:34.968302686+00:00 stderr F INFO:__main__:Copying service configuration files 2025-10-01T07:49:34.968765560+00:00 stderr F INFO:__main__:Deleting /etc/my.cnf.d/galera.cnf 2025-10-01T07:49:34.969009138+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-01T07:49:34.969440801+00:00 stderr F INFO:__main__:Creating directory /etc/systemd/system/mariadb.service.d 2025-10-01T07:49:34.969594376+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-01T07:49:34.969891885+00:00 stderr F INFO:__main__:Copying /var/lib/kolla/config_files/src/root/.my.cnf to /root/.my.cnf 2025-10-01T07:49:34.970123913+00:00 stderr F INFO:__main__:Writing out command to execute 2025-10-01T07:49:34.970586497+00:00 stderr F INFO:__main__:Setting permission for /var/lib/mysql 2025-10-01T07:49:34.980759365+00:00 stderr P sudo 2025-10-01T07:49:34.980796316+00:00 stderr P : 2025-10-01T07:49:34.980809377+00:00 stderr P unable to send audit message 2025-10-01T07:49:34.980821177+00:00 stderr P : 2025-10-01T07:49:34.980832768+00:00 stderr P Operation not permitted 2025-10-01T07:49:34.980844448+00:00 stderr F 2025-10-01T07:49:35.026330343+00:00 stderr F chown: cannot access '/auth_pam_tool_dir/auth_pam_tool': No such file or directory 2025-10-01T07:49:35.026573211+00:00 stdout F Couldn't set an owner to '/auth_pam_tool_dir/auth_pam_tool'. 2025-10-01T07:49:35.026584581+00:00 stdout F It must be root, the PAM authentication plugin doesn't work otherwise.. 2025-10-01T07:49:35.026584581+00:00 stdout F 2025-10-01T07:49:35.028346746+00:00 stderr P chown: 2025-10-01T07:49:35.028379387+00:00 stderr P cannot access '/auth_pam_tool_dir' 2025-10-01T07:49:35.028413018+00:00 stderr P : No such file or directory 2025-10-01T07:49:35.028432448+00:00 stderr F 2025-10-01T07:49:35.028689656+00:00 stdout F Cannot change ownership of the '/auth_pam_tool_dir' directory 2025-10-01T07:49:35.028689656+00:00 stdout F to the 'mysql' user. Check that you have the necessary permissions and try again. 2025-10-01T07:49:35.028708847+00:00 stdout F 2025-10-01T07:49:35.029012877+00:00 stdout F Installing MariaDB/MySQL system tables in '/var/lib/mysql' ... 2025-10-01T07:49:35.793429866+00:00 stdout F OK 2025-10-01T07:49:35.793667524+00:00 stdout F 2025-10-01T07:49:35.793697615+00:00 stdout F To start mariadbd at boot time you have to copy 2025-10-01T07:49:35.793743227+00:00 stdout F support-files/mariadb.service to the right place for your system 2025-10-01T07:49:35.793757307+00:00 stdout F 2025-10-01T07:49:35.793757307+00:00 stdout F 2025-10-01T07:49:35.793765827+00:00 stdout F Two all-privilege accounts were created. 2025-10-01T07:49:35.793776178+00:00 stdout F One is root@localhost, it has no password, but you need to 2025-10-01T07:49:35.793793148+00:00 stdout F be system 'root' user to connect. Use, for example, sudo mysql 2025-10-01T07:49:35.793806119+00:00 stdout F The second is mysql@localhost, it has no password either, but 2025-10-01T07:49:35.793814409+00:00 stdout F you need to be the system 'mysql' user to connect. 2025-10-01T07:49:35.793830689+00:00 stdout F After connecting you can set the password, if you would need to be 2025-10-01T07:49:35.793843980+00:00 stdout F able to connect as any of these users with a password and without sudo 2025-10-01T07:49:35.793852450+00:00 stdout F 2025-10-01T07:49:35.793860560+00:00 stdout F See the MariaDB Knowledgebase at https://mariadb.com/kb 2025-10-01T07:49:35.793867970+00:00 stdout F 2025-10-01T07:49:35.793876121+00:00 stdout F You can start the MariaDB daemon with: 2025-10-01T07:49:35.793893311+00:00 stdout F cd '/usr' ; /usr/bin/mariadb-safe --datadir='/var/lib/mysql' 2025-10-01T07:49:35.793893311+00:00 stdout F 2025-10-01T07:49:35.793916472+00:00 stdout F You can test the MariaDB daemon with mysql-test-run.pl 2025-10-01T07:49:35.793916472+00:00 stdout F cd '/usr/share/mysql-test' ; perl mariadb-test-run.pl 2025-10-01T07:49:35.793916472+00:00 stdout F 2025-10-01T07:49:35.793927672+00:00 stdout F Please report any problems at https://mariadb.org/jira 2025-10-01T07:49:35.793936113+00:00 stdout F 2025-10-01T07:49:35.793944123+00:00 stdout F The latest information about MariaDB is available at https://mariadb.org/. 2025-10-01T07:49:35.793952453+00:00 stdout F 2025-10-01T07:49:35.793985394+00:00 stdout F Consider joining MariaDB's strong and vibrant community: 2025-10-01T07:49:35.794001865+00:00 stdout F https://mariadb.org/get-involved/ 2025-10-01T07:49:35.794001865+00:00 stdout F 2025-10-01T07:49:35.978494423+00:00 stdout F 251001 07:49:35 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'. 2025-10-01T07:49:36.037899033+00:00 stdout F 251001 07:49:36 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql 2025-10-01T07:49:36.810750137+00:00 stderr P sudo 2025-10-01T07:49:36.810841289+00:00 stderr P : 2025-10-01T07:49:36.810870320+00:00 stderr P unable to send audit message 2025-10-01T07:49:36.810897671+00:00 stderr P : 2025-10-01T07:49:36.810941183+00:00 stderr P Operation not permitted 2025-10-01T07:49:36.811022135+00:00 stderr F 2025-10-01T07:49:36.818995225+00:00 stdout F spawn mysql_secure_installation 2025-10-01T07:49:36.840731615+00:00 stdout F 2025-10-01T07:49:36.840731615+00:00 stdout F NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB 2025-10-01T07:49:36.840731615+00:00 stdout F SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! 2025-10-01T07:49:36.840818688+00:00 stdout F 2025-10-01T07:49:36.840818688+00:00 stdout F In order to log into MariaDB to secure it, we'll need the current 2025-10-01T07:49:36.840818688+00:00 stdout F password for the root user. If you've just installed MariaDB, and 2025-10-01T07:49:36.840818688+00:00 stdout F haven't set the root password yet, you should just press enter here. 2025-10-01T07:49:36.840818688+00:00 stdout F 2025-10-01T07:49:36.843811181+00:00 stdout P Enter current password for root (enter for none): 2025-10-01T07:49:36.844003137+00:00 stdout F 2025-10-01T07:49:36.864312964+00:00 stdout F OK, successfully used password, moving on... 2025-10-01T07:49:36.864312964+00:00 stdout F 2025-10-01T07:49:36.864365116+00:00 stdout F Setting the root password or using the unix_socket ensures that nobody 2025-10-01T07:49:36.864365116+00:00 stdout F can log into the MariaDB root user without the proper authorisation. 2025-10-01T07:49:36.864365116+00:00 stdout F 2025-10-01T07:49:36.864485599+00:00 stdout F You already have your root account protected, so you can safely answer 'n'. 2025-10-01T07:49:36.864485599+00:00 stdout F 2025-10-01T07:49:36.864604883+00:00 stdout P Switch to unix_socket authentication [Y/n] 2025-10-01T07:49:36.864789359+00:00 stdout F n 2025-10-01T07:49:36.865348356+00:00 stdout F ... skipping. 2025-10-01T07:49:36.865348356+00:00 stdout F 2025-10-01T07:49:36.865348356+00:00 stdout F You already have your root account protected, so you can safely answer 'n'. 2025-10-01T07:49:36.865348356+00:00 stdout F 2025-10-01T07:49:36.865348356+00:00 stdout P Change the root password? [Y/n] 2025-10-01T07:49:36.865483460+00:00 stdout F y 2025-10-01T07:49:36.868330529+00:00 stdout P New password: 2025-10-01T07:49:36.868476024+00:00 stdout F 2025-10-01T07:49:36.868575727+00:00 stdout P Re-enter new password: 2025-10-01T07:49:36.868783793+00:00 stdout F 2025-10-01T07:49:36.890387290+00:00 stdout F Password updated successfully! 2025-10-01T07:49:36.890387290+00:00 stdout F Reloading privilege tables.. 2025-10-01T07:49:36.901779017+00:00 stdout F ... Success! 2025-10-01T07:49:36.901779017+00:00 stdout F 2025-10-01T07:49:36.906423703+00:00 stdout F 2025-10-01T07:49:36.906423703+00:00 stdout F By default, a MariaDB installation has an anonymous user, allowing anyone 2025-10-01T07:49:36.906423703+00:00 stdout F to log into MariaDB without having to have a user account created for 2025-10-01T07:49:36.906482475+00:00 stdout F them. This is intended only for testing, and to make the installation 2025-10-01T07:49:36.906482475+00:00 stdout F go a bit smoother. You should remove them before moving into a 2025-10-01T07:49:36.906482475+00:00 stdout F production environment. 2025-10-01T07:49:36.906482475+00:00 stdout F 2025-10-01T07:49:36.906482475+00:00 stdout P Remove anonymous users? [Y/n] 2025-10-01T07:49:36.906694311+00:00 stdout F y 2025-10-01T07:49:36.918469230+00:00 stdout F ... Success! 2025-10-01T07:49:36.918469230+00:00 stdout F 2025-10-01T07:49:36.918469230+00:00 stdout P Normally, root should only be allowed to connect from 'localhost'. This 2025-10-01T07:49:36.918526611+00:00 stdout F 2025-10-01T07:49:36.918526611+00:00 stdout F ensures that someone cannot guess at the root password from the network. 2025-10-01T07:49:36.918526611+00:00 stdout F 2025-10-01T07:49:36.918526611+00:00 stdout P Disallow root login remotely? [Y/n] 2025-10-01T07:49:36.918917464+00:00 stdout F n 2025-10-01T07:49:36.919063408+00:00 stdout F ... skipping. 2025-10-01T07:49:36.919063408+00:00 stdout F 2025-10-01T07:49:36.919205252+00:00 stdout F By default, MariaDB comes with a database named 'test' that anyone can 2025-10-01T07:49:36.919320136+00:00 stdout F access. This is also intended only for testing, and should be removed 2025-10-01T07:49:36.919320136+00:00 stdout F before moving into a production environment. 2025-10-01T07:49:36.919320136+00:00 stdout F 2025-10-01T07:49:36.919444060+00:00 stdout P Remove test database and access to it? [Y/n] 2025-10-01T07:49:36.919616685+00:00 stdout F y 2025-10-01T07:49:36.919726500+00:00 stdout F - Dropping test database... 2025-10-01T07:49:36.931391715+00:00 stdout F ... Success! 2025-10-01T07:49:36.931391715+00:00 stdout F - Removing privileges on test database... 2025-10-01T07:49:36.944705271+00:00 stdout F ... Success! 2025-10-01T07:49:36.944705271+00:00 stdout F 2025-10-01T07:49:36.944705271+00:00 stdout F Reloading the privilege tables will ensure that all changes made so far 2025-10-01T07:49:36.944752522+00:00 stdout F will take effect immediately. 2025-10-01T07:49:36.944752522+00:00 stdout F 2025-10-01T07:49:36.944752522+00:00 stdout P Reload privilege tables now? [Y/n] 2025-10-01T07:49:36.945209958+00:00 stdout F y 2025-10-01T07:49:36.955999965+00:00 stdout F ... Success! 2025-10-01T07:49:36.955999965+00:00 stdout F 2025-10-01T07:49:36.955999965+00:00 stdout F Cleaning up... 2025-10-01T07:49:36.959081742+00:00 stdout F 2025-10-01T07:49:36.959081742+00:00 stdout F All done! If you've completed all of the above steps, your MariaDB 2025-10-01T07:49:36.959081742+00:00 stdout F installation should now be secure. 2025-10-01T07:49:36.959081742+00:00 stdout F 2025-10-01T07:49:36.959081742+00:00 stdout F Thanks for using MariaDB! 2025-10-01T07:49:38.193653975+00:00 stdout F 251001 07:49:38 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'. 2025-10-01T07:49:38.262526953+00:00 stdout F 251001 07:49:38 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql 2025-10-01T07:49:39.260290690+00:00 stdout F mysqld is alive