← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

In 2013, resource-agents upstream changed their code:

https://github.com/ClusterLabs/resource-
agents/commit/8a0e21b4f25efd83b962bfe7195a80e608e708fd

and then all of that code was then removed in upstream as being for
SLES10 only... https://github.com/ClusterLabs/resource-
agents/commit/a753a0fdfad2e439ad80d2c962ce1bce452f27a5

such that the patch in $description should not be necessary and does not
appear to be apply to the code in 16.04.

@beat-c can you provide the output of `apt policy resource-agents` which
is what actually provides the file in question in this bug? I do not
understand

I agree that the upstream fix available in 16.04 might be worth
backporting to 14.04 since that is before the code was removed (it
seems). I would prefer we used that patch rather than the one in
$description, functionally-equivalent but a backport rather than a
diversion from upstream.

** Changed in: resource-agents (Ubuntu)
       Status: New => Triaged

** Also affects: ocfs2-tools (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: resource-agents (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: ocfs2-tools (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: resource-agents (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** No longer affects: ocfs2-tools (Ubuntu Trusty)

** No longer affects: ocfs2-tools (Ubuntu Xenial)

** Changed in: ocfs2-tools (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: resource-agents (Ubuntu Trusty)
       Status: New => Triaged

** Changed in: resource-agents (Ubuntu Xenial)
       Status: New => Incomplete

** Changed in: resource-agents (Ubuntu)
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1412548

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

Status in ocfs2-tools package in Ubuntu:
  Invalid
Status in resource-agents package in Ubuntu:
  Invalid
Status in resource-agents source package in Trusty:
  Triaged
Status in resource-agents source package in Xenial:
  Incomplete

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