Skip to content

Comments

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

Merged
jscheffl merged 1 commit intoapache:mainfrom
jscheffl:bugfix/edge-worker-fail-in-breeze
Mar 14, 2025
Merged

Fix using Edge Worker in Breeze due to rolling random secret#47754
jscheffl merged 1 commit intoapache:mainfrom
jscheffl:bugfix/edge-worker-fail-in-breeze

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
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
@jscheffl jscheffl deleted the bugfix/edge-worker-fail-in-breeze branch October 5, 2025 07:43
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