Upgrade failed with Read-write transaction is open
Applies to
- ONTAP 9.7
- ONTAP Upgrade
Issue
- ONTAP upgrade did not finish
- The nodes did upgrade to new ONTAP version
- Cluster version still shows previous ONTAP version
- ANDU shows "Upgrade aborted"
- Not all upgrade tasks are completed
Cluster::*> upgrade-revert show-task-status -node Node01
(system node upgrade-revert show-task-status)
Node Vers Phase ID Proc Status Description
------------ ---- --------- --- ------ ---------- -----------------------------
.....
Node01 1000 pre-apps 1019 mgwd applied ASUP Upgrade/Revert Task
Node01 1000 pre-apps 1027 mgwd applied Remove wsman Web Service Upgrade/Revert Task
Node01 1000 post-apps 1001 mgwd applied Upgrade/Revert ipsec
Node01 1000 post-apps 1002 mgwd applied Support for Flexgroups in an MCC configuration
Node01 1000 post-apps 1003 mgwd aborted Upgrade and Revert task for Secd MDB Caching
Node01 1000 post-apps 1005 vifmgr prepared Upgrade to network port sharing
Node01 1000 post-apps 1006 mgwd prepared QoS VR Upgrade Revert
Node01 1000 post-apps 1007 mgwd prepared Template Upgrade/Revert Task
Node01 1000 post-apps 1008 mgwd prepared Upgrade_Revert of 9.6.0 CP_Crypt Features
Node01 1000 post-apps 1009 vifmgr prepared Upgrade to Peer Uuid
Node01 1000 post-apps 1010 mgwd prepared Predefined_roles_update_upgrade
Node01 1000 post-apps 1011 mgwd prepared Obsolete flexgroup capability
.....
- Mgwd logs error:
mgwd 00000023.0000bb06 000067a2 Tue Jun 16 2020 09:18:19 GMT [mana0121: kern_mgwd: WARNING] A [src/rdb/TM.cc 3773 (0x82d3aad00)]: _coord_startTxn: RW-transaction TID <93,129,129> held by client 1000 for 165 seconds (created: 2487s, now: 2652s, deadline: 6087s) (label 'CM RDB Initialization Callback').
mgwd 00000018.00002e54 000024cf Tue Jun 16 2020 09:18:19 GMT [mana0120: kern_mgwd: WARNING] 0x82e1eaf00: 0: ERR: rdb_tran_glue: create: tid=0x82e1eaf00 failed to create transaction for label='CIFS Cache Enable': RW_TXN_EXISTS
mgwd 00000018.00002e55 000024cf Tue Jun 16 2020 09:18:19 GMT [mana0120: kern_mgwd: WARNING] 0x82e1eaf00: 0: ERR: MGWD::SECD_MDB_CACHE_UPGRADE_REVERT: src/tables/cifs/cache/cache_upgrade_revert.cc:78:upgradeCommit Failed to create transaction. Error: Read-write transaction is open
mgwd 00000018.00002e56 000024cf Tue Jun 16 2020 09:18:19 GMT [mana0120: kern_mgwd: WARNING] 0x82e1eaf00: 0: INFO: upgrade_revert: Upgrade of row [1000,post-apps,1003,mgwd] failed. Retrying. Reason: Read-write transaction is open.
mgwd 00000018.00002e57 000024cf Tue Jun 16 2020 09:18:19 GMT [mana0120: kern_mgwd: WARNING] Notice: Upgrade of row [1000,post-apps,1003,mgwd] failed. Retrying. Reason: Read-write transaction is open.