airflow db init fips enable #14966
Replies: 4 comments
-
|
Possibly @mik-laj may have some insights in this matter? |
Beta Was this translation helpful? Give feedback.
-
|
We found that running airflow on a FIPS enabled host is what causes this There is probably a long term fix, but we ran sed -i 's/md5/sha256/g' /opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask_caching/backends/filesystemcache.py to remediate in the short term |
Beta Was this translation helpful? Give feedback.
-
|
I currently have a pull request related to this - |
Beta Was this translation helpful? Give feedback.
-
|
Yep. I added one small NIT to fix and looking forward to another committer's approval to merge it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am working on a project that has CentOS 7 fips enabled configuration using Python 3.6.8.
Airflow version 2.0.0
If I disable fips, I can get "airflow db init" to run correctly.
However, with fips enabled I get the traceback below when I run "airflow db init".
With fips enabled you can't use md5 hash. However, that is what is happening in the Airflow installation I believe.
Just one example is to look at flask_caching/backends/filesystemcache.py file.
Is there a way to get Airflow working without disabling fips?
I did some research but I have not come across anything yet.
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions