-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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 2.3.1 - gunicorn keeps removing and adding Permission menu access on Permissions to role Admin #23926
Comments
@gbonazzoli Thanks for reporting this. I've been able to replicate the issue locally and will work on a fix. |
@jhtimmins can you push a PR asap, because we might need that very quickly and are willing to help look into the problem as well. Happy to see your failure and issue replication. |
@lukas-at-harren A possible workaround for now is to set |
@ashb I tried with the env var you mentioned but the webserver workers keep crashing and the web UI doesn't load. Tried with Airflow versions 2.3.0 and 2.3.1 . Some logs I found relevant:
|
@dataminding - you seem to run Airlfow on MacOS which is not something that we support natively. Please try to replicate it on linux. |
@ashb On Linux (Ubuntu 20.04) Many thanks. |
hey i already found a layman solution here: #23512 (comment) 😁 |
great, that worked |
I am not sure if it is allowed to comment on a closed issue. After adding AIRFLOW__WEBSERVER__UPDATE_FAB_PERMS=False, My role mapping is not working properly. I have integrated Airflow with an Identity Gateway through OAuth. By the mapping, I was supposed to get an Admin role UI, but I am seeing no roles (Public roles) page. If I set the above flag to True, I am seeing the Admin role (UI with all menus) but there are webserver-related errors as mentioned in #23512. |
We upgraded from 2.3.4 -> 2.4.2 in hopes this would be fixed, but we are still getting tons of duplicate entry errors.
This is causing so many headaches. Our schedulers keep dying and we have to manually restart task and several other related issues. |
@tschroeder-zendesk you need to go to 2.4.3 |
Apache Airflow version
2.3.1 (latest released)
What happened
gunicorn log file is full of these messages.
This behavior was present also in release 2.3.0
I don't think that was a problem in Airflow 2.2.x
The problem is that web server now is much weekier than before and it is the second time in a week that I found it not running.
What you think should happen instead
Log must be clear and gunicorn stable as a rock.
How to reproduce
Just launch gunicorn
Operating System
Ubuntu 20.04.4 LTS
Versions of Apache Airflow Providers
Deployment
Virtualenv installation
Deployment details
gunicorn is configured with AUTH_LDAP option
Anything else
no
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: