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
(cherry picked from commit 6862062878)
This commit is contained in:
Logan V 2017-09-26 17:42:35 -05:00
parent 715932272c
commit a347e4d1c7
1 changed files with 9 additions and 1 deletions

View File

@ -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.