| Summary: | metadata_percent and origin status fields are missing in rhel7.3 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
| lvm2 sub component: | Cache Logical Volumes | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | unspecified | CC: | agk, heinzm, jbrassow, lmiksik, msnitzer, prajnoha, zkabelac |
| Version: | 7.3 | Keywords: | Regression |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.165-3.el7 | Doc Type: | No Doc Update |
| Doc Text: |
In between release bug fix
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 04:18:45 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: | |
|
Description
Corey Marthaler
2016-09-07 20:45:48 UTC
Yep - clear lvs output regression. Hotfixed with following patch: https://www.redhat.com/archives/lvm-devel/2016-September/msg00019.html Although we clearly want to resolve this whole code with cleaner rewrite in a future. It appears that metadata_percent is now present in the latest rpms, however the origin is still missing. Is origin coming in the next build, or should this be verified for "metadata_percent" *only* and an additional bug be filed for missing "origin"status.
[root@host-117 ~]# lvs -a -o +devices
LV VG Attr LSize Pool Origin Data% Meta% Cpy%Sync Devices
[lvol0_pmspare] test ewi------- 12.00m /dev/sda1(2051)
origin test Cwi-a-C--- 4.00g [pool] 0.00 8.66 0.00 origin_corig(0)
[origin_corig] test owi-aoC--- 4.00g /dev/sda1(0)
[pool] test Cwi---C--- 4.00g 0.00 8.66 0.00 pool_cdata(0)
[pool_cdata] test Cwi-ao---- 4.00g /dev/sda1(1024)
[pool_cmeta] test ewi-ao---- 12.00m /dev/sda1(2048)
# Still missing
[root@host-117 ~]# lvs -o origin test/origin
Origin
[root@host-117 ~]# lvs -o metadata_percent test/origin
Meta%
8.66
3.10.0-501.el7.x86_64
lvm2-2.02.165-2.el7 BUILT: Wed Sep 14 09:01:43 CDT 2016
lvm2-libs-2.02.165-2.el7 BUILT: Wed Sep 14 09:01:43 CDT 2016
lvm2-cluster-2.02.165-2.el7 BUILT: Wed Sep 14 09:01:43 CDT 2016
device-mapper-1.02.134-2.el7 BUILT: Wed Sep 14 09:01:43 CDT 2016
device-mapper-libs-1.02.134-2.el7 BUILT: Wed Sep 14 09:01:43 CDT 2016
device-mapper-event-1.02.134-2.el7 BUILT: Wed Sep 14 09:01:43 CDT 2016
device-mapper-event-libs-1.02.134-2.el7 BUILT: Wed Sep 14 09:01:43 CDT 2016
Origin fix was missing and previous patchset repaired only metadata%. Reporting of origin has been restored by this upstream patch: https://www.redhat.com/archives/lvm-devel/2016-September/msg00065.html Fix verified in the latest rpms. 3.10.0-501.el7.x86_64 lvm2-2.02.165-3.el7 BUILT: Wed Sep 21 08:26:18 CDT 2016 lvm2-libs-2.02.165-3.el7 BUILT: Wed Sep 21 08:26:18 CDT 2016 lvm2-cluster-2.02.165-3.el7 BUILT: Wed Sep 21 08:26:18 CDT 2016 device-mapper-1.02.134-3.el7 BUILT: Wed Sep 21 08:26:18 CDT 2016 device-mapper-libs-1.02.134-3.el7 BUILT: Wed Sep 21 08:26:18 CDT 2016 device-mapper-event-1.02.134-3.el7 BUILT: Wed Sep 21 08:26:18 CDT 2016 device-mapper-event-libs-1.02.134-3.el7 BUILT: Wed Sep 21 08:26:18 CDT 2016 device-mapper-persistent-data-0.6.3-1.el7 BUILT: Fri Jul 22 05:29:13 CDT 2016 [root@host-119 ~]# lvs -a -o +devices LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices root rhel_host-119 -wi-ao---- 6.20g /dev/vda2(205) swap rhel_host-119 -wi-ao---- 820.00m /dev/vda2(0) [lvol0_pmspare] test ewi------- 12.00m /dev/sda1(2051) origin test Cwi-a-C--- 4.00g [pool] [origin_corig] 0.00 8.66 0.00 origin_corig(0) [origin_corig] test owi-aoC--- 4.00g /dev/sda1(0) [pool] test Cwi---C--- 4.00g 0.00 8.66 0.00 pool_cdata(0) [pool_cdata] test Cwi-ao---- 4.00g /dev/sda1(1024) [pool_cmeta] test ewi-ao---- 12.00m /dev/sda1(2048) [root@host-119 ~]# lvs -o origin test/origin Origin [origin_corig] [root@host-119 ~]# lvs -o metadata_percent test/origin Meta% 8.66 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://rhn.redhat.com/errata/RHBA-2016-1445.html |