https://prefect.io logo
#prefect-community
Title
# prefect-community
o

Oleg Sheyner

08/04/2022, 2:03 AM
Hi all, what goes into "An Azure storage bucket path" when creating an Azure storage block? A couple of things I tried lead to "Container does not exist" errors from Azure. This is latest build of Prefect 2.0.2 with today's fix for .prefectignore included. (Yeah, I know... noob)
💪 1
m

Mathijs Carlu

08/04/2022, 6:46 AM
from here, I get that it should be
<container>/<path_in_container>
o

Oscar Björhn

08/04/2022, 7:38 AM
Seems about right. I just set it to my container name ("flows", in this case) and files started appearing in the root of the container.
o

Owen Cook

08/04/2022, 10:44 AM
I'm also having a bit of a problem with this, I've set the bucket path to the container name as @Oscar Björhn said above but I'm now getting this error:
RuntimeError: File system created with scheme 'az' from base path 'az://<container>' could not be created. You are likely missing a Python module required to use the given storage protocol.
but I get no module import error etc. Does anyone know anything about how I can go about solving this? (This is being raised from prefect/filesystems.py:RemoteFileSystem.filesystem)
o

Oscar Björhn

08/04/2022, 11:02 AM
@Owen Cook I had the same problem when I first tested my docker container. I added adlfs==2022.7.0 to my requirements.txt and that solved the problem for me.
🙌 1
o

Oleg Sheyner

08/04/2022, 5:05 PM
Thanks guys, worked!
36 Views