Prevent latest mariadb version

Latest mariadb version has a bug that prevents clustering from
behaving properly in bootstrap.

Change-Id: I21e96dbe7fd9acaedb7eee7cba2ae226fa0644d5
This commit is contained in:
Jean-Philippe Evrard 2018-02-07 19:58:02 +00:00
parent 605926f243
commit 8a42facf6b
5 changed files with 20 additions and 5 deletions

View File

@ -42,6 +42,7 @@ galera_mariadb_server_package: "{{ _galera_mariadb_server_package }}"
# The major version used to select the repo URL path
galera_major_version: 10.1
galera_minor_version: 30
# Set the URL for the MariaDB repository
galera_repo_url: "{{ _galera_repo_url }}"
@ -167,6 +168,11 @@ galera_server_distro_package_pins:
- package: mariadb-server
version: 10.1.27+maria-1~xenial
priority: -1
# TODO(evrardjp): Remove pin when clustering issue is figured out
# Clustering issue
- package: mariadb-server
version: 10.1.31+maria-1~xenial
priority: -1
# Galera Server SSL functionality.

View File

@ -64,7 +64,8 @@ galera_server_upgrade_packages_remove:
galera_mariadb_service_name: "mariadb"
_galera_repo_url: "http://yum.mariadb.org/{{ galera_major_version }}/centos/7/x86_64"
# TODO(evrardjp): Unfreeze version to 10.1 branch when clustering issue is solved.
_galera_repo_url: "https://downloads.mariadb.com/MariaDB/mariadb-{{ galera_major_version }}.{{ galera_minor_version }}/yum/centos7-amd64"
_galera_repo:
name: MariaDB
description: "MariaDB Repo"

View File

@ -59,7 +59,8 @@ galera_server_upgrade_packages_remove:
galera_mariadb_service_name: "mariadb"
_galera_repo_url: "http://yum.mariadb.org/{{ galera_major_version }}/sles/12/x86_64"
# TODO(evrardjp): Unfreeze version to 10.1 branch when clustering issue is solved.
_galera_repo_url: "https://downloads.mariadb.com/MariaDB/mariadb-{{ galera_major_version }}.{{ galera_minor_version }}/yum/opensuse42-amd64"
_galera_repo:
name: MariaDB
description: "MariaDB Repo"

View File

@ -109,7 +109,8 @@ _galera_percona_xtrabackup_repo:
state: "present"
filename: "Percona"
_galera_repo_url: "http://mirror.rackspace.com/mariadb/repo/{{ galera_major_version }}/ubuntu"
# TODO(evrardjp): Unfreeze version to 10.1 branch when clustering issue is solved.
_galera_repo_url: "https://downloads.mariadb.com/MariaDB/mariadb-{{ galera_major_version }}.{{ galera_minor_version }}/repo/ubuntu"
_galera_repo:
repo: "deb {{ galera_repo_url }} {{ ansible_distribution_release }} main"
state: "present"

View File

@ -19,7 +19,10 @@
- openstack-ansible-functional-centos-7
- openstack-ansible-functional-opensuse-423
- openstack-ansible-functional-ubuntu-xenial
- openstack-ansible-upgrade-ubuntu-xenial
# TODO(evrardjp): Reinstate this when all the 10.1.31
# issues patches have been merged in galera_server
# and galera_client
# - openstack-ansible-upgrade-ubuntu-xenial
- openstack-ansible-ssl-ubuntu-xenial-nv
experimental:
jobs:
@ -30,4 +33,7 @@
- openstack-ansible-functional-centos-7
- openstack-ansible-functional-opensuse-423
- openstack-ansible-functional-ubuntu-xenial
- openstack-ansible-upgrade-ubuntu-xenial
# TODO(evrardjp): Reinstate this when all the 10.1.31
# issues patches have been merged in galera_server
# and galera_client
# - openstack-ansible-upgrade-ubuntu-xenial