Using LEAPP to migrate hosts from rhel7 to rhel8 on AZure; after boot, networking fails; cannot get IP using DHCP. Hints to fix?

H. U.F. Campbell 0 Reputation points
2025-03-06T22:06:25.1366667+00:00

Am on Azure Cloud; we have numerous rhel7 hosts; RedHat offers a LEAPP migrator script that updates hosts to the next major OS level (e.g. rhel7 to rhel8)

Script ran fine, but rebooted host cannot get IP; no change for MAC addr.

Anyone encountered this before and have any hints of how to troubleshoot? Usual debuging not working. (yet)]

tx.!

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
728 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Akshay kumar Mandha 2,665 Reputation points Microsoft External Staff
    2025-03-07T08:14:56.7+00:00

    Hi H. U.F. Campbell,
    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here
    regarding the network issue you're experiencing after upgrading from RHEL 7 to RHEL 8 using the LEAPP migrator script.

    Please check the pre-requisites while upgrading & refer below document for more details
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux/troubleshoot-red-hat-os-upgrade-issues
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux/leapp-upgrade-process-rhel-7-and-8?tabs=rhel7-rhel8

    If you found this information helpful and my inputs, please click an accepting the answer and don't forget to "Upvote" on my post for other community members referenceUser's image

    0 comments No comments

  2. H. U.F. Campbell 0 Reputation points
    2025-03-07T20:08:33.7966667+00:00

    INTERIM details:

    Contacted RHEL support:

    turns out the IP and route are not being set, so added manually (ip cmds).

    This allows login to host using ssh, but cannot run yum check-update or ssh from host.

    0 comments No comments

  3. H. U.F. Campbell 0 Reputation points
    2025-03-07T20:11:07.5033333+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.