-
Notifications
You must be signed in to change notification settings - Fork 21k
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
How to update custom images? #16899
Comments
Thanks for the feedback! We are currently investigating and will update you shortly. |
@jakaruna-MSFT Is it possible to update custom image for VMSS? I can't find any information about it. |
Oh, I found this post: https://social.msdn.microsoft.com/Forums/en-US/352d03c3-52d9-4fa8-a370-270731889fab/auto-scale-set-change-image-operationnotallowed?forum=AzureStack Answer of MSFT specialist: Unfortunately, Updating the image in a Scale-Set and Auto Scale-Sets are not yet supported in ASDK. Is it true? |
@mail4mohit @fiftin I will assign the issue to the content author to fix the broken link. |
@jakaruna-MSFT You mention in response to @fiftin above that updating custom images is not supported but this article mentions multiple times that custom images are supported. Reference-1 Reference-2 |
@mail4mohit I meant updating as removing the old image and adding a new image altogether. Thats why i shared this creation time properties. |
@mail4mohit @jakaruna-MSFT there are lots of separate things making this more confusing than it should be :).
"storageProfile": { When you have a new image, you need to change this property to point to your new image.
Hope this helps! :) -Neil |
@gatneil - thanks a lot for your clarification - I agree there were a number of different items making this more confusing than it is. A colleague at my work place was also hinting about using image id - we changed our strategy to use custom scripts to update VM for now but I can see now how this should work. Thanks again for bringing clarity! |
I have a fix for this issue and I'll add it to the docs soon. #please-close |
@zr-msft Is the fix out yet? Please let me know. Thanks. :) |
Thanks @zr-msft :) |
How to update custom images? I created custom image from a VM but they do not have a URI whereas scale sets update seem to need a URI.
The article talks about providing an example of updating a scale set using a custom image but never provides that. There is a link to "REST API Documentation" that is supposed to provide some details but that link does not work (https://docs.microsoft.com/rest/api/compute/virtualmachinescalesets/createorupdate)
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: