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 on CF: CeleryExecutor/redis communication issues #4471

Closed
robert-bryson opened this issue Sep 27, 2023 · 2 comments
Closed

Airflow on CF: CeleryExecutor/redis communication issues #4471

robert-bryson opened this issue Sep 27, 2023 · 2 comments
Labels
bug Software defect or bug

Comments

@robert-bryson
Copy link
Contributor

robert-bryson commented Sep 27, 2023

Airflow can use a variety of executors. Should we want to use the deploy scenario of Airflow on Cloud Foundry, we would need to fix the CeleryExecutor. In the current deployment (https://test-airflow-webserver.app.cloud.gov/), there is an issue somewhere around the communication of the application components, the celery workers, and redis.

See additional context #4434 and GSA/datagov-harvester#1.

How to reproduce

  1. Inspect the test-airflow-redis service and various components of the current test deployment:
    image
  2. See that they are not communicating correctly in flower: https://test-airflow-flower.app.cloud.gov/

Expected behavior

Something akin to this:

image

Actual behavior

No workers :/

image

Sketch

[Notes or a checklist reflecting our understanding of the selected approach]

  • Not sure what would be useful here, I have been experimenting with using the docker-compose.yml version of the deploy locally and contrasting that with the config/env on the cf deploy
@hkdctol
Copy link
Contributor

hkdctol commented Sep 28, 2023

Icebox for now, because currently not planning on using Celery Executor

@hkdctol hkdctol added the H2.0/Harvest-General General Harvesting 2.0 Issues label Sep 28, 2023
@hkdctol hkdctol moved this to 🧊 Icebox in data.gov team board Sep 28, 2023
@btylerburton
Copy link
Contributor

Rudimentary configuration of CeleryExecutor with Webserver, Scheduler and Worker is complete.

We will add additional components (Flower, Triggerer, DagProcessor) at a later date, but communication issues have been solved.

@github-project-automation github-project-automation bot moved this from 🧊 Icebox to ✔ Done in data.gov team board Nov 28, 2023
@btylerburton btylerburton added H2.0/orchestrator and removed H2.0/Harvest-General General Harvesting 2.0 Issues labels Dec 13, 2023
@btylerburton btylerburton moved this from ✔ Done to 🗄 Closed in data.gov team board Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Software defect or bug
Projects
Archived in project
Development

No branches or pull requests

3 participants