In the current state of puppet, the mariadb package has some problems in cloudcontrol servers:
Error: /Stage[main]/Galera/Apt::Package_from_component[openstack-db-galera]/Package[mariadb-backup]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install mariadb-backup' returned 100: Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libconfig-inifiles-perl python3-debconf Use 'apt autoremove' to remove them. The following additional packages will be installed: mariadb-client mariadb-client-10.5 mariadb-client-core-10.5 Recommended packages: libdbd-mariadb-perl | libdbd-mysql-perl libterm-readkey-perl The following NEW packages will be installed: mariadb-backup The following packages will be DOWNGRADED: mariadb-client mariadb-client-10.5 mariadb-client-core-10.5 0 upgraded, 1 newly installed, 3 downgraded, 0 to remove and 19 not upgraded. E: Packages were downgraded and -y was used without --allow-downgrades.
So as of today this requires installation by hand:
root@cloudcontrol2005-dev:~# /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install mariadb-backup --allow-downgrades Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libconfig-inifiles-perl python3-debconf Use 'apt autoremove' to remove them. The following additional packages will be installed: mariadb-client mariadb-client-10.5 mariadb-client-core-10.5 Recommended packages: libdbd-mariadb-perl | libdbd-mysql-perl libterm-readkey-perl The following NEW packages will be installed: mariadb-backup The following packages will be DOWNGRADED: mariadb-client mariadb-client-10.5 mariadb-client-core-10.5 0 upgraded, 1 newly installed, 3 downgraded, 0 to remove and 19 not upgraded. Need to get 8,937 kB of archives. After this operation, 29.5 MB of additional disk space will be used. Get:1 http://apt.wikimedia.org/wikimedia bullseye-wikimedia/thirdparty/openstack-db amd64 mariadb-client all 1:10.5.15+maria~bullseye [3,104 B] Get:2 http://apt.wikimedia.org/wikimedia bullseye-wikimedia/thirdparty/openstack-db amd64 mariadb-client-10.5 amd64 1:10.5.15+maria~bullseye [1,561 kB] Get:3 http://apt.wikimedia.org/wikimedia bullseye-wikimedia/thirdparty/openstack-db amd64 mariadb-client-core-10.5 amd64 1:10.5.15+maria~bullseye [782 kB] Get:4 http://apt.wikimedia.org/wikimedia bullseye-wikimedia/thirdparty/openstack-db amd64 mariadb-backup amd64 1:10.5.15+maria~bullseye [6,591 kB] Fetched 8,937 kB in 0s (21.5 MB/s) su: warning: cannot change directory to /nonexistent: No such file or directory INFO:debmonitor:Got 4 updates from dpkg hook version 3 INFO:debmonitor:Successfully sent the dpkg_hook update to the DebMonitor server dpkg: warning: downgrading mariadb-client from 1:10.5.19-0+deb11u2 to 1:10.5.15+maria~bullseye (Reading database ... 92981 files and directories currently installed.) Preparing to unpack .../mariadb-client_1%3a10.5.15+maria~bullseye_all.deb ... Unpacking mariadb-client (1:10.5.15+maria~bullseye) over (1:10.5.19-0+deb11u2) ... dpkg: warning: downgrading mariadb-client-10.5 from 1:10.5.19-0+deb11u2 to 1:10.5.15+maria~bullseye Preparing to unpack .../mariadb-client-10.5_1%3a10.5.15+maria~bullseye_amd64.deb ... Unpacking mariadb-client-10.5 (1:10.5.15+maria~bullseye) over (1:10.5.19-0+deb11u2) ... dpkg: warning: downgrading mariadb-client-core-10.5 from 1:10.5.19-0+deb11u2 to 1:10.5.15+maria~bullseye Preparing to unpack .../mariadb-client-core-10.5_1%3a10.5.15+maria~bullseye_amd64.deb ... Unpacking mariadb-client-core-10.5 (1:10.5.15+maria~bullseye) over (1:10.5.19-0+deb11u2) ... Selecting previously unselected package mariadb-backup. Preparing to unpack .../mariadb-backup_1%3a10.5.15+maria~bullseye_amd64.deb ... Unpacking mariadb-backup (1:10.5.15+maria~bullseye) ... Setting up mariadb-client-core-10.5 (1:10.5.15+maria~bullseye) ... Setting up mariadb-backup (1:10.5.15+maria~bullseye) ... Setting up mariadb-client-10.5 (1:10.5.15+maria~bullseye) ... Setting up mariadb-client (1:10.5.15+maria~bullseye) ... Processing triggers for mariadb-server-10.5 (1:10.5.15+maria~bullseye) ... Processing triggers for man-db (2.9.4-2) ...
This is because:
root@cloudcontrol2005-dev:~# apt-cache policy mariadb-client-core-10.5 mariadb-client-core-10.5: Installed: 1:10.5.15+maria~bullseye Candidate: 1:10.5.15+maria~bullseye Version table: 1:10.5.19-0+deb11u2 500 500 http://mirrors.wikimedia.org/debian bullseye/main amd64 Packages *** 1:10.5.15+maria~bullseye 1001 1001 http://apt.wikimedia.org/wikimedia bullseye-wikimedia/thirdparty/openstack-db amd64 Packages 100 /var/lib/dpkg/status root@cloudcontrol2005-dev:~# apt-cache policy mariadb-backup mariadb-backup: Installed: 1:10.5.15+maria~bullseye Candidate: 1:10.5.15+maria~bullseye Version table: 1:10.5.19-0+deb11u2 500 500 http://mirrors.wikimedia.org/debian bullseye/main amd64 Packages *** 1:10.5.15+maria~bullseye 1002 1001 http://apt.wikimedia.org/wikimedia bullseye-wikimedia/thirdparty/openstack-db amd64 Packages 100 /var/lib/dpkg/status