This bug was fixed in the package resource-agents -
1:4.1.0~rc1-1ubuntu1.2

---------------
resource-agents (1:4.1.0~rc1-1ubuntu1.2) bionic; urgency=medium

  * d/p/lvm-fix-missing-dash.patch:
    - Missing dash in vgchange_activate_options affecting
    ocf:heartbeat:LVM. (LP: #1839366)

 -- Eric Desrochers <eric.desroch...@canonical.com>  Thu, 08 Aug 2019
13:42:06 +0000

** Changed in: resource-agents (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
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/1839366

Title:
  LVM: fix missing dash

Status in resource-agents package in Ubuntu:
  Fix Released
Status in resource-agents source package in Xenial:
  Invalid
Status in resource-agents source package in Bionic:
  Fix Released

Bug description:
  [Impact]
  lvm-tag.sh line 150 is missing a dash in front of 'aly' flags. This is 
causing lvm resource to fail during start.

  heartbeat/lvm-tag.sh
  vgchange_activate_options="aly --config 
activation{volume_list=[\"@${OUR_TAG}\"]}"

  is missing a - in front of aly. The - can be seen in the deactivate
  line:

  vgchange_deactivate_options="-aln"

  Upstream fix:

  https://github.com/ClusterLabs/resource-agents/pull/1190/files

  Version: 1:4.1.0~rc1-1ubuntu1.1

  [Test Case]

  It's the ocf:heartbeat:LVM resource that fails here (because the flags
  it passes to vgchange to activate the VG are incorrect). It manages an
  Linux Volume Manager volume (LVM) as an HA resource.

  [Potential Regression]

  I don't expect regression, the missing "-" need to be there to
  properly perform the activation. Once the activation will work using
  the "-", it's not impossible that one finds other corner situation due
  to the fact that the activation now working, but IMHO they'll be
  consider bugs, not regression to this SRU.

  [Other Infos]

  * Redhat Bug:
  https://bugzilla.redhat.com/show_bug.cgi?id=1612828

  * Upstream fix:
  
https://github.com/ClusterLabs/resource-agents/commit/5a664525a20d3d5094912322be4faac668e4920e

  $ git describe --contains 5a664525a20d3d5094912322be4faac668e4920e
  v4.2.0rc1~42^2

  $ rmadison resource-agents
   resource-agents | 1:3.9.7-1ubuntu1.1           | xenial-updates # lvm-tag.sh 
doesn't exist yet.
   => resource-agents | 1:4.1.0~rc1-1ubuntu1.1       | bionic-updates
   resource-agents | 1:4.2.0-1ubuntu1.1           | disco-updates
   resource-agents | 1:4.2.0-1ubuntu2             | eoan

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resource-agents/+bug/1839366/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to