redhat-upgrade-tool がネットワークインターフェイスの再設定に失敗し、アップグレードが行われない
Issue
-
SSH 接続を介して
redhat-upgrade-tool
を実行すると、ネットワークインターフェイスをシャットダウンした後にコマンドがハングし、システムは ping を実行できなくなります。# 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>
-
システムコンソールから
redhat-upgrade-tool
を実行すると、次のようにコマンドが失敗します。# 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 (preupgrade-assistant-el6toel7-0.7.9-3.el6.noarch まで)
- NetworkManager
- 複数のネットワークインターフェイス
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.