[BUG] Unable to update replication status on Gallery Image Version
See original GitHub issueDescribe the bug Calling the Update API on a Gallery Image Version to change the replication does not work.
Expected behavior Able to update replication.
Actual behavior (include Exception or Stack Trace) ValidationException: Id cannot be null
To Reproduce Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
IAzure azure = ...;
var galleryClient = azure.GalleryImageVersions;
var version = await galleryClient.GetByGalleryImageAsync("ValidResourceGroupName", "ValidGalleryName", "ValidImageName", "ValidImageVersion");
await version.Update().WithRegionAvailability(Region.UAENorth, 1).ApplyAsync();
Environment:
- Name and version of the Library package used: Microsoft.Azure.Management.Fluent 1.30.0
- Hosting platform or OS and .NET runtime version (
dotnet --info
output for .NET Core projects): Azure Functions v3 runtime (.NET Core 3.0) - IDE and version : Visual Studio 16.4.5 (2019)
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (3 by maintainers)
Top Results From Across the Web
Gallery Image Versions - Update - REST API (Azure ...
This is the aggregated replication status based on all the regional replication status flags. Name, Type, Description. Completed. string. Failed.
Read more >Solved: RSA AM 8.7 Update Question - Replicas & Replication
Working on a the RSA AM 8.7 Patch 4 update and had a failure to complete on the primary. I confirmed replication status...
Read more >Image replication fails with the error message
Image replication fails due to insufficient space in the datastore. ... Verify that the status of all components of the pod is green....
Read more >Azure VM image version creation fail
I'm creating a VM image version, but it keeps failing with this message. Failed to update replication for VM image version 'XXXXXcomputegallery/ ...
Read more >Amazon S3 replication failure reasons
View replication failures and failure error codes. ... To replicate objects with S3 Replication, enable versioning for the destination bucket.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@xccc-msft, The service itself doesn’t require users to pass any of the source IDs (StorageProfile.OsDiskImage.Source.id, StorageProfile.DataDiskImages[i].Source.id, StorageProfile.source.id) in their Update Image Version calls. This must be an SDK issue. Adding @hyonholee here to take a look.
Thanks all!