Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 677870 - [RFE] virt-v2v show the warning info after convert rhel4u8 guest if comment a line of swap in the fstab
[RFE] virt-v2v show the warning info after convert rhel4u8 guest if comment a...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-v2v (Show other bugs)
6.1
Unspecified Unspecified
low Severity low
: rc
: ---
Assigned To: Matthew Booth
Virtualization Bugs
: FutureFeature
Depends On: 672831 732637
Blocks: 696484 711708
  Show dependency treegraph
 
Reported: 2011-02-16 02:02 EST by Huang Wenlong
Modified: 2013-10-20 17:42 EDT (History)
6 users (show)

See Also:
Fixed In Version: virt-v2v-0.8.3-5.el6
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 696484 711708 (view as bug list)
Environment:
Last Closed: 2011-12-06 10:08:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1615 normal SHIPPED_LIVE Low: virt-v2v security and bug fix update 2011-12-05 19:51:05 EST

  None (edit)
Description Huang Wenlong 2011-02-16 02:02:31 EST
Description of problem:
virt-v2v show the warning info after convert rhel4u8 guest if comment a line in the fstab 

Version-Release number of selected component (if applicable):
virt-v2v-0.7.1-3.el6.x86_64

libguestfs-1.7.17-12.el6.x86_64

libguestfs-*-1.7.17-12.el6.x86_64

libvirt-0.8.7-6.el6.x86_64

febootstrap-2.11-6.el6.x86_64

hivex-1.2.4-3.el6.x86_64

libguestfs-winsupport-1.0-5.el6.x86_64

augeas-libs-0.7.2-4.el6.x86_64

virtio-win-1.1.16-1.el6.noarch

How reproducible:
always

Steps to Reproduce:

before conversion make sure that comment the swap line in the fstab 


1.#virt-v2v -ic xen+ssh://10.66.72.123 -op sdb1 -b breth0  rhel4u8-64b-pw-raw-intel
rhel4u8-64b-pw-raw-intel.img: 100% [==============================================================================================================]D 0h04m52s
unknown filesystem #/dev/VolGroup00/LogVol01
virt-v2v: rhel4u8-64b-pw-raw-intel configured with virtio drivers

2.check the guest fstab ,there is no different between before and after conversion.
 
#cat /etc/fstab 
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
#/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

  
Actual results:
unknown filesystem #/dev/VolGroup00/LogVol01


Expected results:
no need to show the warning because this is juest a comments
  

Additional info:
it can be reproduced with the guest rhel6 .
Comment 2 Matthew Booth 2011-02-16 09:54:55 EST
This is pretty minor. I want to minimise churn at the moment, so I'm moving this to 6.2.
Comment 4 Richard W.M. Jones 2011-09-20 10:20:41 EDT
This should be ready for testing.

There is no fix in libguestfs required AFAIK.  It
should just work because virt-v2v was changed to use
the new libguestfs core inspection API (ie. bug 672831).

So to test this, just use the latest libguestfs / virt-v2v
combo from RHEL 6.2.
Comment 6 tingting zheng 2011-09-21 01:20:50 EDT
Verified the bug with the following packages:
virt-v2v-0.8.3-5.el6.x86_64
libvirt-0.9.4-11.el6.x86_64
libguestfs-1.7.17-26.el6.x86_64


Steps:
1.comment the swap line in the fstab file of rhel4u8 guest.

2.Use virt-v2v to convert the guest.
#virt-v2v -ic xen+ssh://10.66.72.123 -os default -b rhevm  rhel4u8-64b-pw-raw-intel
rhel4u8-64b-pw-raw-intel.img: 100% [==============================================================================]D 0h03m46s
virt-v2v: rhel4u8-64b-pw-raw-intel configured with virtio drivers.

3.After conversion,boot the guest and check the fstab file.
#cat /etc/fstab 
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
#/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

There is no warning showed when using virt-v2v,so change the status to VERIFIED.
Comment 7 errata-xmlrpc 2011-12-06 10:08:06 EST
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/RHSA-2011-1615.html

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