Upgrading Airflow 2.11.2 -> 3.0.6: "Flask app is not initialized" when logging out #65785
Unanswered
will-m-buchanan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm upgrading from Airflow 2.11.2 to 3.0.6. Our Airflow instance is deployed in kubernetes using custom helm charts, and authenticates through Okta. We use
webserver_config.pyto override theFabAirflowSecurityManagerOverrideclass with a custom security manager. All imports and settings in this file have been updated to comply with changes made between v2 and v3 (as far as I know). And in the configs[core] auth manageris set to "airflow.providers.fab.auth_manager.fab_auth_manager.FabAuthManager"After updating our Okta instance to register the new login redirect URI (v2 had https://<airflow-url>/oauth-authorized/okta, while v3 has https://<airflow-url>/auth/oauth-authorized/okta) I am able to login, but I am still unable to logout.
Clicking the logout button in the UI, I just get a raw JSON response:
{"detail":"Flask app is not initialized. Check that FabAuthManager started up correctly."}And the api-server logs show:
Is it clear from this what is wrong with my settings? How do I check that
FabAuthManagerstarted up correctly?Beta Was this translation helpful? Give feedback.
All reactions