Bug 1747585
| Summary: | vgextend segfaults if attempting to extend using device that was previous removed and volumes were deleted | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | David Teigland <teigland> |
| lvm2 sub component: | Command-line tools | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | agk, heinzm, jbrassow, mcsontos, msnitzer, prajnoha, rhandlin, thornber, zkabelac |
| Version: | 8.1 | Flags: | pm-rhel:
mirror+
|
| Target Milestone: | rc | ||
| Target Release: | 8.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.03.07-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-28 16:58:57 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
Corey Marthaler
2019-08-30 22:04:12 UTC
It seems pretty likely that it's failing at the spot fixed here, pushed to master: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=98d420200e16b450b6b7e33b83bdf36a59196d6d Fix verified in the latest rpms. # BROKEN VERSION: kernel-4.18.0-167.el8 BUILT: Sat Dec 14 19:43:52 CST 2019 lvm2-2.03.05-4.el8 BUILT: Sun Aug 18 11:44:11 CDT 2019 lvm2-libs-2.03.05-4.el8 BUILT: Sun Aug 18 11:44:11 CDT 2019 device-mapper-1.02.163-4.el8 BUILT: Sun Aug 18 11:44:11 CDT 2019 device-mapper-libs-1.02.163-4.el8 BUILT: Sun Aug 18 11:44:11 CDT 2019 device-mapper-event-1.02.163-4.el8 BUILT: Sun Aug 18 11:44:11 CDT 2019 device-mapper-event-libs-1.02.163-4.el8 BUILT: Sun Aug 18 11:44:11 CDT 2019 [root@hayes-02 ~]# lvs -a -o +devices WARNING: Couldn't find device with uuid UBl1Gx-FtWs-tLHz-pTh3-fKIu-kGtw-GN8adg. WARNING: VG raid_sanity is missing PV UBl1Gx-FtWs-tLHz-pTh3-fKIu-kGtw-GN8adg. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rimage_1 while checking used and assumed devices. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rmeta_1 while checking used and assumed devices. LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices removemissing raid_sanity Rwi-aor-p- 300.00m 100.00 removemissing_rimage_0(0),removemissing_rimage_1(0) [removemissing_rimage_0] raid_sanity vwi-aor-r- 300.00m [removemissing_rimage_1] raid_sanity iwi-aor-p- 300.00m [unknown](1) [removemissing_rmeta_0] raid_sanity ewi-aor-r- 4.00m [removemissing_rmeta_1] raid_sanity ewi-aor-p- 4.00m [unknown](0) [root@hayes-02 ~]# pvscan WARNING: Couldn't find device with uuid UBl1Gx-FtWs-tLHz-pTh3-fKIu-kGtw-GN8adg. WARNING: VG raid_sanity is missing PV UBl1Gx-FtWs-tLHz-pTh3-fKIu-kGtw-GN8adg. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rimage_1 while checking used and assumed devices. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rmeta_1 while checking used and assumed devices. PV [unknown] VG raid_sanity lvm2 [446.62 GiB / 446.32 GiB free] PV /dev/sdn1 VG raid_sanity lvm2 [446.62 GiB / 446.62 GiB free] PV /dev/sdp1 VG raid_sanity lvm2 [446.62 GiB / 446.62 GiB free] PV /dev/sdl1 VG raid_sanity lvm2 [446.62 GiB / 446.62 GiB free] PV /dev/sdi1 VG raid_sanity lvm2 [<1.82 TiB / <1.82 TiB free] PV /dev/sdh1 VG raid_sanity lvm2 [<1.82 TiB / <1.82 TiB free] PV /dev/sde1 VG raid_sanity lvm2 [<1.82 TiB / <1.82 TiB free] PV /dev/sdd1 VG raid_sanity lvm2 [<1.82 TiB / <1.82 TiB free] PV /dev/sdg1 VG raid_sanity lvm2 [<1.82 TiB / <1.82 TiB free] PV /dev/sdo1 lvm2 [446.62 GiB] Total: 10 [11.27 TiB] / in use: 9 [<10.84 TiB] / in no VG: 1 [446.62 GiB] [root@hayes-02 ~]# vgextend raid_sanity /dev/sdk1 WARNING: Couldn't find device with uuid UBl1Gx-FtWs-tLHz-pTh3-fKIu-kGtw-GN8adg. WARNING: VG raid_sanity is missing PV UBl1Gx-FtWs-tLHz-pTh3-fKIu-kGtw-GN8adg. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rimage_1 while checking used and assumed devices. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rmeta_1 while checking used and assumed devices. Physical volume "/dev/sdk1" successfully created. WARNING: Couldn't find device with uuid UBl1Gx-FtWs-tLHz-pTh3-fKIu-kGtw-GN8adg. WARNING: VG raid_sanity is missing PV UBl1Gx-FtWs-tLHz-pTh3-fKIu-kGtw-GN8adg. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rimage_1 while checking used and assumed devices. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rmeta_1 while checking used and assumed devices. WARNING: Couldn't find device with uuid UBl1Gx-FtWs-tLHz-pTh3-fKIu-kGtw-GN8adg. Segmentation fault (core dumped) # FIXED VERSION: kernel-4.18.0-167.el8 BUILT: Sat Dec 14 19:43:52 CST 2019 lvm2-2.03.07-1.el8 BUILT: Mon Dec 2 00:09:32 CST 2019 lvm2-libs-2.03.07-1.el8 BUILT: Mon Dec 2 00:09:32 CST 2019 device-mapper-1.02.167-1.el8 BUILT: Mon Dec 2 00:09:32 CST 2019 device-mapper-libs-1.02.167-1.el8 BUILT: Mon Dec 2 00:09:32 CST 2019 device-mapper-event-1.02.167-1.el8 BUILT: Mon Dec 2 00:09:32 CST 2019 device-mapper-event-libs-1.02.167-1.el8 BUILT: Mon Dec 2 00:09:32 CST 2019 [root@hayes-02 ~]# lvs -a -o +devices WARNING: Couldn't find device with uuid IIjf77-AWgE-X6GJ-JCrt-yF9W-hcjP-mx8vQg. WARNING: VG raid_sanity is missing PV IIjf77-AWgE-X6GJ-JCrt-yF9W-hcjP-mx8vQg (last written to [unknown]). WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rimage_1 while checking used and assumed devices. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rmeta_1 while checking used and assumed devices. LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices removemissing raid_sanity Rwi-aor-p- 300.00m 100.00 removemissing_rimage_0(0),removemissing_rimage_1(0) [removemissing_rimage_0] raid_sanity vwi-aor-r- 300.00m [removemissing_rimage_1] raid_sanity iwi-aor-p- 300.00m [unknown](1) [removemissing_rmeta_0] raid_sanity ewi-aor-r- 4.00m [removemissing_rmeta_1] raid_sanity ewi-aor-p- 4.00m [unknown](0) [root@hayes-02 ~]# pvscan WARNING: Couldn't find device with uuid IIjf77-AWgE-X6GJ-JCrt-yF9W-hcjP-mx8vQg. WARNING: VG raid_sanity is missing PV IIjf77-AWgE-X6GJ-JCrt-yF9W-hcjP-mx8vQg (last written to [unknown]). WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rimage_1 while checking used and assumed devices. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rmeta_1 while checking used and assumed devices. PV [unknown] VG raid_sanity lvm2 [<1.82 TiB / <1.82 TiB free] PV /dev/sdm1 VG raid_sanity lvm2 [446.62 GiB / 446.62 GiB free] PV /dev/sdo1 VG raid_sanity lvm2 [446.62 GiB / 446.62 GiB free] PV /dev/sdc1 VG raid_sanity lvm2 [<1.82 TiB / <1.82 TiB free] PV /dev/sdn1 VG raid_sanity lvm2 [446.62 GiB / 446.62 GiB free] PV /dev/sde1 VG raid_sanity lvm2 [<1.82 TiB / <1.82 TiB free] PV /dev/sdp1 VG raid_sanity lvm2 [446.62 GiB / 446.62 GiB free] PV /dev/sdi1 VG raid_sanity lvm2 [<1.82 TiB / <1.82 TiB free] PV /dev/sdl1 VG raid_sanity lvm2 [446.62 GiB / 446.62 GiB free] PV /dev/sdb1 lvm2 [<1.82 TiB] Total: 10 [11.27 TiB] / in use: 9 [<9.46 TiB] / in no VG: 1 [<1.82 TiB] [root@hayes-02 ~]# vgextend raid_sanity /dev/sdk1 WARNING: Couldn't find device with uuid IIjf77-AWgE-X6GJ-JCrt-yF9W-hcjP-mx8vQg. WARNING: VG raid_sanity is missing PV IIjf77-AWgE-X6GJ-JCrt-yF9W-hcjP-mx8vQg (last written to [unknown]). WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rimage_1 while checking used and assumed devices. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rmeta_1 while checking used and assumed devices. Physical volume "/dev/sdk1" successfully created. WARNING: Couldn't find device with uuid IIjf77-AWgE-X6GJ-JCrt-yF9W-hcjP-mx8vQg. WARNING: VG raid_sanity is missing PV IIjf77-AWgE-X6GJ-JCrt-yF9W-hcjP-mx8vQg (last written to [unknown]). WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rimage_1 while checking used and assumed devices. WARNING: Couldn't find all devices for LV raid_sanity/removemissing_rmeta_1 while checking used and assumed devices. WARNING: Couldn't find device with uuid IIjf77-AWgE-X6GJ-JCrt-yF9W-hcjP-mx8vQg. WARNING: Couldn't find device with uuid IIjf77-AWgE-X6GJ-JCrt-yF9W-hcjP-mx8vQg. Volume group "raid_sanity" successfully extended 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/RHEA-2020:1881 |