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

Improve diagnostics message when users have secret_key misconfigured #17410

Merged

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Aug 4, 2021

Recently fixed log open-access vulnerability have caused
quite a lot of questions and issues from the affected users who
did not have webserver/secret_key configured for their workers
(effectively leading to random value for those keys for workers)

This PR explicitly explains the possible reason for the problem and
encourages the user to configure their webserver's secret_key
in both - workers and webserver.

Related to: #17251 and a number of similar slack discussions.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@potiuk potiuk requested a review from ashb August 4, 2021 11:23
@potiuk potiuk force-pushed the help-users-when-they-get-403-on-log-retrieval branch from 17900a9 to 1d095ce Compare August 4, 2021 11:24
@potiuk potiuk force-pushed the help-users-when-they-get-403-on-log-retrieval branch from 1d095ce to d9d2768 Compare August 4, 2021 11:25
Recently fixed log open-access vulnerability have caused
quite a lot of questions and issues from the affected users who
did not have webserver/secret_key configured for their workers
(effectively leading to random value for those keys for workers)

This PR explicitly explains the possible reason for the problem and
encourages the user to configure their webserver's secret_key
in both - workers and webserver.

Related to: apache#17251 and a number of similar slack discussions.
@potiuk potiuk force-pushed the help-users-when-they-get-403-on-log-retrieval branch from d9d2768 to d5d9413 Compare August 4, 2021 11:26
@potiuk potiuk added this to the Airflow 2.1.3 milestone Aug 4, 2021
@github-actions
Copy link

github-actions bot commented Aug 4, 2021

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Aug 4, 2021
Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
@potiuk potiuk merged commit 2321020 into apache:main Aug 4, 2021
@potiuk potiuk deleted the help-users-when-they-get-403-on-log-retrieval branch August 4, 2021 13:15
potiuk added a commit to potiuk/airflow that referenced this pull request Aug 5, 2021
…pache#17410)

* Improve diagnostics message when users have secret_key misconfigured

Recently fixed log open-access vulnerability have caused
quite a lot of questions and issues from the affected users who
did not have webserver/secret_key configured for their workers
(effectively leading to random value for those keys for workers)

This PR explicitly explains the possible reason for the problem and
encourages the user to configure their webserver's secret_key
in both - workers and webserver.

Related to: apache#17251 and a number of similar slack discussions.

(cherry picked from commit 2321020)
jhtimmins pushed a commit that referenced this pull request Aug 9, 2021
…17410)

* Improve diagnostics message when users have secret_key misconfigured

Recently fixed log open-access vulnerability have caused
quite a lot of questions and issues from the affected users who
did not have webserver/secret_key configured for their workers
(effectively leading to random value for those keys for workers)

This PR explicitly explains the possible reason for the problem and
encourages the user to configure their webserver's secret_key
in both - workers and webserver.

Related to: #17251 and a number of similar slack discussions.

(cherry picked from commit 2321020)
kaxil pushed a commit that referenced this pull request Aug 17, 2021
…17410)

* Improve diagnostics message when users have secret_key misconfigured

Recently fixed log open-access vulnerability have caused
quite a lot of questions and issues from the affected users who
did not have webserver/secret_key configured for their workers
(effectively leading to random value for those keys for workers)

This PR explicitly explains the possible reason for the problem and
encourages the user to configure their webserver's secret_key
in both - workers and webserver.

Related to: #17251 and a number of similar slack discussions.

(cherry picked from commit 2321020)
jhtimmins pushed a commit that referenced this pull request Aug 17, 2021
…17410)

* Improve diagnostics message when users have secret_key misconfigured

Recently fixed log open-access vulnerability have caused
quite a lot of questions and issues from the affected users who
did not have webserver/secret_key configured for their workers
(effectively leading to random value for those keys for workers)

This PR explicitly explains the possible reason for the problem and
encourages the user to configure their webserver's secret_key
in both - workers and webserver.

Related to: #17251 and a number of similar slack discussions.

(cherry picked from commit 2321020)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:logging full tests needed We need to run full set of tests for this PR to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants