From: Dimitri Savineau Date: Fri, 10 Jul 2020 18:13:15 +0000 (-0400) Subject: cephadm-adopt: show orchestrator status X-Git-Tag: v6.0.0alpha2~126 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=381201a3943997e666845de638623d3933c2552b;p=ceph-ansible.git cephadm-adopt: show orchestrator status At the end of the playbook we can show the orchestrator status like we do with the ceph status in initial deployment. Signed-off-by: Dimitri Savineau --- diff --git a/infrastructure-playbooks/cephadm-adopt.yml b/infrastructure-playbooks/cephadm-adopt.yml index 0fc8b6d17..33fd938b4 100644 --- a/infrastructure-playbooks/cephadm-adopt.yml +++ b/infrastructure-playbooks/cephadm-adopt.yml @@ -911,3 +911,25 @@ changed_when: false environment: CEPHADM_IMAGE: '{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}' + +- name: show ceph orchestrator status + hosts: "{{ mon_group_name|default('mons') }}" + become: true + gather_facts: false + tasks: + - import_role: + name: ceph-defaults + + - name: show ceph orchestrator services + command: "cephadm shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch ls" + 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" + run_once: true + changed_when: false + environment: + CEPHADM_IMAGE: '{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}'