Disable object skew warnings

Ceph will issue a HEALTH_WARN in the event that one pool has a
large number of objects compared to other pools in the cluster:

 "Issue a HEALTH_WARN in cluster log if the average object
  number of a certain pool is greater than mon pg warn max
  object skew times the average object number of the whole
  pool."

For OpenStack deployments, Gnocchi and RADOS gateway can generate
a large number of small objects compared to Cinder, Glance and
Nova usage, causing the cluster to go into HEALTH_WARN status.

Disable this check until the skew evaluation also includes the
size of the objects as well as the number.

Change-Id: I83211dbdec4dea8dca5b27a66e26a4431d2a7b77
Closes-Bug: 1804846
This commit is contained in:
James Page 2018-12-11 13:39:54 +00:00
parent 1a250e81a5
commit 33f9bae6c7
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,12 @@ mon cluster log to syslog = {{ use_syslog }}
debug mon = {{ loglevel }}/5
debug osd = {{ loglevel }}/5
# NOTE(jamespage):
# Disable object skew warnings as these only use
# the number of objects and not their size in the
# skew calculation.
mon pg warn max object skew = -1
{% if ceph_public_network is string %}
public network = {{ ceph_public_network }}
{%- endif %}