oVirt 4.1: clone option of importing from VMware

Hello, I'm doing some tests to import VMs from VMware and verify functionality. Great newcomer in 4.1 In my initial test, ESXi host is 5.5 and vcsa 6.0U2 What does it mean the "clone" check box I can select in the last screen before running the import? Also, after pressing OK it seems nothing is then running, apart the symbol that VM is locked and its status is "initializing" See here: https://drive.google.com/file/d/0BwoPbcrMv8mvYWhwMllPSFRnakU/view?usp=sharin... BTW: the alerts are not related to the import... The tasks(N) header shows tasks(0) as if no task in execution In events I have: Feb 27, 2017 2:01:35 PM Starting to convert Vm T-RHEL6-64 Feb 27, 2017 2:01:18 PM Starting to import Vm T-RHEL6-64 to Data Center Default, Cluster Default Feb 27, 2017 2:01:18 PM Add-Disk operation of 'T-RHEL6-64' was initiated by the system.
From hypervisor point of view I see:
[root@ovmsrv06 vdsm]# pstree 18777 vdsm─┬─3*[ioprocess───5*[{ioprocess}]] ├─tee ├─virt-v2v─┬─qemu-kvm───5*[{qemu-kvm}] │ └─virt-v2v └─50*[{vdsm}] [root@ovmsrv06 vdsm]# And after about 20 minutes (the original VM has only one thin provisioned disk 4Gb/8Gb) the lock goes away and the status of the VM becomes down and in events pane I get only now the sequence: Feb 27, 2017 2:20:42 PM Vm T-RHEL6-64 was imported successfully to Data Center Default, Cluster Default It seems to me not so clear experience for the user importing, especially I imagine in case of more than one import and with big disks. Thanks, Gianluca

On Mon, Feb 27, 2017 at 3:36 PM Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
Hello, I'm doing some tests to import VMs from VMware and verify functionality. Great newcomer in 4.1
It was added in 4.0, I believe.
In my initial test, ESXi host is 5.5 and vcsa 6.0U2
What does it mean the "clone" check box I can select in the last screen before running the import?
Also, after pressing OK it seems nothing is then running, apart the symbol that VM is locked and its status is "initializing" See here:
https://drive.google.com/file/d/0BwoPbcrMv8mvYWhwMllPSFRnakU/view?usp=sharin...
BTW: the alerts are not related to the import...
The tasks(N) header shows tasks(0) as if no task in execution
In events I have: Feb 27, 2017 2:01:35 PM Starting to convert Vm T-RHEL6-64
That 'Starting' is kind of a hint a task is executing.
Feb 27, 2017 2:01:18 PM Starting to import Vm T-RHEL6-64 to Data Center Default, Cluster Default
Here again.
Feb 27, 2017 2:01:18 PM Add-Disk operation of 'T-RHEL6-64' was initiated by the system.
And 'was initiated' means there is a task.
From hypervisor point of view I see:
[root@ovmsrv06 vdsm]# pstree 18777 vdsm─┬─3*[ioprocess───5*[{ioprocess}]] ├─tee ├─virt-v2v─┬─qemu-kvm───5*[{qemu-kvm}] │ └─virt-v2v └─50*[{vdsm}] [root@ovmsrv06 vdsm]#
And after about 20 minutes (the original VM has only one thin provisioned disk 4Gb/8Gb) the lock goes away and the status of the VM becomes down and in events pane I get only now the sequence:
Feb 27, 2017 2:20:42 PM Vm T-RHEL6-64 was imported successfully to Data Center Default, Cluster Default
And this is the end of the task.
It seems to me not so clear experience for the user importing, especially I imagine in case of more than one import and with big disks.
I guess as always, we could try to improve with progress bar... Y.
Thanks, Gianluca _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Mon, Feb 27, 2017 at 2:40 PM, Yaniv Kaul wrote:
On Mon, Feb 27, 2017 at 3:36 PM Gianluca Cecchi wrote:
Hello, I'm doing some tests to import VMs from VMware and verify functionality. Great newcomer in 4.1
It was added in 4.0, I believe.
Ah, ok. Never tried before from web admin gui. I confused in release notes of 4.1.0 with the feature: BZ 1294629 Improve loading external VMs speed
And after about 20 minutes (the original VM has only one thin provisioned disk 4Gb/8Gb) the lock goes away and the status of the VM becomes down and in events pane I get only now the sequence:
Feb 27, 2017 2:20:42 PM Vm T-RHEL6-64 was imported successfully to Data Center Default, Cluster Default
And this is the end of the task.
Yes, I mean that during the 20 minutes elapsed time, it results that no tasks are in execution. Is this correct because it is considered a sort of external task or is it a bug?
It seems to me not so clear experience for the user importing, especially I imagine in case of more than one import and with big disks.
I guess as always, we could try to improve with progress bar...
I didn't refer to it (see above), but for sure it could be a nice add-on feature to provide. And what about the "clone" option? In what is it different from no selection of it? Thanks, Gianluca

On Mon, Feb 27, 2017 at 3:48 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Mon, Feb 27, 2017 at 2:40 PM, Yaniv Kaul wrote:
On Mon, Feb 27, 2017 at 3:36 PM Gianluca Cecchi wrote:
Hello, I'm doing some tests to import VMs from VMware and verify functionality. Great newcomer in 4.1
It was added in 4.0, I believe.
Ah, ok. Never tried before from web admin gui. I confused in release notes of 4.1.0 with the feature: BZ 1294629 Improve loading external VMs speed
And after about 20 minutes (the original VM has only one thin provisioned disk 4Gb/8Gb) the lock goes away and the status of the VM becomes down and in events pane I get only now the sequence:
Feb 27, 2017 2:20:42 PM Vm T-RHEL6-64 was imported successfully to Data Center Default, Cluster Default
And this is the end of the task.
Yes, I mean that during the 20 minutes elapsed time, it results that no tasks are in execution. Is this correct because it is considered a sort of external task or is it a bug?
It seems to me not so clear experience for the user importing, especially I imagine in case of more than one import and with big disks.
I guess as always, we could try to improve with progress bar...
I didn't refer to it (see above), but for sure it could be a nice add-on feature to provide.
Actually there is a progress bar for the phase of disks copying (after the 'initialization' phase) in the 'status' column of the virtual machines tab.
And what about the "clone" option? In what is it different from no selection of it?
That means that the VM will be imported as a cloned VM - have different mac addresses, different identifiers for the disks, different identifier for the VM.
Thanks, Gianluca
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Mon, Feb 27, 2017 at 2:51 PM, Arik Hadas <ahadas@redhat.com> wrote:
I didn't refer to it (see above), but for sure it could be a nice add-on feature to provide.
Actually there is a progress bar for the phase of disks copying (after the 'initialization' phase) in the 'status' column of the virtual machines tab.
Ah, ok... I retried with another VM, monitoring this time the behavior and I see at 15:45 the message Starting to convert Vm T-RHEL5-64 Then up to 16:04 it remains in "Initializing" Only at 16:04 it begins the copying phase, with a "qemu-img convert" command at host side that starts copying from an image in /var/tmp to the chosen storage domain with an elapsed of about 3 minutes and final completion Previously I missed the final minutes of the process, so that I noticed only the "Initializing" Status step and the final "Down" Status of the VM....
And what about the "clone" option? In what is it different from no selection of it?
That means that the VM will be imported as a cloned VM - have different mac addresses, different identifiers for the disks, different identifier for the VM.
Ah, ok. This explains why I get this message while importing a VM without selecting "clone": VM T-RHEL7 has MAC address(es) 00:50:56:b0:0c:7d, which is/are out of its MAC pool definitions. ? In this case to assign an oVirt MAC between the setup ones, only way is to remove and add a new one or what? Gianluca

On Mon, Feb 27, 2017 at 5:18 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Mon, Feb 27, 2017 at 2:51 PM, Arik Hadas <ahadas@redhat.com> wrote:
I didn't refer to it (see above), but for sure it could be a nice add-on feature to provide.
Actually there is a progress bar for the phase of disks copying (after the 'initialization' phase) in the 'status' column of the virtual machines tab.
Ah, ok... I retried with another VM, monitoring this time the behavior and I see at 15:45 the message
Starting to convert Vm T-RHEL5-64
Then up to 16:04 it remains in "Initializing" Only at 16:04 it begins the copying phase, with a "qemu-img convert" command at host side that starts copying from an image in /var/tmp to the chosen storage domain with an elapsed of about 3 minutes and final completion Previously I missed the final minutes of the process, so that I noticed only the "Initializing" Status step and the final "Down" Status of the VM....
And what about the "clone" option? In what is it different from no selection of it?
That means that the VM will be imported as a cloned VM - have different mac addresses, different identifiers for the disks, different identifier for the VM.
Ah, ok. This explains why I get this message while importing a VM without selecting "clone":
VM T-RHEL7 has MAC address(es) 00:50:56:b0:0c:7d, which is/are out of its MAC pool definitions. ? In this case to assign an oVirt MAC between the setup ones, only way is to remove and add a new one or what?
After you imported the VM, yes. During import, you can use the 'clone' option as you did before - it should be fine as long as you're willing to have different identifiers (in most cases, these identifiers have no functional implications).
Gianluca
participants (3)
-
Arik Hadas
-
Gianluca Cecchi
-
Yaniv Kaul