Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

airflow 2.3.1rc1 - every run of the KPOA give : ERROR - Unclosed client session #372

Closed
raphaelauv opened this issue May 21, 2022 · 1 comment · Fixed by #394
Closed
Assignees
Labels
bug Something isn't working pri/high High priority
Milestone

Comments

@raphaelauv
Copy link
Contributor

Describe the bug

[2022-05-21 22:47:04,754] {triggerer_job.py:359} INFO - Trigger <astronomer.providers.cncf.kubernetes.triggers.wait_container.WaitContainerTrigger kubernetes_conn_id=None, hook_params={'cluster_context': None, 'config_file': '/usr/local/airflow/include/.kube/config', 'in_cluster': None}, pod_name=airflow-test-pod-d71a41753e984c179fecee07c19ffc92, container_name=base, pod_namespace=default, pending_phase_timeout=120, poll_interval=10> (ID 13) starting
2022-05-21T22:47:04.784309061Z [2022-05-21 22:47:04,783] {base_events.py:1744} ERROR - Unclosed client session
2022-05-21T22:47:04.784356405Z client_session: <aiohttp.client.ClientSession object at 0x7f60b3734af0>
2022-05-21T22:47:13.799346307Z [2022-05-21 22:47:13,798] {triggerer_job.py:252} INFO - 1 triggers currently running
2022-05-21T22:47:34.865841637Z [2022-05-21 22:47:34,865] {triggerer_job.py:362} INFO - Trigger <astronomer.providers.cncf.kubernetes.triggers.wait_container.WaitContainerTrigger kubernetes_conn_id=None, hook_params={'cluster_context': None, 'config_file': '/usr/local/airflow/include/.kube/config', 'in_cluster': None}, pod_name=airflow-test-pod-d71a41753e984c179fecee07c19ffc92, container_name=base, pod_namespace=default, pending_phase_timeout=120, poll_interval=10> (ID 13) fired: TriggerEvent<{'status': 'done'}>

To Reproduce
airflow 2.3.1rc1
astronomer-providers[cncf.kubernetes]==1.3.0
apache-airflow-providers-cncf-kubernetes==4.0.2

Expected behavior
it should not log ERROR - Unclosed client session at every run of the KPOA

@raphaelauv raphaelauv added the bug Something isn't working label May 21, 2022
@raphaelauv raphaelauv changed the title aiflow 2.3.1rc1 every run of the KPOA give : ERROR - Unclosed client session airflow 2.3.1rc1 - every run of the KPOA give : ERROR - Unclosed client session May 21, 2022
@kaxil
Copy link
Collaborator

kaxil commented May 22, 2022

cc @pankajastro @dstandish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pri/high High priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants