HomeClusterLabs Projects

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

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

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

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.