Bug 1930996
| Summary: | [Regression] lvcreate fails to wipe signatures again | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | YongkuiGuo <yoguo> | |
| Component: | libguestfs | Assignee: | Virtualization Maintenance <virt-maint> | |
| Status: | CLOSED ERRATA | QA Contact: | YongkuiGuo <yoguo> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.4 | CC: | pasik, rjones, virt-maint | |
| Target Milestone: | rc | Keywords: | Triaged | |
| Target Release: | 8.4 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | libguestfs-1.44.0-2.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1933640 (view as bug list) | Environment: | ||
| Last Closed: | 2021-05-25 06:47:27 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1933640 | |||
|
Description
YongkuiGuo
2021-02-20 02:42:18 UTC
Here is the one-line reproducer: $ guestfish -N lvfs vgremove VG : vgcreate VG /dev/sda1 : lvcreate LV2 VG 100 libguestfs: error: lvcreate: WARNING: ext2 signature detected on /dev/VG/LV2 at offset 1080. Wipe it? [y/n]: [n] Aborted wiping of ext2. 1 existing signature left on the device. Failed to wipe signatures on logical volume VG/LV2. Aborting. Failed to wipe start of new LV. Adding -vx options shows what command is actually run: commandrvf: lvm lvcreate -L 100 -n LV2 VG We don't use the --yes option, and perhaps we should. There is bug https://bugzilla.redhat.com/show_bug.cgi?id=1894692 which is a new regression against RHEL 8.4. But it seems that LVM has not really been fixed again, since QA is now always using the --yes option. Upstream fix: https://github.com/libguestfs/libguestfs/commit/21cd97732c4973db835b8b6540c8ad582ebd2bda Verified with package: libguestfs-1.44.0-2.module+el8.4.0+10146+75917d2f.x86_64 Steps: 1. On rhel8.4 host $ guestfish -N lvfs vgremove VG : vgcreate VG /dev/sda1 : lvcreate LV2 VG 100 No error like "error: lvcreate: WARNING: ext2 signature detected on /dev/VG/LV2 at offset 1080. Wipe it? [y/n]: [n]" 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 (virt:av bug fix and enhancement update), 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-2021:2098 |