Bug 711744 - virt-v2v can not convert guest which disk use the block device
Summary: virt-v2v can not convert guest which disk use the block device
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-v2v
Version: 5.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Matthew Booth
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-08 10:37 UTC by Huang Wenlong
Modified: 2013-10-20 21:44 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-07 10:15:48 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Huang Wenlong 2011-06-08 10:37:33 UTC
Description of problem:

virt-v2v can not convert guest which disk use the block device 


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

virt-v2v-0.7.1-4.el5
libvirt-0.8.2-20.el5
libguestfs-1.2.7-1.el5.15
hivex-1.2.2-1.el5.1
package augeas is not installed
virtio-win-1.0.1-3.52454.el5


How reproducible:
100%

Steps to Reproduce:
1.create a new pool in a usb device 

<pool type='disk'>
  <name>sdb</name>
  <source>
    <device path='/dev/sdb'>
    </device>
    <format type='dos'/>
  </source>
  <target>
    <path>/dev</path>
    <permissions>
      <mode>0700</mode>
      <owner>0</owner>
      <group>0</group>
    </permissions>
  </target>
</pool>

2.create a volume and setup a guest 

3.  convert the guest 
virt-v2v -ic qemu+ssh://10.66.11.181/system -os v2v5 test
root.11.181's password: 
virt-v2v: Failed to create storage volume: libvirt error code: 27, message: XML description for unknown volume format type none is not well formed or invalid
  
Actual results:
error exit

Expected results:
convert successfully 


Additional info:
can not convert to rhevm too :
virt-v2v: RHEV cannot handle volumes of format none

Comment 1 Huang Wenlong 2011-06-08 10:38:55 UTC
There are some perl -d info :

root.11.181's password: 
virt-v2v: Failed to create storage volume: libvirt error code: 27, message: XML description for unknown volume format type none is not well formed or invalid

 at /usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Connection/LibVirtTarget.pm line 154
        Sys::VirtV2V::Connection::LibVirtTarget::create_volume('Sys::VirtV2V::Connection::LibVirtTarget=HASH(0x1667dde0)', 'sdb1', 'none', 3881116160, 0) called at /usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Connection/Source.pm line 223
        Sys::VirtV2V::Connection::Source::copy_storage('Sys::VirtV2V::Connection::LibVirtSource=HASH(0x171081d0)', 'Sys::VirtV2V::Connection::LibVirtTarget=HASH(0x1667dde0)', 'undef', 'undef') called at /usr/bin/virt-v2v line 430

Comment 3 RHEL Program Management 2011-09-07 10:15:48 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


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