Elasticsearch Curator crashes with AttributeError: 'NoneType' object has no attribute 'keys' in Red Hat OpenShift

Solution Verified - Updated -

Issue

  • Elasticsearch Curator is crashing with python error:
Traceback (most recent call last):
  File "run_cron.py", line 89, in <module>
    default_time_unit = decoded.get('.defaults', defaults).get('delete', deldefaults).keys()[0]
AttributeError: 'NoneType' object has no attribute 'keys'

Environment

  • Red Hat OpenShift Container Platform
    - v3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content