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

cannot copy private incremental disk snapshot to storage account #2573

Open
GauravChawda opened this issue Feb 14, 2024 · 2 comments
Open

cannot copy private incremental disk snapshot to storage account #2573

GauravChawda opened this issue Feb 14, 2024 · 2 comments
Assignees

Comments

@GauravChawda
Copy link

Which version of the AzCopy was used?

10.23.0

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

Linux (6.2.0-1019-azure)

What command did you run?

azcopy copy https://md-impexp-tfwkrt1snkcg.z44.blob.storage.azure.net/gt13wmp4rwqg/relaycor?si=8454a9c86e434c7f943cae52154651f10a20d4b6fa314e2f96865e5e6f4a862e&sig=-REDACTED-&sr=b&sv=2018-03-28 https://tempstorageaccountxx.blob.core.windows.net/snaps/new_page_blob?se=2024-02-14t14%3A18%3A49z&sig=-REDACTED-&sp=rwdlacupiytfx&spr=https&srt=sco&ss=bfqt&st=2024-02-14t06%3A18%3A49z&sv=2022-11-02

What problem was encountered?

2024/02/14 06:21:07 ERR: [P#0-T#0] COPYFAILED: https://md-impexp-tfwkrt1snkcg.z44.blob.storage.azure.net/gt13wmp4rwqg/relaycor : 409 : 409 Source blob of a copy operation cannot be non-snapshot incremental copy blob.. When Uploading page from URL. X-Ms-Request-Id: 6e5fb3ed-901e-003f-160d-5fa5e7000000

How can we reproduce the problem in the simplest way?

  1. create incremental disk snapshot with networking option AllowPrivate
  2. generate SAS for that snapshot
  3. generate SAS for the destination storage account
  4. use azcopy copy "<snapshot_sas>" "<storage_account_sas>"

Have you found a mitigation/solution?

No

Additional Context

I ensured that the vm which has been used for azcopy has access to that private snapshot (wget successfully downloads the snapshot VHD in VM).
The same azcopy copy command is working fine with networking option AllowPublic, but due to security reasons we can't make snapshot public.

@GauravChawda
Copy link
Author

@pranavmalik-msft
If you can point me to the right directions, I am more than happy to contribute to azcopy.

@pranavmalik-msft
Copy link
Collaborator

pranavmalik-msft commented Feb 18, 2024

Hey @GauravChawda ,
Thank you for reaching out. We will convene a discussion with the wider team to ensure better support for you.

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

No branches or pull requests

2 participants