redhat-upgrade-tool fails to reconfigure the network interfaces, preventing the upgrade to happen

Solution Verified - Updated -

Issue

  • When executing redhat-upgrade-tool through a SSH connection, the command hangs after shutting down the network interfaces and the system is not pingable anymore

    # redhat-upgrade-tool --device /mnt/rhel76
    [...]
    Shutting down interface eth0:  Device state: 3 (disconnected)
    [  OK  ]
    Shutting down interface eth1:  Device state: 3 (disconnected)
    <HANG HERE>
    
  • When executing redhat-upgrade-tool from the system console, the command fails as shown below

    # redhat-upgrade-tool --device /mnt/rhel76
    [...]
    Shutting down interface eth0:  Device state: 3 (disconnected)
    [  OK  ]
    Shutting down interface eth1:  Device state: 3 (disconnected)
    [  OK  ]
    Shutting down loopback interface:  [  OK  ]
    RTNETLINK answers: Device or resource busy
    RTNETLINK answers: Device or resource busy
    Bringing up loopback interface:  lo: Disabled Privacy Extensions
    [  OK  ]
    Bringing up interface net0:  Active connection state: activating
    Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/2
    Error: Connection activation failed: The connection is not for this device.
    [FAILED]
    Bringing up interface net1:  Error: Connection activation failed: The connection is not for this device.
    [FAILED]
    Following preupgrade script(s) failed:
    
    /root/preupgrade/preupgrade-scripts/rename_network.sh exited with status 1
    exiting
    

Environment

  • Red Hat Enterprise Linux 6
    • redhat-upgrade-tool (up to preupgrade-assistant-el6toel7-0.7.9-3.el6.noarch)
    • NetworkManager
    • Multiple network interfaces

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In