-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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] UsingPageBlobClient.GetManagedDiskPageRangesDiffAsync and AzurePageBlob.UploadPagesFromUriAsync don´t update blob with changes from new incremental snaphot #24959
Comments
Thank you for your feedback. This has been routed to the support team for assistance. |
@agarciamiravet Regarding your Issue 1), I have tried using the shared GitHub repo sample and I am able to create snapshot without any issues. |
@agarciamiravet I have tested it further and I am facing same error as yours while creating managed disk from the blob snapshot. Looks like some issue with sample repo so routing this to appropriate team to look into. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage. Issue DetailsDescribe the bug Im using Github sample repo https://github.com/Azure-Samples/managed-disks-dotnet-backup-with-incremental-snapshots My first issue creating first snapshot, blob is created but when I´m triying to create manage disk from this blob, I receive following error: { By these reason , I create blob with first snapshot from Powershell. My second issue is: When used sample code only for get Changes with GetManagedDiskPageRangesDiffAsync and copy incremental changes with UploadPagesFromUriAsync , I don´t received an error but when I create a virtual machine with new changes from the new snapshots, changes are not reflected and virtual machine run with First/base snapshot. Expected behavior Changes are reflected in blob , and when recreated managed disk and create a virtual machine these changes are reflected in virtual machine (Apps installed, created files i.e) Actual behavior (include Exception or Stack Trace) Using GetManagedDiskPageRangesDiffAsync and GetManagedDiskPageRangesDiffAsync from github sample https://github.com/Azure-Samples/managed-disks-dotnet-backup-with-incremental-snapshots don´t change blob correctly, because When i created manage disk from this snapshot changes, these changes are don´t exist. To Reproduce
Environment:
|
Hi everybody. Any news about these issue? Thanks in advance. |
Hi @agarciamiravet (Alejandro), You can make the change here: https://github.com/Azure-Samples/managed-disks-dotnet-backup-with-incremental-snapshots/blob/05c0049b9830c8e231727f37425babd20a80ee7c/CopyManagedDisksIncrementalSnapshots/Program.cs#L168 |
please file a new issue if you are still hitting this, ideally the rollout should have taken care of this. |
Describe the bug
I´m triying to implement backup from managed disk to storages accounts, using incremental snapshots functionality.
Im using Github sample repo https://github.com/Azure-Samples/managed-disks-dotnet-backup-with-incremental-snapshots
My first issue creating first snapshot, blob is created but when I´m triying to create manage disk from this blob, I receive following error:
{
"status": "Failed",
"error": {
"code": "BadRequest",
"message": "The specified cookie value in VHD footer indicates that disk 'yourtargetbaseblobname.vhd' with blob https://alextextaa1.blob.core.windows.net:8443/vms/yourtargetbaseblobname.vhd is not a supported VHD. Disk is expected to have cookie value 'conectix'."
}
}
By these reason , I create blob with first snapshot from Powershell.
My second issue is:
When used sample code only for get Changes with GetManagedDiskPageRangesDiffAsync and copy incremental changes with UploadPagesFromUriAsync , I don´t received an error but when I create a virtual machine with new changes from the new snapshots, changes are not reflected and virtual machine run with First/base snapshot.
Expected behavior
Changes are reflected in blob , and when recreated managed disk and create a virtual machine these changes are reflected in virtual machine (Apps installed, created files i.e)
Actual behavior (include Exception or Stack Trace)
What is the actual behavior?
Using GetManagedDiskPageRangesDiffAsync and GetManagedDiskPageRangesDiffAsync from github sample https://github.com/Azure-Samples/managed-disks-dotnet-backup-with-incremental-snapshots don´t change blob correctly, because When i created manage disk from this snapshot changes, these changes are don´t exist.
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
Environment:
The text was updated successfully, but these errors were encountered: