Skip to content

Commit

Permalink
Disable object skew warnings
Browse files Browse the repository at this point in the history
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
  • Loading branch information
javacruft committed Dec 11, 2018
1 parent 1a250e8 commit 33f9bae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/ceph.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 33f9bae

Please sign in to comment.