You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/22 20:03:37 UTC
[GitHub] [airflow] mrbungie opened a new issue #18440: Can't Run Tasks from UI when using CeleryKubernetesExecutor
mrbungie opened a new issue #18440:
URL: https://github.com/apache/airflow/issues/18440
### Apache Airflow version
2.1.3
### Operating System
ContainerOS
### Versions of Apache Airflow Providers
apache-airflow-providers-hashicorp==2.0.0
apache-airflow-providers-http==2.0.0
apache-airflow-providers-imap==2.0.0
apache-airflow-providers-microsoft-azure==3.1.0
apache-airflow-providers-mysql==2.1.0
apache-airflow-providers-papermill==2.0.1
apache-airflow-providers-postgres==2.0.0
apache-airflow-providers-redis==2.0.0
apache-airflow-providers-sendgrid==2.0.0
apache-airflow-providers-sftp==2.1.0
apache-airflow-providers-slack==4.0.0
apache-airflow-providers-sqlite==2.0.0
apache-airflow-providers-ssh==2.1.0
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
Official Helm Chart on GKE using CeleryKubernetesExecutor.
### What happened
I'm unable to Run Tasks from the UI when using CeleryKubernetesExecutor. It just shows the error "Only works with the Celery or Kubernetes executors, sorry".
<img width="1792" alt="Captura de Pantalla 2021-09-22 a la(s) 17 00 30" src="https://user-images.githubusercontent.com/2586758/134413668-5b638941-bb50-44ff-9349-d53326d1f489.png">
### What you expected to happen
It should be able to run Tasks from the UI when using CeleryKubernetesExecutor, as it only is a "selective superset" (based on queue) of both the Celery and Kubernetes executors.
### How to reproduce
1. Run an Airflow instance with the CeleryKubernetes executor.
2. Go to any DAG
3. Select a Task
4. Press the "Run" button.
5. Check the error.
### Anything else
I will append an example PR as a comment.
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] bbovenzi commented on issue #18440: Can't Run Tasks from UI when using CeleryKubernetesExecutor
Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #18440:
URL: https://github.com/apache/airflow/issues/18440#issuecomment-926519950
For anyone looking to fix this: It looks like we'd need to update `valid_celery_config` or `valid_kubernetes_config` here: https://github.com/apache/airflow/blob/main/airflow/www/views.py#L1556
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr closed issue #18440: Can't Run Tasks from UI when using CeleryKubernetesExecutor
Posted by GitBox <gi...@apache.org>.
uranusjr closed issue #18440:
URL: https://github.com/apache/airflow/issues/18440
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #18440: Can't Run Tasks from UI when using CeleryKubernetesExecutor
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #18440:
URL: https://github.com/apache/airflow/issues/18440#issuecomment-926621319
Nice catch!
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #18440: Can't Run Tasks from UI when using CeleryKubernetesExecutor
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #18440:
URL: https://github.com/apache/airflow/issues/18440#issuecomment-926623375
Just in case - added a fix :)
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #18440: Can't Run Tasks from UI when using CeleryKubernetesExecutor
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #18440:
URL: https://github.com/apache/airflow/issues/18440#issuecomment-925287708
Thanks for opening your first issue here! Be sure to follow the issue template!
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr closed issue #18440: Can't Run Tasks from UI when using CeleryKubernetesExecutor
Posted by GitBox <gi...@apache.org>.
uranusjr closed issue #18440:
URL: https://github.com/apache/airflow/issues/18440
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org