bitter-gigabyte-19387
12/04/2023, 9:34 AM<https://github.com/outerbounds/metaflow-with-airflow-minio>
• created a cluster using microk8s (because i had other apps running but deployment went just fine)
• installed and forwarded MinIO and ran the create-bucket.py
script without problem
• created the secret using my own secrets
• installed the metaflow suite using the command described in step 9
and tried to run a flow. (i forwarded all ports manually before creating the ingress routes just to be sure)
the flow runs just fine and i can see the results by browsing the MinIO interface. But i cant access it from the UI. the pod/metaflow-metaflow-ui
keeps on crashing with this trace :
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/root/services/ui_backend_service/ui_server.py", line 167, in <module>
main()
File "/root/services/ui_backend_service/ui_server.py", line 144, in main
the_app = app(loop, DBConfiguration())
File "/root/services/ui_backend_service/ui_server.py", line 54, in app
loop.run_until_complete(async_db._init(db_conf=db_conf, create_triggers=DB_TRIGGER_CREATE))
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/root/services/data/postgres_async_db.py", line 100, in _init
raise e
File "/root/services/data/postgres_async_db.py", line 85, in _init
echo=AIOPG_ECHO)
File "/opt/latest/lib/python3.7/site-packages/aiopg/pool.py", line 300, in from_pool_fill
await self._fill_free_pool(False)
File "/opt/latest/lib/python3.7/site-packages/aiopg/pool.py", line 343, in _fill_free_pool
**self._conn_kwargs,
File "/opt/latest/lib/python3.7/site-packages/aiopg/connection.py", line 1225, in _connect
await self._poll(self._waiter, self._timeout) # type: ignore
File "/opt/latest/lib/python3.7/site-packages/aiopg/connection.py", line 881, in _poll
await asyncio.wait_for(self._waiter, timeout)
File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/opt/latest/lib/python3.7/site-packages/aiopg/connection.py", line 788, in _ready
state = self._conn.poll()
psycopg2.OperationalError: fe_sendauth: no password supplied
wich resembles this issue on the metaflow-tools github https://github.com/outerbounds/metaflow-tools/issues/48
Does anyone knows how to fix it ?