Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1085054

Summary: virt-v2v failed to migrate VM from VMware to RHEV
Product: Red Hat Enterprise Linux 6 Reporter: Ulhas Surse <usurse>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED DEFERRED QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: dyuan, mzhan, rbalakri, rjones, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-18 11:25:04 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: 1075802    
Attachments:
Description Flags
log file none

Description Ulhas Surse 2014-04-07 16:59:34 UTC
Description of problem:

While converting VM from with virt-v2v from VMware to RHEV is getting error for filesystem type. The partition is mounted:

-------------
[root@node1 ~]# showmount -e localhost | grep ISO
/export/ISO          0.0.0.0/0.0.0.0

[root@node1 ~]# virt-v2v -ic esx://172.16.169.21/?no_verify=1 -o rhev -os /var/lib/exports/iso -bridge=virtbr0 RedmineTechBKFeb2014
virt-v2v: Failed to mount /var/lib/exports/iso. Command exited with status 32. Output was: mount: you must specify the filesystem type
-------------


Version-Release number of selected component (if applicable):
virt-v2v-0.8.9-2.el6.x86_64                Mon 14 Oct 2013 11:58:13 AM CEST

Errors in debug:

--------------
mount: you must specify the filesystem type
guestfsd: error: /dev/sda on / (options: 'ro'): mount: you must specify the filesystem type  <<=====
libguestfs: recv_from_daemon: 124 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 01 | 00 12 34 04 | ...
libguestfs: trace: mount_ro = -1 (error)

guestfsd: error: winnt: no file or directory found with this name
libguestfs: recv_from_daemon: 96 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 13 | ...
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/win32" <<============
libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 00 | ...
guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.01 seconds
guestfsd: main_loop: new request, len 0x34
libguestfs: recv_from_daemon: 52 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 14 | ...
libguestfs: trace: case_sensitive_path = "/win32"
libguestfs: trace: case_sensitive_path "/win32/system32"
libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 00 | ...
guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.00 seconds
guestfsd: main_loop: new request, len 0x3c
guestfsd: error: win32: no file or directory found with this name
libguestfs: recv_from_daemon: 96 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 15 | ...
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/win"
libguestfs: send_to_daemon: 52 bytes: 00 00 00 30 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 00 | ...
guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.00 seconds
guestfsd: main_loop: new request, len 0x30
libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 16 | ...
libguestfs: trace: case_sensitive_path = "/win"
libguestfs: trace: case_sensitive_path "/win/system32"
libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 00 | ...
guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.00 seconds
guestfsd: main_loop: new request, len 0x3c
guestfsd: error: win: no file or directory found with this name
libguestfs: recv_from_daemon: 96 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 17 | ...
libguestfs: trace: case_sensitive_path = NULL (error)


mount -o ro /dev/sda2 /sysroot/
mount: unknown filesystem type 'LVM2_member'
guestfsd: error: /dev/sda2 on / (options: 'ro'): mount: unknown filesystem type 'LVM2_member'
libguestfs: recv_from_daemon: 124 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 01 | 00 12 34 2f | ...
libguestfs: trace: mount_ro = -1 (error)
-----------------


Additional info:
bugzilla seems similar to this issue:
https://bugzilla.redhat.com/show_bug.cgi?id=986473

attaching debug logs.

Comment 1 Ulhas Surse 2014-04-07 17:00:13 UTC
Created attachment 883701 [details]
log file

Comment 5 Richard W.M. Jones 2014-11-18 11:25:04 UTC
Virt-v2v needs to run on the latest Red Hat Enterprise Linux release
to ensure it can correctly read and modify new guest filesystem
features.  A new version of virt-v2v is now available for RHEL 7.1.

Before RHEL 7.1 is released, follow the instructions here to
install unsupported preview packages on top of RHEL 7.0:
https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html

After RHEL 7.1 is released, virt-v2v will be available in
Technical Preview.

You can run virt-v2v in a single virtual machine.  Other
requirements are covered here:
http://libguestfs.org/virt-v2v.1.html#resource-requirements

If you find a missing feature or bug in the new version of virt-v2v
please file a bug using the following link:
https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%207&component=libguestfs