Bug 600619 - duplicate name of image file after ESX conversion
duplicate name of image file after ESX conversion
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-v2v (Show other bugs)
5.5
All Linux
low Severity low
: rc
: ---
Assigned To: Matthew Booth
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-05 05:02 EDT by Nan Zhang
Modified: 2010-06-07 04:51 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-06-07 04:51:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nan Zhang 2010-06-05 05:02:34 EDT
Description of problem:
# virsh list --all
 Id Name                 State
----------------------------------
  - ESX3.5-RHEL3.9-i386  shut off
  - ESX3.5-RHEL3.9-x86_64-new shut off
  - ESX3.5-RHEL4.8-i386  shut off
  - ESX3.5-RHEL4.8-x86_64 shut off
  - ESX3.5-RHEL5.4-i386  shut off
  - ESX3.5-RHEL5.4-x86_64 shut off
  - ESX3.5-RHEL5.5-i386  shut off
  - ESX3.5-RHEL5.5-x86_64 shut off

# ll /v2v/
total 104960152
-rw------- 1 root root 10737418240 Jun  4 17:10 ESX3.5-RHEL3.9-x86_64-new_ESX3.5-RHEL3.9-x86_64-new
-rw------- 1 root root 10737418240 Jun  4 13:22 ESX35-RHEL3U9-i386_ESX35-RHEL3U9-i386
-rw------- 1 root root 10737418240 Jun  4 18:09 ESX35-RHEL4U8-i386-smp_ESX35-RHEL4U8-i386-smp
-rw------- 1 root root 10737418240 Jun  4 19:03 ESX35-RHEL4U8-x86_64-smp_ESX35-RHEL4U8-x86_64-smp
-rw------- 1 root root 10737418240 Jun  3 22:05 ESX3.5-RHEL5.5-i386_1_ESX3.5-RHEL5.5-i386_1
-rw------- 1 root root 10737418240 Jun  3 23:00 ESX-3.5-RHEL5.5-X86_64_ESX-3.5-RHEL5.5-X86_64
-rw------- 1 root root 10737418240 Jun  4 20:01 ESX35-RHEL5U4-i386-noxen-smp_ESX35-RHEL5U4-i386-noxen-smp
-rw------- 1 root root 10737418240 Jun  3 21:10 ESX35-RHEL5U4-x86_64-noxen-smp_ESX35-RHEL5U4-x86_64-noxen-smp

Version-Release number of selected component (if applicable):
virt-v2v-0.6.0-3.el5

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:
The name of image file is ESX-3.5-RHEL5.5-X86_64_ESX-3.5-RHEL5.5-X86_64

Expected results:
The name of image file should be ESX-3.5-RHEL5.5-X86_64

Additional info:
Regression issue.
Comment 1 Matthew Booth 2010-06-07 04:51:56 EDT
The naming convention is weird, but it's an artifact of how ESX names volumes. The proposed naming scheme wouldn't work, for example, if the guest had 2 volumes. It also doesn't take into account that volumes can be created and named explicitly, meaning that 2 volumes from different guests can have the same name. These need to be able to co-exist when flattened.

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