potiuk commented on PR #35185:
URL: https://github.com/apache/airflow/pull/35185#issuecomment-1806394641

   The artifacts containing log dumps from kind have more information on the 
root cause
   
   If you download the artifacts and look at the logs you will find this (in 
one of the scheduler logs):
   
   ```
   2023-11-10T19:30:51.588963789Z stdout F [2023-11-10T19:30:51.588+0000] 
{rest.py:231} DEBUG - response body: 
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods
 \"example-kubernetes-executor-other-namespace-task-uhm9sfrj\" is forbidden: 
error looking up service account test-namespace/airflow-worker: serviceaccount 
\"airflow-worker\" not 
found","reason":"Forbidden","details":{"name":"example-kubernetes-executor-other-namespace-task-uhm9sfrj","kind":"pods"},"code":403}
   2023-11-10T19:30:51.588970921Z stdout F 
   ```
   
   There are some more details available (details of "Pod Creation Request" 
that failed:
   
   ```
   2023-11-10T19:30:51.584086049Z stdout F [2023-11-10T19:30:51.583+0000] 
{kubernetes_executor_utils.py:309} DEBUG - Pod Creation Request: 
   2023-11-10T19:30:51.584092635Z stdout F {
   2023-11-10T19:30:51.58409715Z stdout F   "apiVersion": "v1",
   2023-11-10T19:30:51.584099589Z stdout F   "kind": "Pod",
   2023-11-10T19:30:51.584101837Z stdout F   "metadata": {
   2023-11-10T19:30:51.584103846Z stdout F     "annotations": {
   
   ````
   
   


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to