duc-luong-tnsl opened a new issue #16888:
URL: https://github.com/apache/airflow/issues/16888
I got this issue on my scheduler with Airflow 2.1.0 run with Kubernetes.
The scheduler does not die but often gets an error log.
```
Process KubernetesJobWatcher-8:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/multiprocessing/process.py", line 315, in
_bootstrap
self.run()
File
"/home/airflow/.local/lib/python3.8/site-packages/airflow/executors/kubernetes_executor.py",
line 102, in run
self.resource_version = self._run(
File
"/home/airflow/.local/lib/python3.8/site-packages/airflow/executors/kubernetes_executor.py",
line 152, in _run
'dag_id': annotations['dag_id'],
KeyError: 'dag_id'
```
IMPORTANT!!!
**Apache Airflow version**: 2.1.0
**Environment**:
- **Cloud provider or hardware configuration**:
- **OS** (e.g. from /etc/os-release): Ubuntu
- **Kernel** (e.g. `uname -a`): Linux airflow-v2-scheduler-66c999b4b9-nqr4p
4.19.112+ #1 SMP Fri Sep 4 12:00:04 PDT 2020 x86_64 GNU/Linux
- **Install tools**: Docker
- **Others**:
--
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]