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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.