Second thing is user and admin groups from LDAP. We have decided to recreate database in postgresql and I init by airflow db init None of solution provided on #Issue_1329 worked for me. Our team recently upgraded our stack from Airflow 1.10. After webserver restart, we have tried to login and got the following error security/manager.py - AttributeError: 'bool' object has no attribute 'login_count' At RealScout, we use Apache Airflow to orchestrate our crucial workflows such as data ingestions, health checks, and reconciliation processes. In our case I have created new airflow.cfg, webserver-config.py files and used airflow db upgradeĬommand to update postgresql repository to 2.x version. It could be problematic if you have old LDAP configuration (in airflow.cfg) and you would like to migrate it. Airflow RBAC with LDAPĪirflow 2.0 prefers new RBAC interface. Notice that currently winrm is part of main providers branch (previously it was apache-airflow-backport-providers-microsoft-winrm package, which you have to uninstall after upgrade). In our case we have to install: apache-airflow (2.0.1)Īpache-airflow-providers-microsoft-mssql (1.0.1)Īpache-airflow-providers-microsoft-winrm (1.0.1) That is why it is good to list providers that you currently use in your environment before upgrade. ![]() In some cases the upgrade happens automatically - it depends if in your deployment, the upgrade is built-in as post-install action. You have to install apache-airflow-provider- package. When you need to upgrade If you have a custom deployment based on virtualenv or Docker Containers, you usually need to run the DB migrate manually as part of the upgrade process. Currently providers are not part of main apache-airflow package. The first thing that you should aware of is airflow packaging. Cause process weren't as simple as described on project site, I have decided to describe some issues which we have. Last week I have opportunity to migrate customer Apache Airflow 1.10.14 solution to the new 2.0 release.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |