** Tags added: server-next

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

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

Status in ocfs2-tools package in Ubuntu:
  Confirmed

Bug description:
  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

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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to