volume deletion fails via OSM or REST when a node is in takeover
Applies to
- ONTAP 9.9.1+ without fix for Bug 1460086
- REST API
- ONTAP System Manager (OSM)
Issue
- One node of an HA-Pair was taken over or is down, here
node-02
:
cluster1::> storage failover show
Takeover
Node Partner Possible State Description
-------------- -------------- -------- -------------------------------------
node-01 node-02 false In takeover
node-02 node-01 - Waiting for giveback
2 entries were displayed.
- A Volume is attempted to be deleted via GUI, OSM displays error:
Failed to check file or LUN copy operation status. Reason: "RPC: Couldn't make
connection [from mgwd on node "node-01" (VSID: -1) to mgwd at
169.254.186.147]".
- If the volume is attempted to be deleted via REST, the same error shows up in REST response:
DELETE /api/storage/volumes/18d6e21c-939e-13ec-1313-00505131394b
{
"uuid": "efccdead-9543-13ec-84a1-005056810887",
"description": "DELETE /api/storage/volumes/18d6e21c-939e-13ec-1313-00505131394b",
"state": "failure",
"message": "Failed to check file or LUN copy operation status. Reason: \"RPC: Couldn't make connection [from mgwd on node \"node-01\" (VSID: -1) to mgwd at 169.254.186.147]\".",
"code": 918528,
"start_time": "2022-02-24T07:32:36+00:00",
"end_time": "2022-02-24T07:32:36+00:00",
"arguments": [
"RPC: Couldn't make connection [from mgwd on node \"node-01\" (VSID: -1) to mgwd at 169.254.186.147]"
],
"error": {
"message": "Failed to check file or LUN copy operation status. Reason: \"RPC: Couldn't make connection [from mgwd on node \"node-01\" (VSID: -1) to mgwd at 169.254.186.147]\".",
"code": "918528",
"arguments": [
{
"message": "RPC: Couldn't make connection [from mgwd on node \"node-01\" (VSID: -1) to mgwd at 169.254.186.147]"
}
]
},
"_links": {
"self": {
"href": "/api/cluster/jobs/efccdead-9543-13ec-84a1-005056810887?fields=**"
}
}
}