GBAAM opened a new issue #17132: URL: https://github.com/apache/airflow/issues/17132
The Docker Image for 2.1.2 (default Python 3.6 https://airflow.apache.org/docs/apache-airflow/2.1.2/docker-compose.yaml) is missing a few python packages: - `celery` - `redis` - `python-psycopg2` - `psycopg2-binary` - `apache-airflow` (at the individual worker level) Unfortunately, installing them individually failed due to some Python 3.6 incompatibilities. At the same time, we tried to use the 3.8 image airflow:2.1.2-python3.8, injecting both `redis` and `apache-airflow[celery]` installation in a custom image. While this solved a few problems, it generated a set of new ones. When running airflow-init via docker-compose, we are presented with a new set of errors: > 2021-07-21 11:30:32.803 UTC [140] ERROR: column dag.last_parsed_time does not exist at character 166 > 2021-07-21 11:30:32.803 UTC [140] STATEMENT: SELECT dag.dag_id AS dag_dag_id, dag.root_dag_id AS dag_root_dag_id, dag.is_paused AS dag_is_paused, dag.is_subdag AS dag_is_subdag, dag.is_active AS dag_is_active, dag.last_parsed_time AS dag_last_parsed_time, dag.last_pickled AS dag_last_pickled, dag.last_expired AS dag_last_expired, dag.scheduler_lock AS dag_scheduler_lock, dag.pickle_id AS dag_pickle_id, dag.fileloc AS dag_fileloc, dag.owners AS dag_owners, dag.description AS dag_description, dag.default_view AS dag_default_view, dag.schedule_interval AS dag_schedule_interval, dag.concurrency AS dag_concurrency, dag.has_task_concurrency_limits AS dag_has_task_concurrency_limits, dag.next_dagrun AS dag_next_dagrun, dag.next_dagrun_create_after AS dag_next_dagrun_create_after > > 2021-07-21 11:30:22.511 UTC [106] STATEMENT: INSERT INTO log (dttm, dag_id, task_id, event, execution_date, owner, extra) VALUES ('2021-07-21T11:30:22.493764+00:00'::timestamptz, NULL, NULL, 'cli_scheduler', NULL, 'root', '{"host_name": "47eb5dd6ccc3", "full_command": "[''/home/airflow/.local/bin/airflow'', ''scheduler'']"}') RETURNING log.id > > 2021-07-21 11:30:22.517 UTC [106] ERROR: relation "job" does not exist at character 13 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
