ONTAP upgrade failure due to "post-apps" phase on task "OpenSSH 8.7 Upgrade/Revert Task"
Applies to
- ONTAP 9
- ONTAP upgrade
Issue
A post-update validation fails with the error:
Status Message: The upgrade failed in the "post-apps" phase on task "OpenSSH 8.7 Upgrade/Revert Task". Contact support personnel for the upgrade repair procedure
::> cluster image show-update-progress
Estimated Elapsed
Update Phase Status
Duration Duration
-------------------- ----------------- --------------- ---------------
Pre-update checks completed 00:10:00 00:01:13
ONTAP updates paused-on-error 05:00:00 04:34:07
Details:
Node name Status Status Description
-------------------- --------------- --------------------------------------
Node_name waiting
Node_name failed Error: Upgrade of node <node_name> failed to
complete.
Action: Use the (privilege: advanced)command
"system node upgrade-revert show -node <nodename>"
to check the upgrade status.
::> system node upgrade-revert show -node <node_name> (system node upgrade-revert show) Node: Node_name Status: failed Status Message: The upgrade failed in the "post-apps" phase on task "OpenSSH 8.7 Upgrade/Revert Task". Contact support personnel for the upgrade repair procedure.
::*> upgrade-revert show-task-status -node *
Node Vers Phase ID Proc Status Description
------------ ---- --------- --- ------ ---------- -----------------------------
Node_name 1800 post-apps 1818 mgwd failed OpenSSH 8.7 Upgrade/Revert Task
From mgwd logs we see the below error:
Sat Jul 12 2025 02:48:53 +00:00 [kern_mgwd:info:2708] 0x8366ac800: 0: ERR: MGWD::OPENSSH_UPG_REV: src/tables/openssh_upgrade_revert.cc:466:upgradeCommitRDB: modify failed for Vserver=NXXXXLKS-clust,error = Removing all SSH key exchange algorithms is not supported. SSH login would fail. There must be at least one key exchange algorithm associated with the SSH configuration.
