warrenstephens commented on issue #17241:
URL: https://github.com/apache/airflow/issues/17241#issuecomment-887040232


   May be interesting and related:
   ```
   $ kubectl logs annotateduglogit.e7d5501e50d644d8894934b6880613b7 
   [2021-07-26 21:24:26,515] {cli_action_loggers.py:105} WARNING - Failed to 
log action with (sqlite3.OperationalError) no such table: log
   [SQL: INSERT INTO log (dttm, dag_id, task_id, event, execution_date, owner, 
extra) VALUES (?, ?, ?, ?, ?, ?, ?)]
   [parameters: ('2021-07-26 21:24:26.512164', 'annotate_dug', 'log_it', 
'cli_task_run', '2021-07-23 12:04:21.596591', 'airflow', '{"host_name": 
"annotateduglogit.e7d5501e50d644d8894934b6880613b7", "full_command": 
"[\'/home/airflow/.local/bin/airflow\', \'tasks\', \'run\', \'annotate_dug\', 
\'log_it\', \'2021-07-23T12:04:21.596591+00:00\', \'--local\', \'--pool\', 
\'default_pool\', \'--subdir\', \'DAGS_FOLDER/annotate.py\']"}')]
   (Background on this error at: http://sqlalche.me/e/13/e3q8)
   [2021-07-26 21:24:26,516] {dagbag.py:496} INFO - Filling up the DagBag from 
/opt/airflow/dags/annotate.py
   Traceback (most recent call last):
     File "/home/airflow/.local/bin/airflow", line 8, in <module>
       sys.exit(main())
     File 
"/home/airflow/.local/lib/python3.9/site-packages/airflow/__main__.py", line 
40, in main
       args.func(args)
     File 
"/home/airflow/.local/lib/python3.9/site-packages/airflow/cli/cli_parser.py", 
line 48, in command
       return func(*args, **kwargs)
     File 
"/home/airflow/.local/lib/python3.9/site-packages/airflow/utils/cli.py", line 
91, in wrapper
       return f(*args, **kwargs)
     File 
"/home/airflow/.local/lib/python3.9/site-packages/airflow/cli/commands/task_command.py",
 line 220, in task_run
       dag = get_dag(args.subdir, args.dag_id)
     File 
"/home/airflow/.local/lib/python3.9/site-packages/airflow/utils/cli.py", line 
191, in get_dag
       raise AirflowException(
   airflow.exceptions.AirflowException: dag_id could not be found: 
annotate_dug. Either the dag did not exist or it failed to parse.
   ~ $
   ```


-- 
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]


Reply via email to