Ability to reimage desktop image server from compute gallery versions

This week, I encountered a situation where we powered up a Desktop Image VM and made changes that resulted in the machine being in an unintended state. To resolve this, I deleted the Desktop Image VM and created a new one with the same name from the Compute Gallery (version 2.0). After making the necessary changes on the machine, I set it as the new image. However, this action created a new image definition with the updated image version, instead of adding a version 3.0 to the existing image definition.

It would be helpful to have a feature similar to host pool machines, allowing us to reimage the desktop image machine from an image version stored in the Azure Compute Gallery. 

4

Comments (7 comments)

0
Avatar
Stefan Beckmann

And as soon as this is possible, it should finally be possible to customize the image creation process. If you create a Gold Image monthly from the Microsoft Gallery, the VM object is always an uncustomized object. This is because all changes are made in the temporary VM (e.g. scripted actions). As soon as it is possible to create the VM from the Custom Gallery, you could create the VM at the end, and directly create a Temporary VM first, apply all changes, and then delete the VM at the end and recreate it from the Custom Gallery instead of the Microsoft Gallery.

1
Avatar
Paul Ofoche

Hi Jason Lucas

This is already possible. However, it is hidden and a feature request should be raised to make it more obvious as it took me a long time to find it.

To do this you use "set as image", then you turn on the schedule. This will give an additional field called "Refresh image from Azure Marketplace". Switch this on and you will have a choice of Gallery images.

You can then chose to Run Now, or schedule the refresh monthly.

1
Avatar
Stefan Beckmann

I do it in exactly the same way. In this case, however, the desktop image VM is deleted and recreated by the Marketplace. Then a temporary VM is created and the changes are made to this disk (e.g. scripted actions, top two checkboxes in your print screen). Then the image is created, which contains all the changes. So far so good, but in this case the VM under Desktop Images itself has no configurations (Scripted Actions, Application Management) applied, and still corresponds to the Marketplace version.
I would like the VM under Desktop Images to correspond to the image in the Custom Gallery! This way you can make an emergency change or check the image before deploying it. Therefore, in my opinion, the process needs to be adapted so that this VM is created from the image at the end and not from the Marketplace. In my opinion, this would be the correct procedure:
- Create a temporary VM from the Marketplace image
- Make changes to the VM (Scripted Actions, Application Management)
- Image creation
- Delete VM under Desktop Images and recreate from the Custom Gallery

Today the procedure is what ends in an unconfigured VM:
- Delete VM under Desktop Images and recreate from Marketplace Image
- Create a temporary VM from this VM
- Make changes to the temporary VM (Scripted Actions, Application Management)
- Image creation

I hope this makes it easier to understand. With the original question, the process could then be adapted so easily, and would perhaps no longer require much effort to reallize. It has been bothering me for over two years that the VM under Desktop Images is empty and actually no longer has any function, except to provide costs (disk) and metadata for version management in the host pools... (version management = assumption)

1
Avatar
Toby Skerritt

Thank you all - I have captured your requests and comments for discussion. We'd love to provide a more optimized experience for you in regards to image management. 

0
Avatar
Paul Ofoche

Hi Stefan Beckmann

Thanks for the explanation. I understand and have felt this frustration myself.

1
Avatar
Jason Lucas

Thanks for pointing that out Paul Ofoche, I would have never found that. =)

1
Avatar
Jason Lucas

Looking at this again, the steps Paul provided show only Azure Marketplace images. The image I want to roll back to would be a custom image in our own compute gallery which is not an available option. 

Please sign in to leave a comment.