Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Pacemaker

Filesystem RA would cause "stop timeout" if it mounts shared storage

 

 

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded


tsukishima.ha at gmail

Apr 19, 2012, 10:23 PM

Post #1 of 1 (230 views)
Permalink
Filesystem RA would cause "stop timeout" if it mounts shared storage

Hi,

I found the following event;

1) Mount shared storage drive using Filesystem RA.
2) Unlink the Fibre Channel, so RA can not access the shared storage for now.
3) RA detects the monitor failure and calls Filesystem_stop().
4) Filesystem_stop() goes into a timeout error.

The current Filesystem RA checks whether there is $STATUSFILE or not
during its stop operation,
https://github.com/ClusterLabs/resource-agents/commit/8b58d11ee68b4b75fc913c00348ee574ea60b24e#L0L649

and it seems that this "if" statement would be locked because RA can
not access the storage, so stop operation produces its timeout.

if [ -f "$STATUSFILE" ]; then

Does the original "if" statement cause any bad behavior?

if [ -n "$OCF_RESKEY_statusfile_prefix" ]; then


Thanks,
Junko IKEDA

NTT DATA INTELLILINK CORPORATION

_______________________________________________
Pacemaker mailing list: Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.