From 686206287894acdac95dcec5fd066fd0d7935e16 Mon Sep 17 00:00:00 2001 From: Logan V Date: Tue, 26 Sep 2017 17:42:35 -0500 Subject: [PATCH] Implement apt pin to avoid MariaDB 10.1.27 This will add an apt pin to blacklist the buggy 10.1.27 release that dropped yesterday which segfaults with Galera enabled[1]. I see the release is now being pulled off the mirrors and reverted to 10.1.26 but this pin will help fence around the issue in case of stale mirrors. [1] https://jira.mariadb.org/browse/MDEV-13908 Change-Id: I529918ea308ea2beee8fddbe63ea31c369013367 --- defaults/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index b7a3dd29..3adb7204 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -152,7 +152,15 @@ qpress_package_sha256: "{{ qpress_arch_sha256.get( galera_package_arch | lower ) qpress_package_path: "/opt/{{ qpress_package_url | basename }}" # This is only applied if the ansible_pkg_mgr is 'apt' -galera_server_distro_package_pins: [{ package: "*", release: MariaDB, priority: "1001" }] +galera_server_distro_package_pins: + - package: '*' + release: MariaDB + priority: 1001 + # Blacklist 10.1.27 release due to https://jira.mariadb.org/browse/MDEV-13908 + # which causes MariaDB to segfault with galera enabled. + - package: mariadb-server + version: 10.1.27+maria-1~xenial + priority: -1 # Galera Server SSL functionality.