Bug 1316625

Summary: virt-v2v does not copy additional disks to Glance
Product: Red Hat Enterprise Linux 7 Reporter: Marcel Kolaja <mkolaja>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.2CC: dayleparker, ebarrera, fahmed, jherrman, mkalinin, mxie, mzhan, ptoscano, rhodain, rjones, rubick, sherold, tzheng, xiaodwan
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: V2V
Fixed In Version: libguestfs-1.28.1-1.55.el7_2.2 Doc Type: Bug Fix
Doc Text:
With this update, virt-v2v is capable of exporting guests with more than one disk to the OpenStack Glance service, while previously, only guests with a single disk could be exported. This makes it possible for larger virtual deployments to be converted to OpenStack Glance using virt-v2v.
Story Points: ---
Clone Of: 1308769 Environment:
Last Closed: 2016-04-05 16:28:56 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: 1308769    
Bug Blocks:    

Description Marcel Kolaja 2016-03-10 16:04:20 UTC
This bug has been copied from bug #1308769 and has been proposed
to be backported to 7.2 z-stream (EUS).

Comment 7 mxie@redhat.com 2016-03-15 10:19:55 UTC
Verify the bug with below builds:
libvirt-1.2.17-13.el7_2.4.x86_64
kernel-3.10.0-229.29.1.el7
qemu-kvm-1.5.3-105.el7_2.3.x86_64
libguestfs-winsupport-7.2-1.el7.x86_64
virtio-win-1.8.0-4.el7.noarch
virt-v2v-1.28.1-1.55.el7_2.2.x86_64
libguestfs-1.28.1-1.55.el7_2.2.x86_64


Steps:

Scenario1:

1.1 Prepare a multidisks guest which has linux os on ESX5.5
# virsh -c vpx://root.4.103/tzheng-demo/10.66.106.63/?no_verify=1 dumpxml rhel7-juzhou-standard-cdrom-multidisks
Enter root's password for 10.66.4.103: 
<domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
  <name>rhel7-juzhou-standard-cdrom-multidisks</name>
  <uuid>42020474-dcf9-cb65-d255-c3ea0f43a87e</uuid>
  <memory unit='KiB'>2109440</memory>
  <currentMemory unit='KiB'>2109440</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <shares>4000</shares>
  </cputune>
  <os>
    <type arch='x86_64'>hvm</type>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <source file='[esx5.5-tzheng] rhel7-juzhou-standard-cdrom-multidisks/rhel7-juzhou-standard-cdrom-multidisks.vmdk'/>
      <target dev='sda' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='disk'>
      <source file='[esx5.5-tzheng] rhel7-juzhou-standard-cdrom-multidisks/rhel7-juzhou-standard-cdrom-multidisks_1.vmdk'/>
      <target dev='sdb' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <disk type='file' device='disk'>
      <source file='[esx5.5-tzheng] rhel7-juzhou-standard-cdrom-multidisks/rhel7-juzhou-standard-cdrom-multidisks_2.vmdk'/>
      <target dev='sdc' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <source file='[esx5.5-tzheng] rhel7-juzhou-standard-cdrom-multidisks/rhel7-juzhou-standard-cdrom-multidisks_3.vmdk'/>
      <target dev='sdd' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='cdrom'>
      <source file='[windows-iso] en_windows_7_ultimate_x86_dvd_x15-65921.iso'/>
      <target dev='hdc' bus='ide'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <controller type='scsi' index='0' model='lsilogic'/>
    <controller type='ide' index='0'/>
    <interface type='bridge'>
      <mac address='00:50:56:82:a9:18'/>
      <source bridge='VM Network'/>
      <model type='e1000'/>
    </interface>
    <video>
      <model type='vmvga' vram='4096'/>
    </video>
  </devices>
  <vmware:datacenterpath>tzheng-demo</vmware:datacenterpath>
</domain>

1.2.Using virt-v2v to convert the guest to glance
# virt-v2v -ic vpx://root.4.103/tzheng-demo/10.66.106.63/?no_verify=1 rhel7-juzhou-standard-cdrom-multidisks -o glance --password-file /var/passwd
[   0.0] Opening the source -i libvirt -ic vpx://root.4.103/tzheng-demo/10.66.106.63/?no_verify=1 rhel7-juzhou-standard-cdrom-multidisks
[   1.0] Creating an overlay to protect the source from being modified
[   4.0] Opening the overlay
[  20.0] Initializing the target -o glance
[  23.0] Inspecting the overlay
[  99.0] Checking for sufficient free disk space in the guest
[  99.0] Estimating space required on target for each disk
[  99.0] Converting Red Hat Enterprise Linux Server release 7.0 (Maipo) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 621.0] Mapping filesystem data to avoid copying unused and blank areas
[ 623.0] Closing the overlay
[ 623.0] Checking if the guest needs BIOS or UEFI to boot
[ 623.0] Copying disk 1/4 to /var/tmp/glance.lEx5i5/sda (raw)
    (100.00/100%)
[1081.0] Copying disk 2/4 to /var/tmp/glance.lEx5i5/sdb (raw)
    (100.00/100%)
[1504.0] Copying disk 3/4 to /var/tmp/glance.lEx5i5/sdc (raw)
    (100.00/100%)
[1976.0] Copying disk 4/4 to /var/tmp/glance.lEx5i5/sdd (raw)
    (100.00/100%)
[2411.0] Creating output metadata
+------------------+----------------------------------------+
| Property         | Value                                  |
+------------------+----------------------------------------+
| checksum         | 0e1d1f4ad05f88be4e87972884af1a4e       |
| container_format | bare                                   |
| created_at       | 2016-03-14T06:55:53.000000             |
| deleted          | False                                  |
| deleted_at       | None                                   |
| disk_format      | raw                                    |
| id               | 4fd809db-8ebe-4731-8a4d-1ee77bd52fa1   |
| is_public        | False                                  |
| min_disk         | 0                                      |
| min_ram          | 0                                      |
| name             | rhel7-juzhou-standard-cdrom-multidisks |
| owner            | 6c4dac53186d44fcbac29d3f3f575125       |
| protected        | False                                  |
| size             | 8589934592                             |
| status           | active                                 |
| updated_at       | 2016-03-14T06:57:15.000000             |
| virtual_size     | None                                   |
+------------------+----------------------------------------+
+----------------------------+----------------------------------------+
| Property                   | Value                                  |
+----------------------------+----------------------------------------+
| Property 'architecture'    | x86_64                                 |
| Property 'hw_disk_bus'     | virtio                                 |
| Property 'hw_vif_model'    | virtio                                 |
| Property 'hypervisor_type' | kvm                                    |
| Property 'os_distro'       | rhel                                   |
| Property 'os_type'         | linux                                  |
| Property 'os_version'      | 7                                      |
| Property 'vm_mode'         | hvm                                    |
| checksum                   | 0e1d1f4ad05f88be4e87972884af1a4e       |
| container_format           | bare                                   |
| created_at                 | 2016-03-14T06:55:53.000000             |
| deleted                    | False                                  |
| deleted_at                 | None                                   |
| disk_format                | raw                                    |
| id                         | 4fd809db-8ebe-4731-8a4d-1ee77bd52fa1   |
| is_public                  | False                                  |
| min_disk                   | 0                                      |
| min_ram                    | 2060                                   |
| name                       | rhel7-juzhou-standard-cdrom-multidisks |
| owner                      | 6c4dac53186d44fcbac29d3f3f575125       |
| protected                  | False                                  |
| size                       | 8589934592                             |
| status                     | active                                 |
| updated_at                 | 2016-03-14T06:57:19.000000             |
| virtual_size               | None                                   |
+----------------------------+----------------------------------------+
+------------------+----------------------------------------------+
| Property         | Value                                        |
+------------------+----------------------------------------------+
| checksum         | b770351fadae5a96bbaf9702ed97d28d             |
| container_format | bare                                         |
| created_at       | 2016-03-14T06:57:27.000000                   |
| deleted          | False                                        |
| deleted_at       | None                                         |
| disk_format      | raw                                          |
| id               | 31580c44-7ad6-4d0d-aa96-bbfb69f60d84         |
| is_public        | False                                        |
| min_disk         | 0                                            |
| min_ram          | 0                                            |
| name             | rhel7-juzhou-standard-cdrom-multidisks-disk2 |
| owner            | 6c4dac53186d44fcbac29d3f3f575125             |
| protected        | False                                        |
| size             | 8589934592                                   |
| status           | active                                       |
| updated_at       | 2016-03-14T06:58:51.000000                   |
| virtual_size     | None                                         |
+------------------+----------------------------------------------+
+----------------------------+----------------------------------------------+
| Property                   | Value                                        |
+----------------------------+----------------------------------------------+
| Property 'architecture'    | x86_64                                       |
| Property 'hw_disk_bus'     | virtio                                       |
| Property 'hw_vif_model'    | virtio                                       |
| Property 'hypervisor_type' | kvm                                          |
| Property 'os_distro'       | rhel                                         |
| Property 'os_type'         | linux                                        |
| Property 'os_version'      | 7                                            |
| Property 'vm_mode'         | hvm                                          |
| checksum                   | b770351fadae5a96bbaf9702ed97d28d             |
| container_format           | bare                                         |
| created_at                 | 2016-03-14T06:57:27.000000                   |
| deleted                    | False                                        |
| deleted_at                 | None                                         |
| disk_format                | raw                                          |
| id                         | 31580c44-7ad6-4d0d-aa96-bbfb69f60d84         |
| is_public                  | False                                        |
| min_disk                   | 0                                            |
| min_ram                    | 2060                                         |
| name                       | rhel7-juzhou-standard-cdrom-multidisks-disk2 |
| owner                      | 6c4dac53186d44fcbac29d3f3f575125             |
| protected                  | False                                        |
| size                       | 8589934592                                   |
| status                     | active                                       |
| updated_at                 | 2016-03-14T06:58:54.000000                   |
| virtual_size               | None                                         |
+----------------------------+----------------------------------------------+
+------------------+----------------------------------------------+
| Property         | Value                                        |
+------------------+----------------------------------------------+
| checksum         | b770351fadae5a96bbaf9702ed97d28d             |
| container_format | bare                                         |
| created_at       | 2016-03-14T06:58:55.000000                   |
| deleted          | False                                        |
| deleted_at       | None                                         |
| disk_format      | raw                                          |
| id               | ba57e8b2-70ce-4864-95fb-ea07b1633cb0         |
| is_public        | False                                        |
| min_disk         | 0                                            |
| min_ram          | 0                                            |
| name             | rhel7-juzhou-standard-cdrom-multidisks-disk3 |
| owner            | 6c4dac53186d44fcbac29d3f3f575125             |
| protected        | False                                        |
| size             | 8589934592                                   |
| status           | active                                       |
| updated_at       | 2016-03-14T07:00:19.000000                   |
| virtual_size     | None                                         |
+------------------+----------------------------------------------+
+----------------------------+----------------------------------------------+
| Property                   | Value                                        |
+----------------------------+----------------------------------------------+
| Property 'architecture'    | x86_64                                       |
| Property 'hw_disk_bus'     | virtio                                       |
| Property 'hw_vif_model'    | virtio                                       |
| Property 'hypervisor_type' | kvm                                          |
| Property 'os_distro'       | rhel                                         |
| Property 'os_type'         | linux                                        |
| Property 'os_version'      | 7                                            |
| Property 'vm_mode'         | hvm                                          |
| checksum                   | b770351fadae5a96bbaf9702ed97d28d             |
| container_format           | bare                                         |
| created_at                 | 2016-03-14T06:58:55.000000                   |
| deleted                    | False                                        |
| deleted_at                 | None                                         |
| disk_format                | raw                                          |
| id                         | ba57e8b2-70ce-4864-95fb-ea07b1633cb0         |
| is_public                  | False                                        |
| min_disk                   | 0                                            |
| min_ram                    | 2060                                         |
| name                       | rhel7-juzhou-standard-cdrom-multidisks-disk3 |
| owner                      | 6c4dac53186d44fcbac29d3f3f575125             |
| protected                  | False                                        |
| size                       | 8589934592                                   |
| status                     | active                                       |
| updated_at                 | 2016-03-14T07:00:22.000000                   |
| virtual_size               | None                                         |
+----------------------------+----------------------------------------------+
+------------------+----------------------------------------------+
| Property         | Value                                        |
+------------------+----------------------------------------------+
| checksum         | b770351fadae5a96bbaf9702ed97d28d             |
| container_format | bare                                         |
| created_at       | 2016-03-14T07:00:23.000000                   |
| deleted          | False                                        |
| deleted_at       | None                                         |
| disk_format      | raw                                          |
| id               | 2b658e48-0966-4e47-8bb8-b6c99e439387         |
| is_public        | False                                        |
| min_disk         | 0                                            |
| min_ram          | 0                                            |
| name             | rhel7-juzhou-standard-cdrom-multidisks-disk4 |
| owner            | 6c4dac53186d44fcbac29d3f3f575125             |
| protected        | False                                        |
| size             | 8589934592                                   |
| status           | active                                       |
| updated_at       | 2016-03-14T07:01:48.000000                   |
| virtual_size     | None                                         |
+------------------+----------------------------------------------+
+----------------------------+----------------------------------------------+
| Property                   | Value                                        |
+----------------------------+----------------------------------------------+
| Property 'architecture'    | x86_64                                       |
| Property 'hw_disk_bus'     | virtio                                       |
| Property 'hw_vif_model'    | virtio                                       |
| Property 'hypervisor_type' | kvm                                          |
| Property 'os_distro'       | rhel                                         |
| Property 'os_type'         | linux                                        |
| Property 'os_version'      | 7                                            |
| Property 'vm_mode'         | hvm                                          |
| checksum                   | b770351fadae5a96bbaf9702ed97d28d             |
| container_format           | bare                                         |
| created_at                 | 2016-03-14T07:00:23.000000                   |
| deleted                    | False                                        |
| deleted_at                 | None                                         |
| disk_format                | raw                                          |
| id                         | 2b658e48-0966-4e47-8bb8-b6c99e439387         |
| is_public                  | False                                        |
| min_disk                   | 0                                            |
| min_ram                    | 2060                                         |
| name                       | rhel7-juzhou-standard-cdrom-multidisks-disk4 |
| owner                      | 6c4dac53186d44fcbac29d3f3f575125             |
| protected                  | False                                        |
| size                       | 8589934592                                   |
| status                     | active                                       |
| updated_at                 | 2016-03-14T07:01:52.000000                   |
| virtual_size               | None                                         |
+----------------------------+----------------------------------------------+
[2771.0] Finishing off


Scenario2:

2.1 Prepare a multidisks guest which has windows os on ESX6.0
# virsh -c vpx://root.145.47/data/10.66.144.40/?no_verify=1 dumpxml esx6.0-win7-x86_64
Enter root's password for 10.66.145.47: 
<domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
  <name>esx6.0-win7-x86_64</name>
  <uuid>4237080a-1179-00e5-5176-6b7207bbc537</uuid>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='x86_64'>hvm</type>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <source file='[ESX6.0] esx6.0-win7-x86_64/esx6.0-win7-x86_64.vmdk'/>
      <target dev='sda' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='disk'>
      <source file='[ESX6.0] esx6.0-win7-x86_64/esx6.0-win7-x86_64_1.vmdk'/>
      <target dev='sdb' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <disk type='file' device='disk'>
      <source file='[ESX6.0] esx6.0-win7-x86_64/esx6.0-win7-x86_64_2.vmdk'/>
      <target dev='sdc' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <source file='[ESX6.0] esx6.0-win7-x86_64/esx6.0-win7-x86_64_3.vmdk'/>
      <target dev='sdd' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='cdrom'>
      <source file='[win-iso] en_windows_7_ultimate_x64_dvd_x15-65922.iso'/>
      <target dev='hdc' bus='ide'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <controller type='scsi' index='0' model='lsisas1068'/>
    <controller type='ide' index='0'/>
    <interface type='bridge'>
      <mac address='00:50:56:b7:fb:b6'/>
      <source bridge='VM Network'/>
      <model type='e1000'/>
    </interface>
    <interface type='bridge'>
      <mac address='00:50:56:b7:50:25'/>
      <source bridge='VM Network'/>
      <model type='e1000'/>
    </interface>
    <interface type='bridge'>
      <mac address='00:50:56:b7:a2:e1'/>
      <source bridge='VM Network'/>
      <model type='e1000'/>
    </interface>
    <interface type='bridge'>
      <mac address='00:50:56:b7:b8:44'/>
      <source bridge='VM Network'/>
      <model type='e1000'/>
    </interface>
    <video>
      <model type='vmvga' vram='8192'/>
    </video>
  </devices>
  <vmware:datacenterpath>data</vmware:datacenterpath>
</domain>


2.2 Using virt-v2v to convert the guest to glance

# virt-v2v -ic vpx://root.145.47/data/10.66.144.40/?no_verify=1 esx6.0-win7-x86_64 -of qcow2 -oa preallocated -o glance --password-file /var/passwd
[   0.0] Opening the source -i libvirt -ic vpx://root.145.47/data/10.66.144.40/?no_verify=1 esx6.0-win7-x86_64
[   1.0] Creating an overlay to protect the source from being modified
[   3.0] Opening the overlay
[  20.0] Initializing the target -o glance
[  21.0] Inspecting the overlay
[  81.0] Checking for sufficient free disk space in the guest
[  81.0] Estimating space required on target for each disk
[  81.0] Converting Windows 7 Ultimate to run on KVM
virt-v2v: This guest has virtio drivers installed.
[  89.0] Mapping filesystem data to avoid copying unused and blank areas
[  91.0] Closing the overlay
[  91.0] Checking if the guest needs BIOS or UEFI to boot
[  91.0] Copying disk 1/4 to /var/tmp/glance.CEYAoF/sda (qcow2)
    (100.00/100%)
[ 629.0] Copying disk 2/4 to /var/tmp/glance.CEYAoF/sdb (qcow2)
    (100.00/100%)
[ 808.0] Copying disk 3/4 to /var/tmp/glance.CEYAoF/sdc (qcow2)
    (100.00/100%)
[ 942.0] Copying disk 4/4 to /var/tmp/glance.CEYAoF/sdd (qcow2)
    (100.00/100%)
[1032.0] Creating output metadata
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | 3c879bcb48b50b4554dce6d2e53f5a77     |
| container_format | bare                                 |
| created_at       | 2016-03-14T08:55:46.000000           |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | ec063588-1d72-4e86-9e8e-715a9263a5d1 |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | esx6.0-win7-x86_64                   |
| owner            | 6c4dac53186d44fcbac29d3f3f575125     |
| protected        | False                                |
| size             | 12887130112                          |
| status           | active                               |
| updated_at       | 2016-03-14T08:57:56.000000           |
| virtual_size     | None                                 |
+------------------+--------------------------------------+
+----------------------------+--------------------------------------+
| Property                   | Value                                |
+----------------------------+--------------------------------------+
| Property 'architecture'    | x86_64                               |
| Property 'hw_disk_bus'     | virtio                               |
| Property 'hw_vif_model'    | virtio                               |
| Property 'hypervisor_type' | kvm                                  |
| Property 'os_distro'       | windows                              |
| Property 'os_type'         | windows                              |
| Property 'os_version'      | 6.1                                  |
| Property 'vm_mode'         | hvm                                  |
| checksum                   | 3c879bcb48b50b4554dce6d2e53f5a77     |
| container_format           | bare                                 |
| created_at                 | 2016-03-14T08:55:46.000000           |
| deleted                    | False                                |
| deleted_at                 | None                                 |
| disk_format                | qcow2                                |
| id                         | ec063588-1d72-4e86-9e8e-715a9263a5d1 |
| is_public                  | False                                |
| min_disk                   | 0                                    |
| min_ram                    | 4096                                 |
| name                       | esx6.0-win7-x86_64                   |
| owner                      | 6c4dac53186d44fcbac29d3f3f575125     |
| protected                  | False                                |
| size                       | 12887130112                          |
| status                     | active                               |
| updated_at                 | 2016-03-14T08:58:00.000000           |
| virtual_size               | None                                 |
+----------------------------+--------------------------------------+
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | 10f801d7c2006681c5fd3056be614ca9     |
| container_format | bare                                 |
| created_at       | 2016-03-14T08:58:01.000000           |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | 30666b3f-97f8-4575-b093-cf0c1492029d |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | esx6.0-win7-x86_64-disk2             |
| owner            | 6c4dac53186d44fcbac29d3f3f575125     |
| protected        | False                                |
| size             | 4295884800                           |
| status           | active                               |
| updated_at       | 2016-03-14T08:58:50.000000           |
| virtual_size     | None                                 |
+------------------+--------------------------------------+
+----------------------------+--------------------------------------+
| Property                   | Value                                |
+----------------------------+--------------------------------------+
| Property 'architecture'    | x86_64                               |
| Property 'hw_disk_bus'     | virtio                               |
| Property 'hw_vif_model'    | virtio                               |
| Property 'hypervisor_type' | kvm                                  |
| Property 'os_distro'       | windows                              |
| Property 'os_type'         | windows                              |
| Property 'os_version'      | 6.1                                  |
| Property 'vm_mode'         | hvm                                  |
| checksum                   | 10f801d7c2006681c5fd3056be614ca9     |
| container_format           | bare                                 |
| created_at                 | 2016-03-14T08:58:01.000000           |
| deleted                    | False                                |
| deleted_at                 | None                                 |
| disk_format                | qcow2                                |
| id                         | 30666b3f-97f8-4575-b093-cf0c1492029d |
| is_public                  | False                                |
| min_disk                   | 0                                    |
| min_ram                    | 4096                                 |
| name                       | esx6.0-win7-x86_64-disk2             |
| owner                      | 6c4dac53186d44fcbac29d3f3f575125     |
| protected                  | False                                |
| size                       | 4295884800                           |
| status                     | active                               |
| updated_at                 | 2016-03-14T08:58:51.000000           |
| virtual_size               | None                                 |
+----------------------------+--------------------------------------+
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | 7c1a33ca145e324a76db480c9a386258     |
| container_format | bare                                 |
| created_at       | 2016-03-14T08:58:52.000000           |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | b0631fed-83cd-4ebe-ad16-9a0a987ad5ae |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | esx6.0-win7-x86_64-disk3             |
| owner            | 6c4dac53186d44fcbac29d3f3f575125     |
| protected        | False                                |
| size             | 3221946368                           |
| status           | active                               |
| updated_at       | 2016-03-14T08:59:25.000000           |
| virtual_size     | None                                 |
+------------------+--------------------------------------+
+----------------------------+--------------------------------------+
| Property                   | Value                                |
+----------------------------+--------------------------------------+
| Property 'architecture'    | x86_64                               |
| Property 'hw_disk_bus'     | virtio                               |
| Property 'hw_vif_model'    | virtio                               |
| Property 'hypervisor_type' | kvm                                  |
| Property 'os_distro'       | windows                              |
| Property 'os_type'         | windows                              |
| Property 'os_version'      | 6.1                                  |
| Property 'vm_mode'         | hvm                                  |
| checksum                   | 7c1a33ca145e324a76db480c9a386258     |
| container_format           | bare                                 |
| created_at                 | 2016-03-14T08:58:52.000000           |
| deleted                    | False                                |
| deleted_at                 | None                                 |
| disk_format                | qcow2                                |
| id                         | b0631fed-83cd-4ebe-ad16-9a0a987ad5ae |
| is_public                  | False                                |
| min_disk                   | 0                                    |
| min_ram                    | 4096                                 |
| name                       | esx6.0-win7-x86_64-disk3             |
| owner                      | 6c4dac53186d44fcbac29d3f3f575125     |
| protected                  | False                                |
| size                       | 3221946368                           |
| status                     | active                               |
| updated_at                 | 2016-03-14T08:59:28.000000           |
| virtual_size               | None                                 |
+----------------------------+--------------------------------------+
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | 03f06f9a22dbe5725827d41d83c22226     |
| container_format | bare                                 |
| created_at       | 2016-03-14T08:59:29.000000           |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | 89e2c60d-d5b4-4067-a54c-716b207114ff |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | esx6.0-win7-x86_64-disk4             |
| owner            | 6c4dac53186d44fcbac29d3f3f575125     |
| protected        | False                                |
| size             | 2148073472                           |
| status           | active                               |
| updated_at       | 2016-03-14T08:59:54.000000           |
| virtual_size     | None                                 |
+------------------+--------------------------------------+
+----------------------------+--------------------------------------+
| Property                   | Value                                |
+----------------------------+--------------------------------------+
| Property 'architecture'    | x86_64                               |
| Property 'hw_disk_bus'     | virtio                               |
| Property 'hw_vif_model'    | virtio                               |
| Property 'hypervisor_type' | kvm                                  |
| Property 'os_distro'       | windows                              |
| Property 'os_type'         | windows                              |
| Property 'os_version'      | 6.1                                  |
| Property 'vm_mode'         | hvm                                  |
| checksum                   | 03f06f9a22dbe5725827d41d83c22226     |
| container_format           | bare                                 |
| created_at                 | 2016-03-14T08:59:29.000000           |
| deleted                    | False                                |
| deleted_at                 | None                                 |
| disk_format                | qcow2                                |
| id                         | 89e2c60d-d5b4-4067-a54c-716b207114ff |
| is_public                  | False                                |
| min_disk                   | 0                                    |
| min_ram                    | 4096                                 |
| name                       | esx6.0-win7-x86_64-disk4             |
| owner                      | 6c4dac53186d44fcbac29d3f3f575125     |
| protected                  | False                                |
| size                       | 2148073472                           |
| status                     | active                               |
| updated_at                 | 2016-03-14T08:59:55.000000           |
| virtual_size               | None                                 |
+----------------------------+--------------------------------------+
[1282.0] Finishing off


Scenario3:Convert multidisks guest which has linux os from XEN to openstack
Scenario4:Convert multidisks guest which has windows os from XEN to openstack
Scenario5:Convert multidisks guest which has linux os from KVM to openstack 
Scenario6:Convert multidisks guest which has windows os from KVM to openstack 

7.After conversion, check the result on openstack dashboard, For example guest"esx6.0-win7-x86_64"
7.1 Login the openstack dashboard
7.2 Check 4 disks which belong to guest "esx6.0-win7-x86_64" are listed at image interface
7.3 Launch the disk name "esx6.0-win7-x86_64" which has OS as instance and the instance could boot successfully
7.4 Create the other additional disks "esx6.0-win7-x86_64-disk2/3/4" as volume 
7.5 Add volumes which created by step7.3 to instance "esx6.0-win7-x86_64"
7.6 The instance ""esx6.0-win7-x86_64 is normal and the new added 3 volumes could be used in OS

Result now:
Above Scenarios could be converted successfully and checking conversion result at openstack is passed,so virt-v2v could copy additional disks to Glance


So move the bug from ON_QA to VERIFIED

Comment 9 errata-xmlrpc 2016-04-05 16:28:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0593.html