Azure Virtual Machine "Operating system" version not same as the guest OS

ttraore 20 Reputation points
2024-04-17T09:15:39.88+00:00

Hello,

I just upgrade my VM from Centos7.9 to RHEL8.9 and all good.
But in azure Portal, "Operating system" is allways showing as Centos 7.9.2009.
How can i correct that end get the real OS version.
I make the same operation on an other server and the "Operating system" version change automaticly.
Thant for help!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,144 questions
0 comments No comments
{count} votes

Accepted answer
  1. kobulloc-MSFT 23,491 Reputation points Microsoft Employee
    2024-04-17T14:17:10.1+00:00

    Hello, @ttraore !

    Why doesn't the portal reflect my upgraded VM OS?

    For a long time, in-place VM OS upgrades were not supported in Azure. You can currently see guidance in the official documentation for in-place upgrades however this guidance is being updated due to an increased number of support requests from customers who were performing in-place upgrades. While you may be able to complete the upgrade, long term stability and feature compatibility (much like the portal issue you are seeing) of in-place upgrades has proven not to be reliable which is why they are no longer recommended.

    If you would like to upgrade from one version of an OS to another, the recommendation is to create a new VM with the OS/image that you would like. Additionally, a good practice would be to put your data on a separate disk (and not the OS) to help make management and migration easier.

    Additional reading:


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

0 additional answers

Sort by: Most helpful