From e42b2898c6a7d8bf503a96853a737b8fa4f112d7 Mon Sep 17 00:00:00 2001 From: Erik Berg Date: Sun, 8 Mar 2020 11:56:43 +0100 Subject: [PATCH] ceph: run handlers after common When you're running ceph-install with upgrade_ceph_packages, the packages get upgraded in the ceph-common, but some services aren't getting restarted to account for the new version. According to ceph-ansible/site.yml.sample, the order is ceph-common applied to all hosts, then later in the "hosts: mons" or "hosts: osd" the handlers get applied, after ceph-facts and before ceph-config. Change-Id: I3e95b7fad6eda9f689287efe16c35418a9e7e561 --- playbooks/ceph-install.yml | 12 ++++++------ playbooks/ceph-nfs-install.yml | 4 ++-- playbooks/ceph-rgw-install.yml | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/playbooks/ceph-install.yml b/playbooks/ceph-install.yml index ac64b1ff44..8fd9a1b18d 100644 --- a/playbooks/ceph-install.yml +++ b/playbooks/ceph-install.yml @@ -62,10 +62,10 @@ - role: ceph-facts tags: - skip_ansible_lint - - role: ceph-handler + - role: ceph-common tags: - skip_ansible_lint - - role: ceph-common + - role: ceph-handler tags: - skip_ansible_lint - role: ceph-config @@ -134,10 +134,10 @@ - role: ceph-facts tags: - skip_ansible_lint - - role: ceph-handler + - role: ceph-common tags: - skip_ansible_lint - - role: ceph-common + - role: ceph-handler tags: - skip_ansible_lint - role: ceph-config @@ -186,10 +186,10 @@ - role: ceph-facts tags: - skip_ansible_lint - - role: ceph-handler + - role: ceph-common tags: - skip_ansible_lint - - role: ceph-common + - role: ceph-handler tags: - skip_ansible_lint - role: ceph-config diff --git a/playbooks/ceph-nfs-install.yml b/playbooks/ceph-nfs-install.yml index 2849bea567..2b0f601669 100644 --- a/playbooks/ceph-nfs-install.yml +++ b/playbooks/ceph-nfs-install.yml @@ -45,10 +45,10 @@ - role: ceph-facts tags: - skip_ansible_lint - - role: ceph-handler + - role: ceph-common tags: - skip_ansible_lint - - role: ceph-common + - role: ceph-handler tags: - skip_ansible_lint - role: ceph-nfs diff --git a/playbooks/ceph-rgw-install.yml b/playbooks/ceph-rgw-install.yml index 79cff15c53..34b6aa8d70 100644 --- a/playbooks/ceph-rgw-install.yml +++ b/playbooks/ceph-rgw-install.yml @@ -43,10 +43,10 @@ - role: ceph-facts tags: - skip_ansible_lint - - role: ceph-handler + - role: ceph-common tags: - skip_ansible_lint - - role: ceph-common + - role: ceph-handler tags: - skip_ansible_lint - role: ceph-config