Bug 1704165
| Summary: | [RHEL7]lvm2-lvmetad.service always failed to stop | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Frank Liang <xiliang> |
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
| lvm2 sub component: | LVM Metadata / lvmetad | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | agk, cheshi, heinzm, jbrassow, ldoktor, ldu, leiwang, linl, mcsontos, msnitzer, prajnoha, vkuznets, wshi, yanqzhan, yisun, zkabelac |
| Version: | 7.7 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.184-3.el7 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-06 13:10:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Frank Liang
2019-04-29 09:08:04 UTC
Hi What was the version of lvm2 in use ? Are you suggesting that with *SAME* version of lvm2 it works with kernel 3.10.0-990 and it does not work with 3.10.0-1040 ? Hmm I think we have reproduced the issue. It's enough to start with running 'lvmetad' (doing single 'lvs' call after service start is enough) and then there is 'endless' shutdown until systemd sends SIGKILL (-9) It looks the SIGTERM is properly recognized and _shutdown_requested is set to '1' however s.threads->next is NOT NULL - so it looks like thread is still linked in list - but there is no thread ATM - so the update of linked list got broken... To be further explored.... Ok - problem is missing call o _reap() function call in this code path. *** Bug 1703902 has been marked as a duplicate of this bug. *** There is no such issue with lvm2-2.02.184-3.el7.x86_64 installed. I will set this bug to 'VERIFIED' when next RHEL7.7 compose is available. *** Bug 1708037 has been marked as a duplicate of this bug. *** No such issue in RHEL-7.7-20190514.2 build, so set it to 'VERIFIED'. [root@localhost ~]# rpm -qa|grep lvm2 lvm2-2.02.185-1.el7.x86_64 lvm2-libs-2.02.185-1.el7.x86_64 [root@localhost ~]# uname -a Linux localhost.localdomain 3.10.0-1048.el7.x86_64 #1 SMP Sat May 11 16:13:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# reboot Rebooting. [ 248.032213] Restarting system. [root@localhost ~]# *** Bug 1707528 has been marked as a duplicate of this bug. *** 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-2019:2253 |