Medium: IPaddr2/findif.sh: Do a sanity check only on start and validate-all

monitor should not return OCF_ERR_CONFIGURED on an actual failure
even if a NIC is disappeared otherwise the whole resources stop.
ref:
  https://github.com/ClusterLabs/resource-agents/issues/328
Dev: IPaddr2/findif.sh: Add a test case for a monitor failure
Merge pull request #334 from kskmori/ipaddr2-ifcheck-when-start

 Medium: IPaddr2/findif.sh: Do a sanity check only on start and validate-all
Med: oracledb.sh: Remove quotes around listener name

Remove quotes around the listener name variable in calls to lsnrctl.
The quotes caused the commands to fail when a listener name was not
specified in the cluster configuration.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Merge pull request #341 from ryan-mccabe/master

Med: oracledb.sh: Remove quotes around listener name
Merge pull request #343 from davidvossel/netfs_fixes

Low: fs-lib.sh: Optimize fs-lib.sh based filesystem monitor code
Low: fs-lib.sh: Optimize fs-lib.sh based filesystem monitor code

fs-lib.sh's is_alive function attempts to determine if a filesystem
resource is healthy by writing and reading a file from disk.  The
method used to pick the file name involves a infinite loop where
we try different file names until we get one that doesn't exist.
We don't need to be doing that... Instead we should create a unique
filename based on the resource's instance name and use that for testing.

Resolves: rhbz#1023099
High: fix netfs unmount/self_fence integration

a nfs mount, where the nfs server goes away, can hang literally
forever.

even with soft nfs mount option, some operations such as sync and
umount can hang (depending on an endless matrix of kernel versions).

we recently exposed self_fence for netfs, but that's just too late
in the process. In some cases, with many nfs umount operation
in progress (generally 5 are enough to reproduce), it's possible
that we will never hit self_fence.

we address the problem by checking if the RPC/NFS/MOUNTD (mountd
only for nfs < version 4, that doesn't use mountd) are alive via
rpcinfo calls. In case there are no responses from them, we will
proceed to just self_fence as there is no point to keep
trying.

rpcinfo calls do attempt to contact the server 4 times, once
every 15 seconds, so this code path could theoretically,
if the network or server are only loosing packets, add an
extra 3 minutes to a stop operation.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Merge pull request #344 from davidvossel/netfs_fixes

High: fix netfs unmount/self_fence integration
Medium: Pure-FTPd: Create pid directory if needed
Dev: Pure-FTPd: fix spacing
Merge branch 'master' of github.com:raoulbhatia/resource-agents