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.
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.