azureazure-linux

Azure RHEL Linux VM updates , Gen2 supported?


I am trying to add a RHEL8.2Gen2 VM to automated patching but its failing . I get the hybrid runbook worker is not running error when I run the trouble shooter.

I also get the following error when I go to the "Check For Updates" option on the VM page .

Update operation on 'Microsoft.Compute/virtualMachines', machine: 'hexdev-linux02-RHEL8.2'. Error details: {"error":{"code":"BadRequest","message":"The selected VM image is not supported for VM Guest patch operations. Learn more at: https://aka.ms/VMGuestPatchingCompatibility"}}

Looking at the webpage the error advises me to look at it says RHEL8.2 is supported, but it does not mention anything about Gen1 or Gen2 VMs.

Everything works when I use a Gen1 type VM image for the same RHEL8.2 distro.

Can anyone confirm if Check for Updates and automated patching for RHEL8.2 image should work if you use a Gen2 VM? enter image description here


Solution

  • Please check this RHEL 8 image types Gen 2 type VM image will not work

    Features included in generation 2

    Note: Once you created virtual machine's generation you won't be able to change generation so, please considerations before you choose a generation. I would advise you to use Gen1 as it is right now.

    For more information in detail, please refer below links:

    Support for generation 2 VMs on Azure

    Should I create a generation 1 or 2 virtual machine in Hyper-V

    Automatic VM guest patching for Azure VMs