stmf-ha
stmf-ha copied to clipboard
Fixes for PCS
If the DEBUG variable is not set, line 35 fails with incorrect comparison. It has to be either '0' or '1' (or any integer value) zpool_is_imported failure (because it is not imported initially) results in OCF_STD_ERR which results in error messages of the resource in PCS, despite loading and mounting.
Following initial tests, RHEL 7 PCS fails with several error messages, which are caused by these two problems. I've fixed them and now the resource is working fine. Thanks