Closed cgauthey closed 5 years ago
Where exactly is this in the code? Could you please provide a link.
Ceph backend uses the failure commands to ignore some commands which only depend on a PDisk type (origin, data, etc.). For example, removing an origin image requires 3x steps (unprotect snapshot, remove snapshot, remove image) instead of one for other types (remove image).
I found a fix by using the failure messages but I would like to set them for a specific LUN action. The error message of Ceph commands is sometime unclear and could hide a real error.
The Ceph backend relies on a feature which is no longer available in StratusLab v14.03.
As described in the inline documentation, the backend failure commands should accept the value
None
as an alternate command :If the alternate command is None, processing of further actions continues as if there was no entry for the command in the dictionary.
The last rewrite of the backend system uses this value to determine if a failure command should be executed and is not compliant with the documentation.