Bug 1763795 - "A stop job is running for LVM2 metadata daemon" blocks shutdown/reboot for ~90 seconds
Summary: "A stop job is running for LVM2 metadata daemon" blocks shutdown/reboot for ~...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.7
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Zdenek Kabelac
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-21 15:56 UTC by James Pearson
Modified: 2021-09-03 12:55 UTC (History)
10 users (show)

Fixed In Version: lvm2-2.02.186-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-31 20:04:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1129 0 None None None 2020-03-31 20:05:22 UTC

Description James Pearson 2019-10-21 15:56:36 UTC
Description of problem:

Rebooting a EL7.7 install on a (vmplayer) VM with no LVM devices blocks for ~90 seconds with "A stop job is running for LVM2 metadata daemon"

Version-Release number of selected component (if applicable):

lvm2-2.02.185-2.el7.x86_64
kernel-3.10.0-1062.1.2.el7.x86_64

How reproducible:

Every time

Steps to Reproduce:
1. Install 7.7 on a VM (in this case, not using any LVM devices)
2. Reboot

Actual results:

Shutdown messages stall for 1min 32s with message:

A stop job is running for LVM2 metadata daemon

Expected results:

No wait for LVM2 metadata daemon

Additional info:

Not sure this is because the install has no LVM devices - or for some other reason?

Comment 2 Zdenek Kabelac 2019-10-21 16:04:59 UTC
I'd have guessed  related to this upstream commit:

https://www.redhat.com/archives/lvm-devel/2019-September/msg00106.html

We will need a new build with this patch included.

Comment 3 James Pearson 2019-10-21 16:48:08 UTC
Rebuilding lvm2 with that patch appears to fix the issue for me - thanks

Comment 5 Jonathan Earl Brassow 2019-10-28 14:16:13 UTC
(In reply to Zdenek Kabelac from comment #2)
> I'd have guessed  related to this upstream commit:
> 
> https://www.redhat.com/archives/lvm-devel/2019-September/msg00106.html
> 
> We will need a new build with this patch included.

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=61358d92cbf202dbb483d63a63d5adf0463bb934
Commit:        61358d92cbf202dbb483d63a63d5adf0463bb934
Parent:        5d6bf1efb225b964bfff398277e68345acdac1d0
Author:        Zdenek Kabelac <zkabelac redhat com>
AuthorDate:    Wed Sep 25 17:22:49 2019 +0200
Committer:     Zdenek Kabelac <zkabelac redhat com>
CommitterDate: Mon Sep 30 13:39:44 2019 +0200

Comment 10 errata-xmlrpc 2020-03-31 20:04:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1129


Note You need to log in before you can comment on or make changes to this bug.