Skip to content
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

AzCopy cannot copy blob from a storage account with Object Replication policy #2655

Open
JasonYeMSFT opened this issue Apr 22, 2024 · 4 comments
Assignees
Labels

Comments

@JasonYeMSFT
Copy link

Which version of the AzCopy was used?

10.23.0

Which platform are you using? (ex: Windows, Mac, Linux)

Mac

What command did you run?

s2s Azure blob copy

What problem was encountered?

While reading the source, AzCopy incorrectly treat the object replication header as metadata, whose name doesn't comply to the rules of metadata names and cause the copy to fail.

image

image

How can we reproduce the problem in the simplest way?

Assign an object replication policy to a storage account. Go to the replicated source container. View properties of a blob on Portal and make sure there is an Object replication field. Use AzCopy to copy this blob to another storage account.

Have you found a mitigation/solution?

No

@tanyasethi-msft
Copy link
Member

Hi @JasonYeMSFT,
Thanks for reporting this. The team is actively working on this issue and a fix will be available in the next release.

@gapra-msft gapra-msft added the bug label Apr 23, 2024
@tanyasethi-msft
Copy link
Member

@tanyasethi-msft tanyasethi-msft self-assigned this Apr 29, 2024
@kaptinkoda
Copy link

Running into the same issue in AzCopy v10.24.0.
Error Message: Status: 400 The metadata specified is invalid. It has characters that are not permitted.
I was able to copy using older version AzCopy v10.0.22631

@tanyasethi-msft
Copy link
Member

tanyasethi-msft commented Apr 30, 2024

Hi @kaptinkoda, this is not fixed yet. It will be available from AzCopy next release. This thread will be updated with the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants