Upgrade completed (pending restart). Task shows upgrade failed after clicking restart

Upgrading RHEL 7.9 to openEuler 20.03-LTS-SP4, the x2openeuler WEB platform shows the task as failed during upgrade. The task execution reaches “Pending Reboot to Take Effect.” After clicking “Reboot,” the task fails and cannot proceed to the next step:

As shown in the figure:

The task reaches “Pending Reboot to Take Effect,” and fails after reboot is clicked:

As shown in the figure:

The target system console still shows the system upgrade in progress:

As shown in the figure:

After the target machine completes OS upgrade, installation, and reboot, the kernel has changed from Red Hat’s 3.10 to openEuler 20.03’s 4.19:

As shown in the figure:

This is likely a bug in the migration tool—checking the target version before confirming whether the restart command has been fully sent. It should be sporadic.