Andrey created AIRFLOW-2082:
-------------------------------

             Summary: Password Web Authentication is not working
                 Key: AIRFLOW-2082
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2082
             Project: Apache Airflow
          Issue Type: Bug
          Components: authentication
    Affects Versions: Airflow 1.8
            Reporter: Andrey


I followed instruction from 
[https://github.com/apache/incubator-airflow/blob/master/docs/security.rst#password]

and as a result scheduler is unable to start anymore

{code}

scheduler_1 | [2018-02-08 17:46:49,546] \{configuration.py:206} WARNING - 
section/key [celery/celery_ssl_active] not found in config
scheduler_1 | [2018-02-08 17:46:49,550] \{default_celery.py:41} WARNING - 
Celery Executor will run without SSL
scheduler_1 | [2018-02-08 17:46:49,553] \{__init__.py:45} INFO - Using executor 
CeleryExecutor
scheduler_1 | /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: 
UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in 
order to keep installing from binary please use "pip install psycopg2-binary" 
instead. For details see: 
<http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
scheduler_1 | """)
scheduler_1 | Traceback (most recent call last):
scheduler_1 | File "/usr/local/bin/airflow", line 17, in <module>
scheduler_1 | from airflow.bin.cli import CLIFactory
scheduler_1 | File "/usr/local/lib/python3.6/site-packages/airflow/bin/cli.py", 
line 67, in <module>
scheduler_1 | auth=api.api_auth.client_auth)
scheduler_1 | AttributeError: module 
'airflow.contrib.auth.backends.password_auth' has no attribute 'client_auth'

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to