Browse Source

Merge "Make Get OSD stat percentage compatible with both Luminous and Nautilus" into stable/ussuri

changes/98/743598/3
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
07a5ea060b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roles/ceph/tasks/ceph-health.yaml

+ 1
- 1
roles/ceph/tasks/ceph-health.yaml View File

@@ -65,7 +65,7 @@
block:
- name: set jq osd percentage filter
set_fact:
jq_osd_percentage_filter: '( (.osdmap.num_in_osds) / (.osdmap.num_osds) ) * 100'
jq_osd_percentage_filter: '( (try .osdmap.num_in_osds + try .num_in_osds) / (try .osdmap.num_osds + try .num_osds)) * 100'

- name: Get OSD stat percentage
become: true


Loading…
Cancel
Save