[Bug 1556451] Re: xenial lvm2-monitor.service fails with lvm raid1 volumes
Launchpad Bug Tracker
1556451 at bugs.launchpad.net
Sat Apr 16 09:43:24 UTC 2016
This bug was fixed in the package lvm2 - 2.02.133-1ubuntu10
---------------
lvm2 (2.02.133-1ubuntu10) xenial; urgency=medium
* Cherry-pick change from lvm2 2.02.133-2 in Debian to move event plugins
back onto the main library patch, which fixes problems with monitoring
failing for snapshots and raid volumes. Closes: #807279, LP: #1556451,
LP: #1561228.
-- Steve Langasek <steve.langasek at ubuntu.com> Sat, 16 Apr 2016
00:06:53 -0700
** Changed in: lvm2 (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1556451
Title:
xenial lvm2-monitor.service fails with lvm raid1 volumes
Status in lvm2 package in Ubuntu:
Fix Released
Bug description:
After installing xenial using the daily ubuntu-server installer,
creating an LVM volume for the root filesystem, I lvconverted it into
a raid1 mirror for redundancy over the pair of SSDs installed (as
separate LVM PVs):
sudo lvconvert -m 1 --type raid1 bonk/bonk1 /dev/sdc1 /dev/sdd1
After a reboot, the lvm2-monitor.service fails. Relevant lines from
journalctl:
$ sudo journalctl | grep -iE '(lvm|dmeventd)'
Mar 12 19:32:48 bonk1 systemd[1]: Listening on LVM2 metadata daemon socket.
Mar 12 19:32:48 bonk1 systemd[1]: Listening on LVM2 poll daemon socket.
Mar 12 19:32:48 bonk1 systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
Mar 12 19:32:49 bonk1 systemd[1]: Started LVM2 metadata daemon.
Mar 12 19:32:52 bonk1 dmeventd[1039]: dmeventd libdevmapper-event-lvm2raid.so dlopen failed: libdevmapper-event-lvm2raid.so: cannot open shared object file: No such file or directory.
Mar 12 19:32:52 bonk1 dmeventd[1039]: dmeventd libdevmapper-event-lvm2raid.so dlopen failed: libdevmapper-event-lvm2raid.so: cannot open shared object file: No such file or directory.
Mar 12 19:32:52 bonk1 dmeventd[1039]: dmeventd libdevmapper-event-lvm2raid.so dlopen failed: libdevmapper-event-lvm2raid.so: cannot open shared object file: No such file or directory.
Mar 12 19:32:59 bonk1 lvm[556]: Monitoring bonk/bonk1 failed.
Mar 12 19:32:59 bonk1 lvm[556]: 4 logical volume(s) in volume group "bonk" monitored
Mar 12 19:32:59 bonk1 systemd[1]: lvm2-monitor.service: Main process exited, code=exited, status=5/NOTINSTALLED
Mar 12 19:32:59 bonk1 systemd[1]: Failed to start Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
Mar 12 19:32:59 bonk1 systemd[1]: lvm2-monitor.service: Unit entered failed state.
Mar 12 19:32:59 bonk1 systemd[1]: lvm2-monitor.service: Failed with result 'exit-code'.
Mar 12 19:33:00 bonk1 dmeventd[1039]: dmeventd libdevmapper-event-lvm2raid.so dlopen failed: libdevmapper-event-lvm2raid.so: cannot open shared object file: No
such file or directory.
Mar 12 19:33:08 bonk1 systemd-udevd[662]: Process 'watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -a y'' failed with exit code 5.
Mar 12 19:33:08 bonk1 dmeventd[1039]: dmeventd libdevmapper-event-lvm2raid.so dlopen failed: libdevmapper-event-lvm2raid.so: cannot open shared object file: No such file or directory.
Mar 12 19:33:16 bonk1 systemd-udevd[655]: Process 'watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -a y'' failed with exit code 5.
The .so file is present and installed as part of dmeventd:
$ dpkg -S libdevmapper-event-lvm2raid.so
dmeventd: /lib/x86_64-linux-gnu/device-mapper/libdevmapper-event-lvm2raid.so
This may be related to Debian's lvm2 2.02.133-2 change:
* Drop event plugin directory move. This moves the plugins back into
the main library path. (closes: #807279)
See:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807279
---
$ apt-cache policy lvm2 dmeventd
lvm2:
Installed: 2.02.133-1ubuntu7
Candidate: 2.02.133-1ubuntu7
Version table:
*** 2.02.133-1ubuntu7 500
500 http://fi.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
dmeventd:
Installed: 2:1.02.110-1ubuntu7
Candidate: 2:1.02.110-1ubuntu7
Version table:
*** 2:1.02.110-1ubuntu7 500
500 http://fi.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1556451/+subscriptions
More information about the foundations-bugs
mailing list