danielsollondon / azvmimagebuilder

Azure VM Image Builder
180 stars 153 forks source link

DevOps Task - Not flagging destination image as LATEST to Azure Compute Gallery #125

Closed cyclelabs-ryanberger closed 10 months ago

cyclelabs-ryanberger commented 2 years ago

Hi all,

I am struggling to get this issue resolved. I've put an issue in to Azure support, and done a ton of reading through the documentation, Git issues, and I am at a wall with this issue.

I am using the AIB DevOps task to pull a source image from our Azure Compute Gallery (lets say, version 1.0.0), run some customizers (installs the new build of the software my company develops) and then pushes that new image back to our Azure Compute Gallery (as say, version 1.0.1). My expectation would be after the AIB task runs successfully, our LATEST version of our Image Definition would be updated with 1.0.1, from 1.0.0. But this is not happening. Our Scale Set that is hooked into the Azure Compute Gallery to run Azure DevOps Pipelines continues to pull the previous version until I manually swap it around in the Scale Set -> Operating System dialog box from the Azure Portal. Even if I run Az CLI commands against the scale set, it shows the old version of the image UNTIL I manually change the version around in the dialog box below.

image

The AIB task is not flagging the destination image as latest, and to me this feels like that should not be the case.

Can anyone point me in the right direction with this? I am stuck and this is a blocker for the solution I've been working on that incorporates the AIB, Azure Compute Gallery, and some Azure DevOps pipelines.

image

kof-f commented 2 years ago

Hey @ryanberger-az I'm raising this issue with our team and will get back to you.

danielsollondon commented 10 months ago

Apologies for the delay here, if you see this issue, please raise here: https://github.com/azure/azvmimagebuilder