generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Health probes are returning 200 status even when hanadb connection is broken
File "/app/src/rag/system.py", line 55, in __init__
self.retriever = HanaDBRetriever(
^^^^^^^^^^^^^^^^
File "/app/src/rag/retriever.py", line 69, in __init__
self.db = HanaVectorDB(
^^^^^^^^^^^^^
File "/app/src/rag/retriever.py", line 25, in __init__
super().__init__(connection, embedding, table_name=table_name)
File "/usr/local/lib/python3.12/dist-packages/langchain_core/_api/deprecation.py", line 224, in warn_if_direct_instance
return wrapped(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/langchain_community/vectorstores/hanavector.py", line 139, in __init__
if not self._table_exists(self.table_name):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/langchain_community/vectorstores/hanavector.py", line 176, in _table_exists
cur.execute(sql_str, (table_name))
hdbcli.dbapi.Error: (414, 'user is forced to change password: alter password required for user <USER>')
INFO 127.0.0.6:33529 - "GET /metrics HTTP/1.1" 200
INFO 127.0.0.6:53085 - "GET /readyz HTTP/1.1" 200
INFO 127.0.0.6:49143 - "GET /healthz HTTP/1.1" 200
INFO 127.0.0.6:50235 - "GET /readyz HTTP/1.1" 200
INFO 127.0.0.6:46891 - "GET /healthz HTTP/1.1" 200
INFO 127.0.0.6:55289 - "GET /readyz HTTP/1.1" 200
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working