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 699355

Summary: [Tech Note]Add the workaround steps when VMs don't belong to any storage pool in KVM kernel
Product: Red Hat Enterprise Linux 6 Reporter: Rita Wu <rwu>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1CC: cshao, cwei, leiwang, mbooth, mkenneth, qguan, rjones, whuang, yupzhang
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 699354 Environment:
Last Closed: 2011-05-30 05:53:38 UTC Type: ---
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: 699354    
Bug Blocks:    

Description Rita Wu 2011-04-25 10:40:51 UTC
Clone it to RHEL6.1 since it can be also reproduced with virt-v2v-0.7.1-4.el6.x86_64+libvirt-0.8.7-6.el6.x86_64+libguestfs-1.7.17-15.el6.x86_64. But this issue can be duplicated if Bug 670414 fixed first.

+++ This bug was initially created as a clone of Bug #699354 +++

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 05:53:38 UTC
Verified with virt-v2v-0.7.1-4.el6.x86_64. 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.8.190 -op default rhel4-32-hvm-min -b breth0
root.8.190'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.