[Bug 1412548] [NEW] OCF Resource Agent "Filesystem" is still CMAN dependent

tonyw 1412548 at bugs.launchpad.net
Mon Jan 19 19:19:20 UTC 2015


Public bug reported:

The script /usr/lib/ocf/resource.d/heartbeat/Filesystem is used as part
of the pacemaker system to mount disks, especially those on shared
filesystems.

In the version of the script provided with 14.04, when the filesystem is
of type "ocfs2", the script incorrectly checks that the HA_cluster_type
is "cman". However is no longer used with 14.04. The script thus fails
with the error "<your device>: ocfs2 is not compatible with your
environment."

The script should instead have checked to ensure that the
HA_cluster_type is set to "corosync".

The following patch needs to be applied to correct the error:

--- Filesystem	2013-12-16 07:41:25.000000000 +0000
+++ Filesystem.new	2015-01-19 19:01:30.181772112 +0000
@@ -338,7 +338,7 @@ ocfs2_init()
 	# not need this:
 
 	OCFS2_SLES10=""
-	if [ "X$HA_cluster_type" = "Xcman" ]; then
+	if [ "X$HA_cluster_type" = "Xcorosync" ]; then
 	    return
 	elif [ "X$HA_cluster_type" != "Xopenais" ]; then
 		if grep -q "SUSE Linux Enterprise Server 10" /etc/SuSE-release >/dev/null 2>&1 ; then

** Affects: ocfs2-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ocfs2-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1412548

Title:
  OCF Resource Agent "Filesystem" is still CMAN dependent

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1412548/+subscriptions



More information about the Ubuntu-server-bugs mailing list