Bug 1343167
Summary: | Failure when disk contains an LV with activationskip=y | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Nat Meo <nat> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | extras-qa, fdeutsch, knappch, mbooth, nat, ptoscano, rjones, virt-maint, xchen |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.32.2-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1306666 | Environment: | |
Last Closed: | 2016-11-03 18:01:18 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: | 1218766 | ||
Bug Blocks: |
Description
Nat Meo
2016-06-06 16:50:04 UTC
This is fixed by the rebase planned for RHEL 7.3 (bug 1218766). Please check the preview packages available below fix the problem for you too: https://people.redhat.com/~rjones/libguestfs-RHEL-7.3-preview/ I can confirm the the packages at the link you sent me work. Thank you! Setting MODIFIED per comment 3. For QA, the simplest reproducer is this one: https://bugzilla.redhat.com/show_bug.cgi?id=1306666#c3 Verified with the packages: libguestfs-1.32.6-1.el7.x86_64 Verify steps: 1. Prepare a RHEL guest image: RHEL-Server-7.2-64-hvm.raw Then resize it to 10G: # truncate -s 10G bigger.img # virt-resize RHEL-Server-7.2-64-hvm.raw bigger.img 2. # virt-rescue bigger.img ><rescue> pvcreate /dev/sda3 ><rescue> vgcreate VG /dev/sda3 ><rescue> lvcreate -L 1G -n LV1 VG ><rescue> lvcreate -L 700M -n LV2 VG ><rescue> lvs /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert LV1 VG -wi-a----- 1.00g LV2 VG -wi-a----- 700.00m root rhel_dhcp-10-28 -wi-a----- 6.67g swap rhel_dhcp-10-28 -wi-a----- 820.00m ><rescue> exit # virt-inspector bigger.img 3. # virt-rescue bigger.img ><rescue> lvchange -k y /dev/VG/LV1 ><rescue> lvs /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert LV1 VG -wi-a----k 1.00g LV2 VG -wi-a----- 700.00m root rhel_dhcp-10-28 -wi-a----- 6.67g swap rhel_dhcp-10-28 -wi-a----- 820.00m ><rescue> exit # virt-inspector bigger.img The two virt-inspector command all finished successfully in step 2 & 3. So 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://rhn.redhat.com/errata/RHSA-2016-2576.html |