Used a precise canonistack instance with a volume attached.
Configured cman/pacemaker single node instance using
https://wiki.ubuntu.com/ClusterStack/Precise
Verified that clvm clustered vg can be activated when they are clustered and
activation/monitoring=1 and without specifying --monitor y.
This bug was fixed in the package lvm2 - 2.02.66-4ubuntu7.2
---
lvm2 (2.02.66-4ubuntu7.2) precise; urgency=low
* Honour monitoring=1 config option in /etc/lvm/lvm.conf when using
clustered VGs (LP: #833368).
* /etc/init.d/clvm status now exits with code 3, if clvm is not
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm commands fail with activation/monitoring=0 is
** Changed in: lvm2 (Ubuntu Precise)
Status: In Progress = Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm
** Branch linked: lp:ubuntu/precise-proposed/lvm2
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm commands fail with activation/monitoring=0 is
incompatible with
** Description changed:
SRU justification
Impact : clustered lvm requires monitoring to be on which is hardcoded to off
so
it is currently impossible to import clustered LVM volume group even when
changing
the default in /etc/lvm/lvm.conf
- Fix : Revert the hardcoded value and
This package has been uploaded into precise-proposed unapproved queue,
pending acceptance by SRU team.
lvm2 (2.02.66-4ubuntu7.2) precise; urgency=low
* Honour monitoring=1 config option in /etc/lvm/lvm.conf when using
clustered VGs (LP: #833368).
* /etc/init.d/clvm status now exits with
I disagree with the proposed fix in
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/833368/comments/46
Due to the reason behind this patch -
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/833368/comments/11
On the other-hand not many people have clustered vgs setup, and if they
do we
@ louis-bouchard
the changelog entry in your debdiff points to precise instead of
precise-proposed, could you update that ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered
New debdiff with precise-proposed in the changelog
** Patch removed: lvm2_2.02.66-4ubuntu7.2.debdiff
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/833368/+attachment/3463983/+files/lvm2_2.02.66-4ubuntu7.2.debdiff
** Patch added: lvm2_2.02.66-4ubuntu7.2.debdiff
On 14.01.2013 15:28, Dmitrijs Ledkovs wrote::
I did cite my sources, by copy pasting Debian changelog entry as
uploaded into Debian for the lvm2 package.
TBH, I find it surprising that anyone can claim that clvm never worked.
It works at least since 2008 - it's when I started using it on
@xnox
No matter what happens to upstream/upcoming Ubuntu versions, clvm is
part of Precise and supported for its LTS life. This shouldn't impact
this SRU unless I'm mistaken
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
@ Nec
I did cite my sources, by copy pasting Debian changelog entry as uploaded into
Debian for the lvm2 package.
@ louis-bouchard
I know that LTS is not going to change with respect to feature set.
I just wanted to get feedback, if we still want to continue provide clvm in
Ubuntu, despite
As a user of Ubuntu I would like to see it supported. I use it
extensively on physical hosts to support virtual servers. It's also
particularly useful for OCFS2, GFS/GFS2, ceph etc.
Apparently this removal could brick servers using the the cluster
feature as well (debian bug #697676.)
--
You
Indeed, I don't get it !
How is Debian planning to do to propose a clustered use of a filesystem amongst
more than 2 nodes?
As Mark said, the number of broken dependencies is large, I don't understand
this choice.
--
You received this bug notification because you are a member of Ubuntu
Bugs,
Too bad!
I based part of my work on this.
Having to leave debian/ubuntu universe to be forced to return to
redhat/fedora/centos is not the greatest joy of my day...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
@xnox
Anyway, may you cite your sources please ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm commands fail with activation/monitoring=0 is
incompatible with
On Sat, Jan 12, 2013 at 12:03:21AM -, Dmitrijs Ledkovs wrote:
Debian dropped clustered lvm2 support.
* Drop cluster (clvm) support. It never properly worked and is more dead
than alive.
-- Bastian Blank wa...@debian.org Wed, 02 Jan 2013 11:11:41 +0100
Do we still want it in
Debian dropped clustered lvm2 support.
lvm2 (2.02.95-6) unstable; urgency=low
* Drop cluster (clvm) support. It never properly worked and is more dead
than alive.
-- Bastian Blank wa...@debian.org Wed, 02 Jan 2013 11:11:41 +0100
Do we still want it in Ubuntu?
--
You received this
caribou xnox: it's already fixed in Q R
Adjusted statuses.
** Also affects: lvm2 (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: resource-agents (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: lvm2 (Ubuntu Quantal)
Importance:
** Changed in: lvm2 (Ubuntu Precise)
Assignee: (unassigned) = Louis Bouchard (louis-bouchard)
** Changed in: resource-agents (Ubuntu Precise)
Assignee: (unassigned) = Louis Bouchard (louis-bouchard)
** Changed in: lvm2 (Ubuntu Quantal)
Assignee: (unassigned) = Louis Bouchard
** Description changed:
- # lsb_release -rd
- Description:Ubuntu 11.04
- Release:11.04
+ SRU justification
- # apt-cache policy lvm2
- lvm2:
- Installed: 2.02.66-4ubuntu2
- Candidate: 2.02.66-4ubuntu2
- Version table:
- *** 2.02.66-4ubuntu2 0
- 500
debdiff for the proposed fix tested on 12.04 precise
** Patch added: lvm2_2.02.66-4ubuntu7.2.debdiff
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/833368/+attachment/3463983/+files/lvm2_2.02.66-4ubuntu7.2.debdiff
--
You received this bug notification because you are a member of Ubuntu
@robert
You may want to revert your changes if possible to test the fix once it
becomes available in the -proposed pocket.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm
** Branch linked: lp:~louis-
bouchard/ubuntu/precise/lvm2/lvm2-lp833368-precise
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm commands fail with activation/monitoring=0
We are experiencing this bug as well, and are very keen to see a fix.
How is work going on this?
The two work-arounds suggested above, have not succeeded for us;
a) add the 'ppa:ivoks/ha' respoitory and pull the clvm from there.
b) Manually edit /etc./init.d/clvm to add the --monitor y option to
@robert We did not use the ppa but changing all occurrences of vgchange in
the clvm script has been working so far.
Sent from my Google Nexus tablet
On Nov 22, 2012 1:11 PM, Robert McGrath robert.mcgr...@hogarthww.com
wrote:
We are experiencing this bug as well, and are very keen to see a fix.
We have a two node cluster, and the work-around of hacking --monitor
y into /etc/init.d/clvm has failed, but not totally.
The operating system lives on VG0 (not clustered), and that is ok.
There is a single clustered volume group called VGclust0.
In that VG there are only three logical volumes
@robert
That doesn't sound like the same issue. Either no lvs would show or all of
them.
The actual error messages you're seeing if any could be helpful. The output
of pvs -vv, vgs -vv and lvs -vv would be helpful as well.
On Thu, Nov 22, 2012 at 1:35 PM, Robert McGrath
After a clean boot (no hacks or work-arounds applied), this is the output of
crm configure show
node gswhdesv01-nfs2
node ixlhdesv01-nfs1
primitive resCLVMd ocf:lvm2:clvmd \
params daemon_timeout=100 \
op start interval=0 timeout=90s \
op stop interval=0 timeout=100s
On 22.11.2012 15:05, Robert McGrath wrote::
primitive resCLVMd ocf:lvm2:clvmd \
params daemon_timeout=100 \
op start interval=0 timeout=90s \
op stop interval=0 timeout=100s
You aren't using clvmd init.d script. You are using clvmd OCF. Edit
I think we removed that 'incompatible' message upstream earlier this year, so
you might want to look at a more recent upstream version.
Alasdair
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Found several miss-spellings of globally_unique, in the following
files;
/usr/lib/ocf/resource.d/lvm2/clvmd
/usr/lib/ocf/resource.d/pacemaker/controld
/usr/lib/ocf/resource.d/pacemaker/o2cb
Now testing ...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which
Testing the correction of spelling was not a success.
Although Ante thank you for your suggestion about
/usr/lib/ocf/resource.d/lvm2/clvmd
the VG's are not brought online in that, although it did help me to see
/usr/lib/ocf/resource.d/heartbeat/LVM
trying the --monitor y fix to that now.
The hack of /usr/lib/ocf/resource.d/heartbeat/LVM has tested successfully.
The spelling fixes are also still in place, so I don't know if either one was
the magic bullet or if it was both.
Thanks for your assistance Ante
Hope this helps other too.
--
You received this bug notification because
On Thu, Nov 22, 2012 at 05:10:25PM -, Robert McGrath wrote:
The spelling fixes are also still in place,
I notified upstream:
https://github.com/beekhof/pacemaker/commit/932e41e
Alasdair
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
ivoks or xnox, are you still working on this bug?
(I just instrumented toollib.c and it sure seems like, in raring,
monitoring is being correctly set based on lvm.conf, but I probably
don't have things set up right)
--
You received this bug notification because you are a member of Ubuntu
Bugs,
Let's take this last hurdle to have fully working cluster support under
Ubuntu!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm commands fail with activation/monitoring=0
Since this is released in .96, this should probably be released in
Quantal first, as this bug affects all releases, not just 12.04.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
Debian Wheezy has 2.02.95-4, seems like a good starting point for a new
ubuntu package ;)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm commands fail with
2.02.95-4 seems to have the same monitoring-default-off.patch as we can
find in the Ubuntu packages. Does this mean it's an issue for Debian (
wheezy ) as well?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Since this is blocking the deploy of my new Ubuntu 12.04 based
environment, how should i proceed, roll my own deb with the latest lvm2
version, or is there something i can do to help this along? I would
prefer this to be fixed in the official LTS release instead of having to
maintain my own debs
Ok, so what's the plan of action here? Backport the fix?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm commands fail with activation/monitoring=0 is
incompatible with
The reason for the patch originally was to make sure that lvm commands
by default (even without a /etc/lvm/lvm.conf) in
weird/small/udeb/whatever environments do not require that dmeventd be
running.
It seems that the patch introduces or exposes a bug that the conf file
settings aren't always
Assigning to myself the lvm2 task to look into this for triaging. (my
personal TODO list) ;-)
** Changed in: lvm2 (Ubuntu)
Assignee: (unassigned) = Dmitrijs Ledkovs (dmitrij.ledkov)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
This code has since changed upstream.
Start here
http://git.fedorahosted.org/git/?p=lvm2.git;a=commit;h=d81498a824e66acca994807643e9df1e452fd61c
(dependencies on earlier commits I think too)
Alasdair
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
That commit is released in 2.02.96 as far as I can see:
$ git describe --contains d81498a824e66acca994807643e9df1e452fd61c
v2_02_96~375
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
So what is the way forward here? I presume adding --monitor y can't be
added by default? Maybe it could be enabled through /etc/default/clvm?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Which ofcourse still won't fix virt-manager i guess..
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm commands fail with activation/monitoring=0 is
incompatible with
Possible solution or workaround:
Execute vgchange in /etc/init.d/clvm with the option --monitor y.
To change /etc/init.d/clvm do:
mv /etc/init.d/clvm.dist /etc/init.d/clvm
sed 's/vgchange /vgchange --monitor y /g' /etc/init.d/clvm.dist
/etc/init.d/clvm
chmod 755 /etc/init.d/clvm
--
You
ITec, those packages are only for pacemaker/redhat-cluster use of cLVM -
they do not fix standalone cLVM. Standalone cLVM isn't really preferred
way of using clustered LVM. This is why I've marked bug in resource-
agents as 'In Progress', not the one in cLVM.
--
You received this bug
Could you please add 'ppa:ivoks/ha' PPA (packages will be available in
few minutes), upgrade your packages and retest? Thanks!
** Changed in: lvm2 (Ubuntu)
Assignee: (unassigned) = Ante Karamatić (ivoks)
** Also affects: resource-agents (Ubuntu)
Importance: Undecided
Status: New
Note that packages in the PPA are relevant only for pacemaker and
redhat-cluster clusters.
** Changed in: resource-agents (Ubuntu)
Assignee: (unassigned) = Ante Karamatić (ivoks)
** Changed in: lvm2 (Ubuntu)
Assignee: Ante Karamatić (ivoks) = (unassigned)
--
You received this bug
I have got the same problem.
I installed Ante's packages from 'ppa:ivoks/ha', but the problem still
consists.
# lsb_release -rd
Description:Ubuntu 12.04 LTS
Release:12.04
# dpkg -l clvm libdevmapper1.02.1 lvm2
ii clvm 2.02.66-4ubuntu7.1~ppa1
I rebuilt the lvm2 packages from source and removed the monitoring-
default-off.patch. clvm now works as expected. I believe, the patch,
which defines DEFAULT_DMEVENTD_MONITOR -1 is not compatible with the
location where this error occurs: toollib.c in the function
get_activation_monitoring_mode.
Any further news or decisions?
This bug *IS* a bug.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
clustered lvm commands fail with activation/monitoring=0 is
incompatible with
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: lvm2 (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833368
Title:
** Description changed:
- I'm trying to configure a clustered lvm2 using cman and clvm, but clvm
- start up and lvm commands fail with this error:
+ # lsb_release -rd
+ Description:Ubuntu 11.04
+ Release:11.04
+
+ # apt-cache policy lvm2
+ lvm2:
+ Installed: 2.02.66-4ubuntu2
+
58 matches
Mail list logo