Bug 1652795
Summary: | RHVH 4.3: There are warnings when running lvm commands | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | cshao <cshao> | ||||
Component: | imgbased | Assignee: | Yuval Turgeman <yturgema> | ||||
Status: | CLOSED ERRATA | QA Contact: | cshao <cshao> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.3.0 | CC: | cshao, dfediuck, huzhao, mtessun, qiyuan, rdlugyhe, sbonazzo, weiwang, yaniwang, ycui, yturgema | ||||
Target Milestone: | ovirt-4.3.1 | Keywords: | Regression | ||||
Target Release: | 4.3.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | imgbased-1.1.4 | Doc Type: | Bug Fix | ||||
Doc Text: |
Previously, even if lvmetad was disabled in the configuration, the lvmetad service left a pid file hanging. As a result, entering lvm commands displayed warnings.
The current release masks the lvmetad service during build so it never starts and lvm commands do not show warnings.
|
Story Points: | --- | ||||
Clone Of: | 1431158 | Environment: | |||||
Last Closed: | 2019-05-08 12:32:19 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1431158 | ||||||
Bug Blocks: | 1653669 | ||||||
Attachments: |
|
Description
cshao
2018-11-23 03:59:32 UTC
Created attachment 1508178 [details]
all log
This can be worked around by pointing LVM_LVMETAD_PIDFILE to some non-exsting path [root@node-iso-9979 ~]# lvs > /dev/null WARNING: Not using lvmetad because config setting use_lvmetad=0. WARNING: To avoid corruption, rescan devices to make changes visible (pvscan --cache). [root@node-iso-9979 ~]# LVM_LVMETAD_PIDFILE=/path/to/non-existing/file lvs > /dev/null [root@node-iso-9979 ~]# Test version: redhat-virtualization-host-4.3-20190221.0.el7_6 imgbased-1.1.4-0.1.el7ev.noarch Test Steps: 1. Install RHVH. 2. Log into RHVH, and run lvm commands, such as lvs, pvs, vgs. 3. Check lvm2-lvmetad.service status using "systemctl status lvm2-lvmetad.service" cmd. Test Results: 1. After step2, there is no Warning message. 2. After step3, lvm2-lvmetad.service status is: # systemctl status lvm2-lvmetad ● lvm2-lvmetad.service Loaded: masked (/dev/null; bad) Active: inactive (dead) Warning: lvm2-lvmetad.service changed on disk. Run 'systemctl daemon-reload' to reload units. Conclusion: There is no warning message when running lvm commands, this bug is fixed, change bug status to VERIFIED. 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:1053 |