MWAA Metadatabase not initialized - log, dag, triggers relations do not exist

0

we have created the MWAA env, ECR, SUBNETs, private SGs, VPC - we see NICs attached to the SG

access via UI is given - we can login and open UI via web browser.

on /home access we see an Ooops screen browsing other menus (i.e. Security, Docs) work - all the other Dags, Admin, Browse menus result in an Ooops

no log other than webserver showing some feedback:

on /home : psycopg2.errors.UndefinedTable: relation "dag" does not exist

how can one run a db init ? we have tried it using via REST API (https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-cli-command-reference.html) - which works for certain commands but the db init returns with "TypeError: 'int' object is not iterable"

any help is welcome

what is the need of the security group rules (egres, ingres) ?

1개 답변
1

we fixed it in the end while going through the aws mwaa exampl line by line - the problem we found missing in our setup was a self pointing rule on the mwaa security group

we have re-created the env and all works as designed

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠