Elasticsearch Curator crashes with AttributeError: 'NoneType' object has no attribute 'keys' in Red Hat OpenShift
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.