From: Guillaume Abrioux Date: Wed, 4 Dec 2019 16:17:36 +0000 (+0100) Subject: upgrade: add dashboard deployment X-Git-Tag: v4.0.6~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fe8858af385c47a848c73c6866ac6b20bcf29dc6;p=ceph-ansible.git upgrade: add dashboard deployment when upgrading from RHCS 3, dashboard has obviously never been deployed and it forces us to deploy it later manually. This commit adds the dashboard deployment as part of the upgrade to RHCS 4. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1779092 Signed-off-by: Guillaume Abrioux (cherry picked from commit 451c5ca93499fc0520b60729a170f0aa6f6132db) --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 5c0c61044..a1ad48530 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -49,6 +49,7 @@ - "{{ nfs_group_name|default('nfss') }}" - "{{ client_group_name|default('clients') }}" - "{{ iscsi_gw_group_name|default('iscsigws') }}" + - "{{ grafana_server_group_name|default('grafana-server') }}" become: True gather_facts: False @@ -72,6 +73,15 @@ run_once: true when: delegate_facts_host | bool + - import_role: + name: ceph-facts + + - import_role: + name: ceph-infra + + - import_role: + name: ceph-validate + - set_fact: rolling_update=true - name: upgrade ceph mon cluster @@ -993,6 +1003,10 @@ vars: msgr2_migration: True +- import_playbook: ../dashboard.yml + when: + - dashboard_enabled | bool + - groups.get(grafana_server_group_name, []) | length > 0 - name: show ceph status hosts: "{{ mon_group_name|default('mons') }}"