pingzh opened a new issue #21407:
URL: https://github.com/apache/airflow/issues/21407


   ### Apache Airflow version
   
   main (development)
   
   ### What happened
   
   airflow webserver cannot start due to error
   
   ```
   AssertionError: Dependency rule tried to blank-out primary key column 
'ab_permission.id' on instance '
   ```
   
   ### What you expected to happen
   
   airflow webserver cannot start due to error
   
   ### How to reproduce
   
   Error in CI:
   
https://github.com/apache/airflow/runs/5101435727?check_suite_focus=true#step:7:2424
   
   Error from my local:
   
   i have the latest airflow main commit: 
`471e368eacbcae1eedf9b7e1cb4290c385396ea9`
   
   python version: `3.9.7`
   Flask related pkg:
   
   ```
   ❯ pip list | grep Flas
   Flask                           1.1.4
   Flask-AppBuilder                3.4.4
   Flask-Babel                     2.0.0
   Flask-Caching                   1.10.1
   Flask-JWT-Extended              3.25.1
   Flask-Login                     0.4.1
   Flask-OpenID                    1.3.0
   Flask-SQLAlchemy                2.5.1
   Flask-WTF                       0.14.3
   ```
   
   database: mysql
   
   mysql version:
   
   ```
   ❯ mysql -V
   mysql  Ver 8.0.28 for macos12.0 on arm64 (Homebrew)
   ```
   
   
   the aiflow.cfg and webserver conf are auto generated, i did not change 
except `sql_alchemy_conn`
   
   
   ### Operating System
   
   Apple M1 Max, version: 12.2
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   local dev
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to