Hi,

This is a small patch for Filesystem RA.

When we mount a shared storage without OCF_CHECK_LEVEL parameter,
Filesystem_stop() has possibly to cause an unexpected timeout.

For example;
(1) mount the shared storage without OCF_CHECK_LEVEL
(2) disconnect Fibre Channels
(3) service heartbeat stop

When Filesystem_stop() is called, it tries to remove the STATUSFILE on
the shared storage.
STATUSFILE is only created when OCF_CHECK_LEVEL is set as 20,
RA can not access it and time-out.
https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/Filesystem#L756

In the default (without OCF_CHECK_LEVE), it's enough to try unmount
the file system, isn't it?
https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/Filesystem#L774

Regards,
Junko IKEDA

NTT DATA INTELLILINK CORPORATION

Attachment: Filesystem.patch
Description: Binary data

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to