SAP Knowledge Base Article - Preview

2945885 - HANA pod is stuck in CrashLoop with KeyError: 'DB_HOST' - SAP Data Intelligence

Symptom

  • HANA is either not responding or stuck in CrashLoopBackOff status, even after restarting
  • In the HANA log the following error can be seen:

Executing hook /hana/hooks/post_start/101_users ...
Traceback (most recent call last):
File "/hana/hooks/post_start/101_users", line 29, in <module>
conn = dbapi.connect(address=os.environ['DB_HOST'], user=os.environ['DB_USER'], password=os.environ['DB_PASSWORD'], port=os.environ['DB_PORT'])
File "/usr/sap/H00/HDB00/exe/Python/lib/python2.7/UserDict.py", line 40, in __getitem__
raise KeyError(key)
KeyError: 'DB_HOST'


Read more...

Environment

SAP Data Intelligence

Product

SAP Data Hub 2.0

Keywords

CrashLoopBackOff, hana-0, key, error , KBA , CA-DI , Data Intelligence , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.