Upgrade to RabbitMQ 3.6.14

Change-Id: I36e140347a60d57e65c803248260af23c7d19df1
This commit is contained in:
Jean-Philippe Evrard 2017-11-24 16:36:39 +00:00 committed by Jean-Philippe Evrard
parent df2e973bee
commit 3ae0fea008
5 changed files with 28 additions and 19 deletions

View File

@ -67,6 +67,10 @@
register: rabbitmqctl_status register: rabbitmqctl_status
changed_when: false changed_when: false
- name: Print rabbitmqctl status
debug:
var: rabbitmqctl_status
- name: Ensure SSL cert/key checksums are identical across cluster - name: Ensure SSL cert/key checksums are identical across cluster
assert: assert:
that: that:

View File

@ -10,19 +10,19 @@ rabbitmq_old_package:
# repo instead. # repo instead.
debian: debian:
method: 'file' method: 'file'
rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.9/rabbitmq-server_3.6.9-1_all.deb" rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.11/rabbitmq-server_3.6.11-1_all.deb"
rabbitmq_package_sha256: "ff100febb8c409692e57f3dc98fd2fc667f83eeefa3958a6fda865ce40a40349" rabbitmq_package_sha256: "b487edba0bc5db5c745e62059bdc896866db22d584c26c78d50be3d61c8f5a18"
rabbitmq_release_version: "3.6.9" rabbitmq_release_version: "3.6.11"
redhat: redhat:
method: 'external_repo' method: 'external_repo'
rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.9/rabbitmq-server-3.6.9-1.el7.noarch.rpm" rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.11/rabbitmq-server-3.6.11-1.el7.noarch.rpm"
rabbitmq_package_sha256: "757fc6746a1700380b3ba9bf4f00dfa16cc5a0ddc8c94636c4388e838f605c31" rabbitmq_package_sha256: "e09272c9ed3d3f0a34f1eb74f757b36051a7d6e9c825e054cd0132e961398913"
rabbitmq_release_version: "3.6.9" rabbitmq_release_version: "3.6.11"
suse: suse:
method: 'file' method: 'file'
rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.9/rabbitmq-server-3.6.9-1.suse.noarch.rpm" rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.11/rabbitmq-server-3.6.11-1.suse.noarch.rpm"
rabbitmq_package_sha256: "c44813ab94463f83e3e74be04db7304120697a27df12ca057e3dbb32717af32f" rabbitmq_package_sha256: "03b56ed3fde51e36e0fa6a38becaa701238ffd3bd20f45a45d78844bcc84945b"
rabbitmq_release_version: "3.6.9" rabbitmq_release_version: "3.6.11"
# NOTE(hwoarang): This normally matches the _rabbitmq_release_version variable # NOTE(hwoarang): This normally matches the _rabbitmq_release_version variable
# in the vars/* distro files. # in the vars/* distro files.
@ -32,10 +32,15 @@ rabbitmq_new_package:
# from the external repo # from the external repo
debian: debian:
method: 'file' method: 'file'
rabbitmq_release_version: "3.6.11" rabbitmq_release_version: "3.6.14"
redhat: redhat:
method: 'external_repo' method: 'external_repo'
rabbitmq_release_version: "3.6.11" rabbitmq_release_version: "3.6.14"
# We upgrade from file to file in master, because:
# 1) The packages in method "repo", coming from the OpenStack SUSE repo "pike", are 3.6.11
# and therefore too old.
# 2) We don't have proof yet that the packages from OpenStack SUSE repo "master" (version 3.6.14)
# are stable enough to be used across the board (so, not only rabbitmq_server)
suse: suse:
method: 'distro' method: 'file'
rabbitmq_release_version: "3.6.11" rabbitmq_release_version: "3.6.14"

View File

@ -14,10 +14,10 @@
# limitations under the License. # limitations under the License.
_rabbitmq_install_method: file _rabbitmq_install_method: file
_rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.11/rabbitmq-server_3.6.11-1_all.deb" _rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.14/rabbitmq-server_3.6.14-1_all.deb"
_rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].split('_')[1] }}" _rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].split('_')[1] }}"
_rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[0] }}" _rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[0] }}"
_rabbitmq_package_sha256: "b487edba0bc5db5c745e62059bdc896866db22d584c26c78d50be3d61c8f5a18" _rabbitmq_package_sha256: "68073956a6de8ba7c5224ef5bd7f35394e5b21371ff653bf98c6c32b1f93a748"
_rabbitmq_package_path: "/opt/rabbitmq-server.deb" _rabbitmq_package_path: "/opt/rabbitmq-server.deb"
_rabbitmq_gpg_keys: _rabbitmq_gpg_keys:

View File

@ -14,10 +14,10 @@
# limitations under the License. # limitations under the License.
_rabbitmq_install_method: external_repo _rabbitmq_install_method: external_repo
_rabbitmq_package_url: "https://packagecloud.io/rabbitmq/rabbitmq-server/packages/el/7/rabbitmq-server-3.6.11-1.el7.noarch.rpm" _rabbitmq_package_url: "https://packagecloud.io/rabbitmq/rabbitmq-server/packages/el/7/rabbitmq-server-3.6.14-1.el7.noarch.rpm"
_rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].rsplit('.', 1)[0] }}" _rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].rsplit('.', 1)[0] }}"
_rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[2] }}" _rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[2] }}"
_rabbitmq_package_sha256: "e09272c9ed3d3f0a34f1eb74f757b36051a7d6e9c825e054cd0132e961398913" _rabbitmq_package_sha256: "ed7b9cdf1870d6a5088833e5e54277dd62dc7fa21be660ad83fa790a3fb5207b"
_rabbitmq_package_path: "/opt/rabbitmq-server.rpm" _rabbitmq_package_path: "/opt/rabbitmq-server.rpm"
_rabbitmq_gpg_keys: _rabbitmq_gpg_keys:

View File

@ -17,10 +17,10 @@ _rabbitmq_install_method: distro
# These are all here as alternative ways to get the required packages either by # These are all here as alternative ways to get the required packages either by
# installing the package directly or getting it from the CentOS mirror # installing the package directly or getting it from the CentOS mirror
_rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.11/rabbitmq-server-3.6.11-1.suse.noarch.rpm" _rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.14/rabbitmq-server-3.6.14-1.suse.noarch.rpm"
_rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].rsplit('.', 1)[0] }}" _rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].rsplit('.', 1)[0] }}"
_rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[2] }}" _rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[2] }}"
_rabbitmq_package_sha256: "03b56ed3fde51e36e0fa6a38becaa701238ffd3bd20f45a45d78844bcc84945b" _rabbitmq_package_sha256: "72d6e51b4eb723ebb4e6be1580dee3722b57412fdd26c53aead81f4c2a8ebe05"
_rabbitmq_package_path: "/opt/rabbitmq-server.rpm" _rabbitmq_package_path: "/opt/rabbitmq-server.rpm"
_rabbitmq_gpg_keys: _rabbitmq_gpg_keys: