From 7164426456a1bb29b3054d109e83cacf1966bd42 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Wed, 15 Jul 2020 15:15:06 -0400 Subject: [PATCH] cephadm-adopt: refresh the service/daemon list When reporting the orchestrator service/daemon list at the end of the playbook, we can use the --refresh option otherwise we could have an outdated output. Signed-off-by: Dimitri Savineau --- infrastructure-playbooks/cephadm-adopt.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure-playbooks/cephadm-adopt.yml b/infrastructure-playbooks/cephadm-adopt.yml index e2f75cc5b..ed7100e50 100644 --- a/infrastructure-playbooks/cephadm-adopt.yml +++ b/infrastructure-playbooks/cephadm-adopt.yml @@ -1037,14 +1037,14 @@ name: ceph-defaults - name: show ceph orchestrator services - command: "cephadm shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch ls" + command: "cephadm shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch ls --refresh" run_once: true changed_when: false environment: CEPHADM_IMAGE: '{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}' - name: show ceph orchestrator daemons - command: "cephadm shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch ps" + command: "cephadm shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch ps --refresh" run_once: true changed_when: false environment: -- 2.39.5