Vserver configuration locked after migrating to a new cluster
Applies to
- ONTAP 9
- Storage Virtual Machine (SVM)
Issue
- After executing
vserver migrate start, the Vserver is locked and clients are unable access CIFS. - EMS logging will show the following error:
Error: command failed: Changes to the Vserver configuration are not permitted: the management configuration for the Vserver "vserver" is locked. - Logging indicates that during the migration, ONTAP attempted to unlock the Vserver.
- Logging indicates complete, but throws errors likely due to it already being improperly unlocked before migrate completion:
Mon Nov 10 2025 21:36:49 -06:00 [kern_mgwd:info:4133] 0x84e895800: 0: ERR: Table::vserver: src/tables/vservermgmt/vserver_lock_db.cc:virtual smdb_error vserver_lock_db_iterator::unlock_imp(const smdb_type_boolean *, const smdb_type_mcc_op_context_temp *):166 Failed to unlock vserver xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in lock db: entry doesn't exist0000001c.002f715b 00a4d6e2 Mon Nov 10 2025 21:36:49 -06:00 [kern_mgwd:info:4133] 0x84e895800: 0: INFO: Table::vserver_migrate: Unlock of Vserver xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx was successfulMon Nov 10 2025 21:36:49 -06:00 [kern_mgwd:info:4133] 0x84e895800: 0: INFO: Table::vserver_migrate: Migrate complete. Unlocked destination vserver VSERVERMon Nov 10 2025 21:36:49 -06:00 [kern_mgwd:info:4133] 0x84e895800: 0: ERR: Table::vserver: src/tables/vservermgmt/vserver_lock_db.cc:virtual smdb_error vserver_lock_db_iterator::unlock_imp(const smdb_type_boolean *, const smdb_type_mcc_op_context_temp *):159 mcc: unlocking vserver: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxMon Nov 10 2025 21:36:49 -06:00 [kern_mgwd:info:4133] 0x84e895800: 0: ERR: Table::vserver: src/tables/vservermgmt/vserver_lock_db.cc:virtual smdb_error vserver_lock_db_iterator::unlock_imp(const smdb_type_boolean *, const smdb_type_mcc_op_context_temp *):166 Failed to unlock vserver xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in lock db: entry doesn't existMon Nov 10 2025 21:36:49 -06:00 [kern_mgwd:info:4133] 0x84e895800: 0: ERR: Table::vserver: src/tables/vservermgmt/vserver_lock_db.cc:virtual smdb_error vserver_lock_db_iterator::unlock_imp(const smdb_type_boolean *, const smdb_type_mcc_op_context_temp *):166 Failed to unlock vserver xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in lock db: entry doesn't existMon Nov 10 2025 21:36:49 -06:00 [kern_mgwd:info:4133] 0x84e895800: 0: ERR: Table::vserver: src/tables/vservermgmt/vserver_lock_db.cc:virtual smdb_error vserver_lock_db_iterator::unlock_imp(const smdb_type_boolean *, const smdb_type_mcc_op_context_temp *):166 Failed to unlock vserver xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in lock db: entry doesn't
