[SRU] Clustered VGs require monitoring to be turned on

Bug #988984 reported by Ante Karamatić
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
resource-agents (Ubuntu)
Fix Released
Undecided
Ante Karamatić
Precise
Won't Fix
Undecided
Ante Karamatić

Bug Description

[Impact]
This bug impacts all clusters with clustered LVM in 12.04. By default, Ubuntu ships LVM with monitoring disabled (even when it's enabled in lvm.conf). Cause of that, clustered VGs can not be activated. This patch makes sure VG is activated with monitoring enabled.

[Development Fix]
There is no fix in development branch, since it doesn't exist yet. OTOH, this is fixed upstream.

[Stable Fix]
Patch represents two upstream commits that address this issue. These changes are minimal and all done within LVM RA, which is a shell script.

[Test Case]
Test case requires setting up pacemaker cluster and clvm service on top of it. This procedure is too complex to be written within the bug report :/ FWIW, I've tested the patch multiple times.

[Regression Potential]
Patch affects only LVM RA, meaning that it can not produce side effects on any other service. Regression potential regarding LVM within the cluster is minimal, since activating LVM doesn't work at all now.

Revision history for this message
Ante Karamatić (ivoks) wrote :
Changed in resource-agents (Ubuntu):
assignee: nobody → Ante Karamatić (ivoks)
Revision history for this message
Colin Watson (cjwatson) wrote :

Looks good, thanks. I'll apply this to quantal first as 1:3.9.2-5ubuntu5.

Changed in resource-agents (Ubuntu Precise):
assignee: nobody → Ante Karamatić (ivoks)
Revision history for this message
Colin Watson (cjwatson) wrote :

Uploaded to quantal and precise-proposed. Unsubscribing ubuntu-sponsors since it may take a little while before this is SRU-approved but it doesn't need to wait on the sponsorship queue any more.

Changed in resource-agents (Ubuntu Precise):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package resource-agents - 1:3.9.2-5ubuntu5

---------------
resource-agents (1:3.9.2-5ubuntu5) quantal; urgency=low

  * debian/patches/vgchange-monitor.patch:
    - apply two upstream commits:
      + 02c72cf9
      + 9dd12940
    - activating clustered VGs requires enabled monitoring
    - (LP: #988984)
 -- Ante Karamatic <email address hidden> Thu, 26 Apr 2012 09:06:57 +0200

Changed in resource-agents (Ubuntu):
status: New → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

Oh, sigh, this clashes with an existing SRU in precise-proposed. Could you please:

 1) apply the patch currently in precise-proposed to quantal, since it will now not be possible to copy it up automatically
 2) provide a rebased version of this patch against 1:3.9.2-5ubuntu4.1
 3) make it clearer in future when there are multiple things potentially in flight ...

Revision history for this message
Bart Verwilst (verwilst) wrote :

Any update on this?

Revision history for this message
Ante Karamatić (ivoks) wrote :

Since the version in quantal now contains both fixes, here's an updated version of the patch. This fixes issues 1) and 2) from comment 5. As for 3), I'll try better next time.

I'll work on a test case if no one is able to validate the fix (once it's in -proposed).

Revision history for this message
Bart Verwilst (verwilst) wrote :

Anyone cares to backport this to Precise?

Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in resource-agents (Ubuntu Precise):
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.