Bug 699354 - [Tech Note]Add the workaround steps when VMs don't belong to any storage pool in KVM kernel
Summary: [Tech Note]Add the workaround steps when VMs don't belong to any storage pool...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-v2v
Version: 5.7
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Matthew Booth
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 699355
TreeView+ depends on / blocked
 
Reported: 2011-04-25 10:33 UTC by Rita Wu
Modified: 2013-07-03 01:44 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 699355 (view as bug list)
Environment:
Last Closed: 2011-05-30 06:11:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Rita Wu 2011-04-25 10:33:37 UTC
Description of problem:
There is no workaround step popped-up when converting a VM, which doesn't belong to any storage pool, from *KVM*, although the steps will pop up when converting a VM with the same scenario but from *Xen* (Bug 672498) 

Version-Release number of selected component (if applicable):
virt-v2v-0.7.1-2.el5
libvirt-0.8.2-15.el5_6.3
libguestfs-1.2.7-1.el5.13

How reproducible:
always

Steps to Reproduce:
1.In KVM kernel, setup a VM that doesn't belong to any storage pool 
2. Convert the above VM from KVM to RHEV
# virt-v2v -ic qemu+ssh://10.66.72.122/system  -o rhev -op 10.66.90.115:/vol/v2vrwu1/rwu_export v2v-auto-rhevm-2k8-r2
root.72.122's password: 
virt-v2v: Failed to retrieve storage volume /mnt/sdb/image/Win2008r2-64-hvm.raw:libvirt error code: 47, message: invalid storage volume pointer in no storage vol with matching path

  
Actual results:
as steps mentioned

Expected results:
The workaround steps will pop up when converting a VM from KVM

Additional info:

Comment 1 Rita Wu 2011-05-30 06:11:23 UTC
Verified with virt-v2v-0.7.1-4.el5.There is the popped-up msg when
converting a vm which doesn't belong to a storage pool.


# virt-v2v -ic xen+ssh://10.66.72.123 -os default  rhel4-32-hvm-min -b breth0
root.72.123's password: 
virt-v2v: Failed to retrieve volume information for /var/lib/xen/images/rhel4-32-hvm-min.img. This could be because the volume doesn't exist, or because the volume exists but is not contained in a storage pool.

In the latter case, you must create a storage pool of the correct type to contain the volume. Note that you do not have to re-create or move the volume itself, only define a pool which contains it. libvirt will automatically detect the volume when it scans the pool after creation.

virt-manager is able to create storage pools. Select Edit->Connection Details from the application menu. Storage pools are displayed in the Storage tab.


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