Skip to content

Not able to view task logs with KE when deployed using helm chart #47200

@vatsrahul1001

Description

@vatsrahul1001

Apache Airflow version
3.0.0b1

If "Other Airflow 2 version" selected, which one?
No response

What happened?

How to reproduce

  1. Create a deployment using breeze k8s
  2. Try running dags
  3. Check tasks logs

Logs


*** Attempting to fetch logs from pod tutorial-taskflow-api-load-zd9hqrqu through kube API

*** Reading from k8s pod logs failed: (403)

Reason: Forbidden

HTTP response headers: HTTPHeaderDict({\'Audit-Id\': \'b8854b7c-cdfe-4d63-a005-a2f6c8047638\', \'Cache-Control\': \'no-cache, private\', \'Content-Type\': \'application/json\', \'X-Content-Type-Options\': \'nosniff\', \'X-Kubernetes-Pf-Flowschema-Uid\': \'7e8ec8dc-5873-428f-b0fd-062a93610373\', \'X-Kubernetes-Pf-Prioritylevel-Uid\': \'0fe43c60-9772-43d6-b7bc-80458457cc5c\', \'Date\': \'Thu, 27 Feb 2025 06:45:51 GMT\', \'Content-Length\': \'293\'})

HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods is forbidden: User \\"system:serviceaccount:airflow:airflow-api-server\\" cannot list resource \\"pods\\" in API group \\"\\" in the namespace \\"airflow\\"","reason":"Forbidden","details":{"kind":"pods"},"code":403}

INFO - ::endgroup::

Metadata

Metadata

Assignees

Labels

area:loggingkind:metaHigh-level information important to the communitypriority:criticalShowstopper bug that should be patched immediately

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions