Skip to content

Conversation

@dstandish
Copy link
Contributor

When there is a task running and upgrade in flight then there will be version mismatch. So we should not include the airflow version in the selector.

When there is a task running and upgrade in flight then there will be version mismatch.  So we should not include the airflow version in the selector.
@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Oct 4, 2024
@potiuk potiuk merged commit 24b7c5b into apache:main Oct 5, 2024
jscheffl pushed a commit to potiuk/airflow that referenced this pull request Oct 5, 2024
The apache#42751 removed airflow_version from k8s log handler and
apparently some tests in tests_utils still use kubernetes provider
and k8s test handler. Also it turned out some other tests
used Celery Executor as well.

Fixed the tests and move them to K8S / Celery provider respectively.
jscheffl pushed a commit to jscheffl/airflow that referenced this pull request Oct 5, 2024
The apache#42751 removed airflow_version from k8s log handler and
apparently some tests in tests_utils still use kubernetes provider
and k8s test handler. Also it turned out some other tests
used Celery Executor as well.

Fixed the tests and move them to K8S / Celery provider respectively.
jscheffl added a commit that referenced this pull request Oct 5, 2024
* Fix failing log test handler tests

The #42751 removed airflow_version from k8s log handler and
apparently some tests in tests_utils still use kubernetes provider
and k8s test handler. Also it turned out some other tests
used Celery Executor as well.

Fixed the tests and move them to K8S / Celery provider respectively.

* Attempt to fix side-effect from other tests logging config

* Fix Task Log Handler for Celery

* Fix SQL Hook Test

* Skip task log handler in Airflow 2.8

* set try number in celeryexecutor test

* remove skipif

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Jens Scheffler <jens.scheffler@de.bosch.com>
@jedcunningham jedcunningham deleted the exclude-version-in-pod-selector-k8s-exec branch October 7, 2024 16:41
kunaljubce pushed a commit to kunaljubce/airflow that referenced this pull request Oct 13, 2024
* Fix failing log test handler tests

The apache#42751 removed airflow_version from k8s log handler and
apparently some tests in tests_utils still use kubernetes provider
and k8s test handler. Also it turned out some other tests
used Celery Executor as well.

Fixed the tests and move them to K8S / Celery provider respectively.

* Attempt to fix side-effect from other tests logging config

* Fix Task Log Handler for Celery

* Fix SQL Hook Test

* Skip task log handler in Airflow 2.8

* set try number in celeryexecutor test

* remove skipif

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Jens Scheffler <jens.scheffler@de.bosch.com>
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
When there is a task running and upgrade in flight then there will be version mismatch.  So we should not include the airflow version in the selector.
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
* Fix failing log test handler tests

The apache#42751 removed airflow_version from k8s log handler and
apparently some tests in tests_utils still use kubernetes provider
and k8s test handler. Also it turned out some other tests
used Celery Executor as well.

Fixed the tests and move them to K8S / Celery provider respectively.

* Attempt to fix side-effect from other tests logging config

* Fix Task Log Handler for Celery

* Fix SQL Hook Test

* Skip task log handler in Airflow 2.8

* set try number in celeryexecutor test

* remove skipif

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Jens Scheffler <jens.scheffler@de.bosch.com>
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
* Fix failing log test handler tests

The apache#42751 removed airflow_version from k8s log handler and
apparently some tests in tests_utils still use kubernetes provider
and k8s test handler. Also it turned out some other tests
used Celery Executor as well.

Fixed the tests and move them to K8S / Celery provider respectively.

* Attempt to fix side-effect from other tests logging config

* Fix Task Log Handler for Celery

* Fix SQL Hook Test

* Skip task log handler in Airflow 2.8

* set try number in celeryexecutor test

* remove skipif

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Jens Scheffler <jens.scheffler@de.bosch.com>
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
When there is a task running and upgrade in flight then there will be version mismatch.  So we should not include the airflow version in the selector.
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
* Fix failing log test handler tests

The apache#42751 removed airflow_version from k8s log handler and
apparently some tests in tests_utils still use kubernetes provider
and k8s test handler. Also it turned out some other tests
used Celery Executor as well.

Fixed the tests and move them to K8S / Celery provider respectively.

* Attempt to fix side-effect from other tests logging config

* Fix Task Log Handler for Celery

* Fix SQL Hook Test

* Skip task log handler in Airflow 2.8

* set try number in celeryexecutor test

* remove skipif

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Jens Scheffler <jens.scheffler@de.bosch.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Webserver cannot read logs of pods launched by a scheduler of mismatching Airflow version

4 participants