do-release-upgrade hangs when systemd-networkd.service fails to restart cleanly; causes sshd issues

Bug #1929774 reported by Zachary Zehring
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

We upgraded some baremetal machines from bionic to focal. During the d-r-u process, it got stuck when it tried to restart systemd-networkd.service [0]. This also caused the machine to be unreachable through ssh. The only way to work around this issue was to have an existing ssh session on the machine during the upgrade. Then, I was able to restart systemd-networkd.socket and systemd-networkd.service to get things working again; this unstuck the d-r-u process. Additionally, I had to restart sshd for that service to work as well. Other services listening on other ports worked fine. This was a juju unit, and "juju run --machine $num" worked to issue commands remotely on the machine.

[0]
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-pstore.service /lib/systemd/system/systemd-pstore.service.
Job for systemd-networkd.service failed because the control process exited with error code.
See "systemctl status systemd-networkd.service" and "journalctl -xe" for details.

description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Can you please attach the systemd-networkd logs from that time? It would be helpful to see why it failed.

Changed in ubuntu-release-upgrader (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-release-upgrader (Ubuntu) because there has been no activity for 60 days.]

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.