Bug 678231
Summary: | virt-inspector reports unknown filesystem UUID | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Rita Wu <rwu> | ||||
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.1 | CC: | cwei, mbooth, mshao, whuang, yupzhang, yuzhang | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | libguestfs-1.7.17-25.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 700342 (view as bug list) | Environment: | |||||
Last Closed: | 2011-12-06 10:42:17 UTC | Type: | --- | ||||
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: | 700342 | ||||||
Attachments: |
|
Description
Rita Wu
2011-02-17 08:38:07 UTC
This is just a warning and the fix is not so trivial. Moving to 6.2. Matt, is this going to be fixed by the rebase of virt-v2v in 6.2? It seems that it will be, if we move to using the core inspection code. Answer is yes, so we should be able to fix this more easily in 6.2. Sorry, I have totally misunderstood this bug (my fault, not the reporter). Although the bug is in Perl inspection code, it affects virt-inspector (old version) not virt-v2v. I will try to look at this tomorrow. Created attachment 517766 [details] fedora.img.xz *** REPRODUCER *** This is a reproducer disk image. Download the attachment and unpack it: $ unxz fedora.img.xz $ md5sum fedora.img 6657b9a3d2eb395e141ebe71969dc865 fedora.img Now run old virt-inspector from RHEL 6.1 on it: $ virt-inspector fedora.img unknown filesystem label SWAP-lv1 unknown filesystem UUID dde7e2c9-a436-4d77-97c2-c8d1224d0457 Error running rpm -qa: command_lines: rpm: No such file or directory at /usr/lib64/perl5/vendor_perl/Sys/Guestfs/Lib.pm line 1022. linux fedora x86_64 14 (Fedora release 14 (Phony)) on /dev/VG/Root: Mountpoints: /dev/VG/Root / /dev/sda1 /boot Filesystems: /dev/VG/Root: label: ROOT UUID: 01234567-0123-0123-0123-012345678902 type: ext2 content: linux-root /dev/sda1: label: BOOT UUID: 01234567-0123-0123-0123-012345678901 type: ext2 content: linux-grub Applications: NOTE: "Error running rpm -qa" is NOT an error. This is because this test image is not a real VM disk image, it's just enough of a disk image to demonstrate this bug. What we are looking at here are the two warnings: unknown filesystem label SWAP-lv1 (bug 666578) unknown filesystem UUID dde7e2c... (this bug) You can also try running new virt-inspector2 on the disk image, which should just produce ordinary XML output with no warnings. This is because virt-inspector2 is the rewritten codebase which doesn't use the old Perl inspection code. The bug only exists in the old Perl inspection code. Upstream fix: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=b9838001015a06a69a08b69d9f013d82f0ea3139 Verify this bug in libguestfs-1.7.17-26.el6.x86_64 and virt-v2v-0.8.3-1.el6.x86_64 # virt-v2v -ic xen+ssh://10.66.72.123 -os r6 -b breth0 rhel4-32-hvm-min rhel4-32-hvm-min.img: 100% [====================================================]D 0h00m52s virt-v2v: rhel4-32-hvm-min configured with virtio drivers. No error message . 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. http://rhn.redhat.com/errata/RHBA-2011-1512.html |