Bug 1100138
| Summary: | some operation cause "lvremove" can not find the object | |||
|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | bfan | |
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | |
| Status: | NEW --- | QA Contact: | Virtualization Bugs <virt-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | unspecified | CC: | leiwang, linl, ptoscano, wshi | |
| Target Milestone: | --- | Keywords: | Reopened | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1100140 (view as bug list) | Environment: | ||
| Last Closed: | 2025-10-17 00:10:10 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: | 1100140, 1288337 | |||
|
Description
bfan
2014-05-22 05:58:40 UTC
I think LVM gets confused temporarily, but it doesn't seem to be "exploitable" in any way. ie. You cannot create a disk image which libguestfs cannot handle. Simpler procedure for displaying the error: $ guestfish -N lv -- -part-disk /dev/sda mbr $ guestfish -a test1.img run : part-disk /dev/sda mbr : lvs : lvremove /dev/VG/LV The second command prints: /dev/VG/LV libguestfs: error: lvremove: lvremove_stub: /dev/VG/LV: No such file or directory I guess we might consider doing a wipefs all operations that create a new partition table. (In reply to Richard W.M. Jones from comment #1) > I guess we might consider doing a wipefs all operations that ^before^ > create a new partition table. Bug still happens (even upstream). Still happens (even upstream). However as this is low priority I'm moving it to RHEL 7.4. We may as well handle this upstream. It's a very contrived test case which would not affect RHEL customers. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. Reopening because Virtualization Tools has not been discontinued. |