HomeClusterLabs Projects

iSCSILogicalUnit: when deleting a LUN or initiator fails with lio-t, proceed…

Description

iSCSILogicalUnit: when deleting a LUN or initiator fails with lio-t, proceed with warning

During the stop operation, "targetcli delete" returns an error if the
object we're about to delete already no longer exists. Since stop is a
force operation and we must do anything we can to clean up the
resource, don't exit on that condition but log a warning and proceed
to removal of the backstore. If *that* fails, then we error out and
potentially cause the node to be fenced.

Fixes ClusterLabs/resource-agents#642.

Details

Provenance
Florian Haas <florian@hastexo.com>Authored on Jul 15 2015, 9:18 AM
Parents
rR893fa0630231: iSCSILogicalUnit: return OCF_NOT_RUNNING on monitor if backing path does not…
Branches
Loading...
Tags
Loading...

Event Timeline