Removing a node fails because LIFs still have the node as home-node
Applies to
- ONTAP 9
Issue
- Removing a node fails with the following error:
::*> cluster remove-node -node node1
Warning: This command will remove node "node1" from the cluster. You must remove the failover partner as well. After the node is removed, erase its configuration and initialize all disks by using the "Clean configuration and initialize all disks (4)" option from the boot menu.
Do you want to continue? {y|n}: y
[Job 183145] Job is queued: Cluster remove-node of Node:node1 with UUID:123456ab-1a2b-3c4d-5f67-123456789abc.
Error: command failed: [Job 183145] Job failed:
Node "node1" is the home node for one or more logical interfaces, some with failover targets on other nodes in the cluster. Either move them from the node and retry the operation. The logical interfaces are: <svm1, cluster_mgmt_lif>.
Note: This error can also be generated if the nodes have been physically removed prior to running the cluster remove-node command and there are still LIFS present in the cluster that have the removed node set as the home node.