由于SQL转换错误、ONTAP 升级到9.7及更高版本会暂停
适用场景
- ONTAP 当前运行或过去运行的是 9.4 , 9.5 或 9.6 版
- ONTAP 已升级到 9.7 及更高版本
问题描述
- 重新启动节点后,由于出现错误, ONTAP 更新暂停:
::*> cluster image show-update-progress
Estimated Duration: 01:52:00
Elapsed Duration : 17:23:29
Overall Status : Update is "paused-on-error" state performing "Data ONTAP
updates" update phase. The update cannot continue until
the error has been resolved. Resolve all issues, then use
the "cluster image resume-update" command to resume the
update.
Cluster Name: MCC1 Status: paused-on-error
Node name Status Status Description
-------------------- --------------- -------------------------------------
MCC1-01 waiting
MCC1-02 completed
Cluster Name: MCC2 Status: paused-on-error
Node name Status Status Description
-------------------- --------------- -------------------------------------
MCC2-01 waiting
MCC2-02 failed Error: Node "MCC2-02" is not in
"connected" state after giveback.
Action: Use the "storage failover
show" command to verify that node
"MCC2-02" is in the "connected"
state.
4 entries were displayed.
- 在
mgmt
重新启动以应用 ONTAP 升级的节点上, ONTAP 集群环保持脱机状态:
::*> cluster ring show
Node UnitName Epoch DB Epoch DB Trnxs Master Online
--------- -------- -------- -------- -------- --------- ---------
MCC2-01 mgmt 12 12 34629 MCC2-01 master
MCC2-01 vldb 16 16 192 MCC2-01 master
MCC2-01 vifmgr 18 18 10357 MCC2-01 master
MCC2-01 bcomd 15 15 57 MCC2-01 master
MCC2-01 crs 14 14 1638 MCC2-01 master
MCC2-02 mgmt 0 0 1 - offline
MCC2-02 vldb 16 16 192 MCC2-01 secondary
MCC2-02 vifmgr 18 18 10357 MCC2-01 secondary
MCC2-02 bcomd 15 15 57 MCC2-01 secondary
MCC2-02 crs 14 14 1638 MCC2-01 secondary
10 entries were displayed.
mgwd.log
受影响节点上的 ONTAP 显示SQL_LEGACY_CONVERSION_ERROR
了转介表aps_smf_actions
:
Wed Mar 30 2022 21:57:47 +02:00 [kern_mgwd:info:2033] E [src/rdb/sql_local_unit.cc 6145 (0x82f30e800)]: _populateDb: Failed to translate RDB record to SQL for table aps_smf_actions: Failed to convert record id=-4134904281675860083, version <5,50216>, table 'aps_smf_actions', field 'action', pid=2.
Wed Mar 30 2022 21:57:47 +02:00 [kern_mgwd:info:2033] E [src/rdb/sql_local_unit.cc 6481 (0x82f30e800)]: _populateSqlForRecon: Failed to populate aps_smf_actions: SQL_LEGACY_CONVERSION_ERROR.