Kurganov opened a new pull request #10047: URL: https://github.com/apache/airflow/pull/10047
fix airflow-webserer startup errors ``` Jul 29 17:00:01 localhost sh: Traceback (most recent call last): Jul 29 17:00:01 localhost sh: File "/home/airflow/venv/bin/airflow", line 37, in <module> Jul 29 17:00:01 localhost sh: args.func(args) Jul 29 17:00:01 localhost sh: File "/home/airflow/venv/lib/python3.6/site-packages/airflow/utils/cli.py", line 76, in wrapper Jul 29 17:00:01 localhost sh: return f(*args, **kwargs) Jul 29 17:00:01 localhost sh: File "/home/airflow/venv/lib/python3.6/site-packages/airflow/bin/cli.py", line 1076, in webserver Jul 29 17:00:01 localhost sh: app = cached_app_rbac(None) if settings.RBAC else cached_app(None) Jul 29 17:00:01 localhost sh: File "/home/airflow/venv/lib/python3.6/site-packages/airflow/www/app.py", line 234, in cached_app Jul 29 17:00:01 localhost sh: app = create_app(config, testing) Jul 29 17:00:01 localhost sh: File "/home/airflow/venv/lib/python3.6/site-packages/airflow/www/app.py", line 89, in create_app Jul 29 17:00:01 localhost sh: from airflow.www import views Jul 29 17:00:01 localhost sh: File "/home/airflow/venv/lib/python3.6/site-packages/airflow/www/views.py", line 99, in <module> Jul 29 17:00:01 localhost sh: login_required = airflow.login.login_required Jul 29 17:00:01 localhost sh: AttributeError: module 'airflow.contrib.auth.backends.kerberos_auth' has no attribute 'login_required' Jul 29 17:00:01 localhost systemd: airflow-webserver.service: main process exited, code=exited, status=1/FAILURE ``` if airflow.api.auth.backend.kerberos_auth is enabled ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
