From bd1f43f1235d165efc6240feb0a08e7d1ffd2b17 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 6 Feb 2018 13:41:15 -0600 Subject: [PATCH] Update MariaDB CentOS yum mirror URL The yum mirrors for MariaDB have changes to the directory structure. This patch updates the directory structure and chooses a faster mirror from the US to use for installation. Closes-Bug: 1747740 Change-Id: I213b66cddcad8328d7606385354a0a7194a5c569 --- .../notes/centos-repo-url-change-a51ef2722adc5db5.yaml | 7 +++++++ vars/redhat-7.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/centos-repo-url-change-a51ef2722adc5db5.yaml diff --git a/releasenotes/notes/centos-repo-url-change-a51ef2722adc5db5.yaml b/releasenotes/notes/centos-repo-url-change-a51ef2722adc5db5.yaml new file mode 100644 index 0000000..0c5f970 --- /dev/null +++ b/releasenotes/notes/centos-repo-url-change-a51ef2722adc5db5.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + The upstream yum mirrors for MariaDB have changed their directory + structure from ``/10.1/centos/7`` to ``/10.1/centos7-amd64/``. The URL + has been changed, but deployers with an older OpenStack-Ansible deployment + may need to set ``galera_repo_url`` to match the new directory structure. diff --git a/vars/redhat-7.yml b/vars/redhat-7.yml index b62e6ec..a1a37c9 100644 --- a/vars/redhat-7.yml +++ b/vars/redhat-7.yml @@ -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 ~ '/centos/7/x86_64') }}" +_galera_client_repo_url: "{{ galera_client_yum_repo_url | default('http://yum.mariadb.org/' ~ galera_client_major_version ~ '/centos7-amd64/') }}" _galera_client_repo: state: "present" name: MariaDB