Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[Storage] Azure blob storage support #3032
[Storage] Azure blob storage support #3032
Changes from 18 commits
d867646
4c49ed4
1f2c584
1da2c76
3ab8095
d7a0a26
0820037
32ef2ad
9126119
52787e8
a4ce470
1dc2be6
dd3646d
0ecd1ad
02e06b5
9765849
8200265
c7ce2d5
a156b56
212e003
1a0ad06
6e76b7f
9975596
6becf33
6350fdd
7a1fe65
23977b9
97fc0eb
c56fa32
d23dbb0
c7ed6fb
a78b0f9
861b718
3cba1b6
7ba8b88
8aaed84
5e85fdc
cb1e6a8
d036cd8
95736e4
69539ed
8411fff
d0d6105
3bcb2cb
b9c21be
f1a072e
bc1534d
524a47f
1c96055
b355d25
9e52672
46111f7
e8bc823
47b6909
f23d806
1570022
2aa1e1f
85e323a
e84c46f
bac7319
6e612c9
b67e87c
c994cfc
2f727ac
4c5938a
0f810e0
881b0d2
34a684c
777cd8a
a607874
eaf3058
7494600
696b4c6
8ec5c08
054efae
f856063
1612af4
70ae2b3
d63fc7a
be1cfaa
5a1dd87
eb933df
8e94496
fa113d0
5df34de
de3d8a8
806320c
63dab29
b9dfa47
59d30fb
119e7e5
ecbab0e
6640c15
fb61be4
144a60d
56f8953
408c240
720fe38
80e1bce
c923575
e86e24d
a1940a2
4e5442f
a877d7c
508b8e1
d9b70d4
3b771dc
113cb12
401796b
fe83261
613618e
f30291f
dacf597
6dd9d31
e5cc383
892b504
aea8316
3e8c96e
d58a10b
078ee52
9512449
01b48a4
2bd5ec7
0b16763
7ec0f68
7b3010c
78a2533
7f6ad76
cd33c18
13f90b4
6a8db72
5c67690
95fa03d
b864f42
08adcde
493e300
75d0cda
89645ed
cb606ef
98fcd5f
1a15411
f494725
6d0e128
f8ecddc
e52f797
a6691ed
41d1000
0cd9d73
33fff63
78c5fd3
db9fa49
3b89bff
9f48823
f233cb2
5fe2d60
b5e2cc5
f87de9d
b4421d0
6b12bff
5909311
4c9ac44
bfee828
691582e
64c770a
908acb4
c320575
fb3d48e
076ef01
3e75bdf
e1c56f0
f711911
d5c4e1b
7fefe7b
b93adb1
3f81d7c
3c05ff7
ccecf24
5b1689f
f40604b
642a258
e212ea2
beba84a
55a5e72
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this, it seems we skip the failed buckets that do not exist, which misaligns with our previous behavior for other cloud buckets. We should probably not skip all errors here.
Also, it seems for an Azure blob that does not exist, unlike the other clouds, it raises error for the the sync command execution below. Can we get it fail here when we call
list_blobs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first issue you mentioned is resolved at f40604b. And the second issue is resolved at e212ea2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style: keep the try block small
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what I tried at first, but the error is raised when we iterate through the object within the for-loop
for blob in blobs:
rather than when the object is obtained withblobs = container_client.list_blobs(name_starts_with=path)
. So the suggested code won't be able to catch the error.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After manually overriding the region of the storage account, I was able to get the spot controller to launch. However, launching the task on it failed with these logs:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is resolved with eaf3058