Closed LvffY closed 4 years ago
Thanks for opening your first issue here! Be sure to follow the issue template!
I finally found my problem. It cames from a bad installation of azure dependencies.
If you fall into the same problem as me, you should see in your scheduler logs an error like Cannot import module name 'BlockBlobService'
.
I solved my problem by running pip install azure-storage==0.36
in my airflow env
I'm closing the issue
Apache Airflow version: 1.10.10
Environment: Ubuntu 18.04.4 LTS (WSL)
Cloud provider or hardware configuration: Windows 10 Enterprise
OS (e.g. from /etc/os-release):
OS
NAME="Ubuntu" VERSION="18.04.4 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.4 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionicKernel (e.g.
uname -a
): Linux ITEM-S70825 4.4.0-17134-Microsoft #1488-Microsoft Mon May 05 16:17:00 PST 2020 x86_64 x86_64 x86_64 GNU/LinuxInstall tools: Install through pip
Others: Run on python 3.6
What happened:
I'm trying to log into an Azure blob storage according to these method. Nothing is written in my blob storage.
What you expected to happen: I expected to found logs files in my Azure blob storage. I'm launching tutorial dag. While I'm seeing logs in the UI, I'm not able to write logs in my Azure blob storage.
What do you think went wrong? I'm probably misunderstanding something in the docs. I don't find these docs very straitforward if this is a misunderstanding for the docs, I would gladly contribute to these docs :)
How to reproduce it:
log_config.py
airflow.cfg
Please tell me if you need more informations, this issue is pretty important for my team :)
Thanks in advance !