-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] FlyteDirectory
fails for Azure
#5541
Comments
I think we can straightforwardly switch from |
Made a PR that fixes this flyteorg/flytekit#2564 |
The issue you're encountering is related to Flyte's handling of To work around this issue, you can ensure that the necessary Azure credentials are provided. One way to do this is by setting the Here is an example of how you can set this environment variable in your pod template: env:
- name: AZURE_STORAGE_CONNECTION_STRING
valueFrom:
secretKeyRef:
name: flyteruntimesecret Would you like more details on setting up the environment or addressing this issue in another way? Sources:
This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not. Mention @RunLLM to ask follow-up questions. See runllm.com for more! |
The bot hasn't fully understood. The problem at least for me is only when launching an execution so setting the environment variable in the pod template doesn't help. It also doesn't understand that its unnecessary to initialise the filesystem object. |
Closing as this was resolved in flyteorg/flytekit#2564 |
Describe the bug
Imagine:
When using Azure, launching this workflow with a directory containing more than one file causes
Expected behavior
I would expect this to run without error.
Root cause
The files are actually uploaded fine using
FlyteFS
. The problem is when it callsFlyteFS.extract_common()
which comes after successful upload. This contains the snippetThe problem is that
adlfs.AzureBlobFileSystem()
fails because theaccount_name
is unknown. I'm thinking it would be best to avoid needing to initialise anfsspec
filesystem just to determine the separator used on the filesystem in question.Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: