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

Fix using Edge Worker in Breeze due to rolling random secret #47754

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

jscheffl
Copy link
Contributor

In #46966 it was adjusted to randomize secrets if not configured - which is a good thing!
Unfortunately in breeze the secrets are undefined, whcih causes each call to random generate new secrets... meaning that different running components use different random keys - with every call.

Before this PR attempt using airflow config list|grep secret_key and you see with each call new secrets.

This casued EdgeWorker to fail to start in Breeze ans the secret keys were randomized.

This PR also randomize generate secrets but sets this in the ENV for each start of breeze.

@jscheffl jscheffl marked this pull request as ready for review March 13, 2025 22:38
@jscheffl jscheffl force-pushed the bugfix/edge-worker-fail-in-breeze branch from 554b829 to be9c737 Compare March 14, 2025 19:15
@jscheffl jscheffl merged commit 0d17af3 into apache:main Mar 14, 2025
89 of 90 checks passed
agupta01 pushed a commit to agupta01/airflow that referenced this pull request Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants