snjypl commented on PR #28638:
URL: https://github.com/apache/airflow/pull/28638#issuecomment-1376452346

   > @potiuk i noticed that `airflow-worker` service account is not getting 
created for `LocalKubernetesExecutor`.
   > 
   > shall i create a new PR with all the helm chart related changes? or it can 
be part of this PR?
   > 
   > ```
   > kubernetes.client.exceptions.ApiException: (403)
   > Reason: Forbidden
   > HTTP response headers: HTTPHeaderDict({'Audit-Id': 
'6000d700-1b7b-413b-a49f-3eba7114bbf7', 'Cache-Control': 'no-cache, private', 
'Content-Type': 'application/json', 'X-Kubernetes-Pf-Flowschema-Uid': 
'e6bfeec0-ef68-4420-88d8-b7024eed9fea', 'X-Kubernetes-Pf-Prioritylevel-Uid': 
'0e598fd5-a817-46f7-be85-6ac94aeb7872', 'Date': 'Thu, 29 Dec 2022 18:57:06 
GMT', 'Content-Length': '400'})
   > HTTP response body: 
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods
 \"example-local-kubernetes-executor-task-with-kubernetes-c5u03pq1\" is 
forbidden: error looking up service account airflow/airflow-worker: 
serviceaccount \"airflow-worker\" not 
found","reason":"Forbidden","details":{"name":"example-local-kubernetes-executor-task-with-kubernetes-c5u03pq1","kind":"pods"},"code":403}
   > [2022-12-29T18:57:06.871+0000] {kubernetes_executor.py:686} WARNING - 
ApiException when attempting to run task, re-queueing. Reason: 'Forbidden'. 
Message: pods "example-local-kubernetes-executor-task-with-kubernetes-c5u03pq1" 
is forbidden: error looking up service account airflow/airflow-worker: 
serviceaccount "airflow-worker" not found
   > ```
   @Chen-Oliver has opened a PR for this particular issue: 
https://github.com/apache/airflow/pull/28813 
   


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