Object-store config delete fails due to attached aggregates
Applies to
- ONTAP 9
- FabricPool
- MetroCluster IP to HA pair conversion.
Issue
- After a MCC IP to HA pair conversion the follow error is shown when deleting a object-store config:
cluster-01::> storage aggregate object-store config delete -object-store-name object-store1-mc
Error: command failed: Cannot delete object store configuration "object-store1-mc" as the store is attached to one or more aggregates. Use the
"aggregate object-store show -object-store-name object-store1-mc" command to view the aggregates.
- The aggregates have been deleted and are not seen in the
aggregate object-store show
output. - The following error was shown in the MGWD.log when the delete was attempted:
0000003d.001acaa4 00923210 Thu Feb 22 2024 14:09:49 +01:00 [kern_mgwd:info:2796] 0x83b793900: 8003e800001b0f8e: ERR: MGWD::aggr_object_store_config_iterator: deletex_imp:src/tables/aggr_object_store_config.cc:4164 object-store object-store1-mc is still attached to aggregate uuid=596482d8-70da-4ff4-9387-xxxxxxxxxxxx, bin_uuid=ff05a2ac-8875-11ee-8376-d039ea9864f2, this->object_store_name=object-store1-mc, this->config_id=12, owner=fabricpool
- Cheking the UUID confirms that the aggregate no longer exists:
cluster1::> set advanced
cluster1::*> storage aggregate show -uuid 596482d8-70da-4ff4-9387-xxxxxxxxxxxx
There are no entries matching your query.