Bug 811872 - inspection fails on ubuntu 10.04 guest with encrypted swap
inspection fails on ubuntu 10.04 guest with encrypted swap
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
Unspecified Unspecified
high Severity medium
: ---
: ---
Assigned To: Richard W.M. Jones
Depends On:
  Show dependency treegraph
Reported: 2012-04-12 04:02 EDT by Mike Cao
Modified: 2012-04-13 14:28 EDT (History)
6 users (show)

See Also:
Fixed In Version: libguestfs-1.16.18-2.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-04-12 05:28:02 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mike Cao 2012-04-12 04:02:30 EDT
Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.virt-inspector -a /home/mike/image/ubuntu-10.04-amd64.qcow2   >> a.txt

Actual results:
it prompts libguestfs: error: lvm_canonical_lv_name: lvm_canonical_lv_name_stub: /dev/mapper/cryptswap1: No such file or directory

Expected results:
no error should prompts

Additional info:
1.Tried w/ ubuntu 10.04-32 bit guest ,did not hit this issue 
2.cat /etc/fstab 
# /etc/fstab: static file system information.
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/vda1 during installation
UUID=336fbf44-8f80-4826-9234-5247e3848f31 /               ext4    errors=remount-ro 0       1
# swap was on /dev/vda5 during installation
#UUID=f0b68c8d-0dc5-40b3-a3a5-959ef22cf4d0 none            swap    sw              0       0
/dev/mapper/cryptswap1 none swap sw 0 0

><fs> vfs-type /dev/vda2 

><fs> vfs-type /dev/vda5
Comment 2 Richard W.M. Jones 2012-04-12 05:28:02 EDT
Fixed upstream.  The fix will appear
in 1.17.29 / 1.16.18.

Note You need to log in before you can comment on or make changes to this bug.