The RBAC tables are only created if you set
AIRFLOW__WEBSERVER__RABC=True at initdb/resetdb time. Try again with that.

-a

On Apr 4 2020, at 5:57 pm, Tomasz Urbaszek <tomasz.urbas...@polidea.com> wrote:

> Breeze environment (1.10.9 upgraded to 1.10.10rc2), Py3.6.10, postgres.
>  
> Dropped all tables and done "airflow resetdb -y" then:
>  
> airflow create_user --role Admin --username admin --email ad...@example.com
> --firstname tomek --lastname tomek --password admin
>  
> sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation
> "ab_permission_view_role" does not exist
> LINE 2: FROM ab_permission_view_role JOIN ab_permission_view ON ab_p...
>  
> Can someone help and check if it's only me?
>  
> T.
>  
> On Sat, Apr 4, 2020 at 5:28 PM Jarek Potiuk <jarek.pot...@polidea.com>
> wrote:
>  
>> +1 (binding) - tested on Python 2.7, 3.5, 3.6, 3.7, mysql +
>> pstgres (several combinations)
>>  
>> Also double checked licences in the sources with RAT. All looks good.
>>  
>> java -jar ../apache-rat-0.13/apache-rat-0.13.jar -E .rat-excludes
>> --dir .
>> Ignored 13 lines in your exclusion files as comments or empty lines.
>>  
>> *****************************************************
>> Summary
>> -------
>> Generated at: 2020-04-04T17:25:40+02:00
>>  
>> Notes: 6
>> Binaries: 83
>> Archives: 0
>> Standards: 1367
>>  
>> Apache Licensed: 1364
>> Generated Documents: 0
>>  
>> JavaDocs are generated, thus a license header is optional.
>> Generated files do not require license headers.
>>  
>> 0 Unknown Licenses
>>  
>> J.
>>  
>>  
>> On Sat, Apr 4, 2020 at 4:03 PM Jiajie Zhong <zhongjiajie...@hotmail.com>
>> wrote:
>>  
>> > +1 (non-binding)
>> >
>> > Best Wish
>> > — Jiajie
>>  
>>  
>>  
>> --
>>  
>> Jarek Potiuk
>> Polidea <https://www.polidea.com/> | Principal Software Engineer
>>  
>> M: +48 660 796 129 <+48660796129>
>> [image: Polidea] <https://www.polidea.com/>
>>  
>  
>  
> --  
>  
> Tomasz Urbaszek
> Polidea <https://www.polidea.com/> | Software Engineer
>  
> M: +48 505 628 493 <+48505628493>
> E: tomasz.urbas...@polidea.com <tomasz.urbasz...@polidea.com>
>  
> Unique Tech
> Check out our projects! <https://www.polidea.com/our-work>
>

Reply via email to