Prevent latest mariadb version
Latest mariadb version has a bug that prevents clustering from behaving properly in bootstrap. This setups the repo for the galera_client to the same as galera_server, to have the same client version. Change-Id: Ia1d7a2c664c6c11ad698a915162281c11a344067
This commit is contained in:
parent
72cc31a4d6
commit
3524b8352f
|
@ -24,6 +24,7 @@ galera_client_repo_url: "{{ galera_repo_url | default(_galera_client_repo_url) }
|
|||
|
||||
# Set the major version to use for the galera repo
|
||||
galera_client_major_version: 10.1
|
||||
galera_client_minor_version: 30
|
||||
|
||||
# Set the repo information for the MariaDB repository
|
||||
galera_client_repo: "{{ _galera_client_repo }}"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# TODO(odyssey4me):
|
||||
# The use of 'galera_client_yum_repo_url' below is for backwards compatibility
|
||||
# to settings released in Newton. It can be removed in Queens.
|
||||
_galera_client_repo_url: "{{ galera_client_yum_repo_url | default('http://yum.mariadb.org/' ~ galera_client_major_version ~ '/centos7-amd64/') }}"
|
||||
_galera_client_repo_url: "{{ galera_client_yum_repo_url | default('https://downloads.mariadb.com/MariaDB/mariadb-' ~ galera_client_major_version ~ '.' ~ galera_client_minor_version ~ '/yum/centos7-amd64/') }}"
|
||||
_galera_client_repo:
|
||||
state: "present"
|
||||
name: MariaDB
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
_galera_client_repo_url: "http://yum.mariadb.org/{{ galera_client_major_version }}/sles/12/x86_64"
|
||||
_galera_client_repo_url: "https://downloads.mariadb.com/MariaDB/mariadb-{{ galera_client_major_version }}.{{ galera_client_minor_version }}/yum/opensuse42-amd64"
|
||||
_galera_client_repo:
|
||||
name: MariaDB
|
||||
description: "MariaDB Repo"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# TODO(odyssey4me):
|
||||
# The use of 'galera_client_apt_repo_url' below is for backwards compatibility
|
||||
# to settings released in Newton. It can be removed in Queens.
|
||||
_galera_client_repo_url: "{{ galera_client_apt_repo_url | default('http://mirror.rackspace.com/mariadb/repo/' ~ galera_client_major_version ~ '/ubuntu') }}"
|
||||
_galera_client_repo_url: "{{ galera_client_apt_repo_url | default('https://downloads.mariadb.com/MariaDB/mariadb-' ~ galera_client_major_version ~ '.' ~ galera_client_minor_version ~ '/repo/ubuntu') }}"
|
||||
_galera_client_repo: "deb {{ galera_client_repo_url }} {{ ansible_distribution_release }} main"
|
||||
|
||||
galera_client_distro_packages:
|
||||
|
|
Loading…
Reference in New Issue