Bug 1830780 - virt-v2v-wrapper - 0% VM migration progress in UI
Summary: virt-v2v-wrapper - 0% VM migration progress in UI
Status: ON_QA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: V2V
Version: 2.4.0
Hardware: All
OS: All
Target Milestone: ---
: 2.4.0
Assignee: Tomáš Golembiovský
QA Contact: Ilanit Stein
Depends On:
Blocks: 1724978
TreeView+ depends on / blocked
Reported: 2020-05-03 20:27 UTC by Brett Thurber
Modified: 2020-07-02 09:51 UTC (History)
7 users (show)

Fixed In Version: kubevirt-v2v-conversion-container-v2.4.0-17
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:
istein: needinfo+
istein: needinfo+

Attachments (Terms of Use)
kubvirt-v2v-conversion.log (5.65 MB, text/plain)
2020-06-28 09:15 UTC, Ilanit Stein
no flags Details

Description Brett Thurber 2020-05-03 20:27:33 UTC
Description of problem:
When migrating a VM from VMware to OCPv, the UI progress is stuck at 0% although the VM migration is progressing.

Version-Release number of selected component (if applicable):

How reproducible:
Every time a migration is initiated

Steps to Reproduce:
1. Choose VM Import
2. Select a VM to migrate from VMware
3. Initiate VM migration

Actual results:
0% progress indicator for VM migration in UI

Expected results:
Proper VM migration % displayed in UI

Additional info:

Comment 4 Ilanit Stein 2020-06-09 12:50:06 UTC
Tomas, Brett, 
Is this bug planned to get fixed soon?

If no,
We can still stay with same CNV-2.3 doc for CNV-2.4 too:
Bug 1829828 - [v2v][Doc] VM migration progress percent is not progressing,

And this ON_QA bug cannot be verified on CNV-2.4:
Bug 1724978 - [RFE][v2v] Improve the way we display progress percent in UI

Comment 5 Ilanit Stein 2020-06-09 12:54:58 UTC
After waiting a couple of minutes, I do see the progress bar, showing progress.
I'll verify then Bug 1724978 - [RFE][v2v] Improve the way we display progress percent in UI,
and update doc to remove the note progress bar is not working.

Comment 6 Ilanit Stein 2020-06-09 12:58:41 UTC

On CNV-2.4 UI, 
I do not see under VM Details, the Annotation key that used to show progress in percents, back in CNV-2.3.
Is this expected please?

Comment 8 Tomáš Golembiovský 2020-06-11 09:09:55 UTC
Hi, the CNV build still uses the old (and broken) wrapper which does not report the progress properly so it will still report 0%. But it should store the value in the annotation. If that is not hapenening then there is some other issue somewhere. Could you please share the pod log?

Comment 9 Tomas Jelinek 2020-06-11 09:26:26 UTC
> I do not see under VM Details, the Annotation key that used to show progress in percents, back in CNV-2.3.

that is actually expected. It is an annotation on the pod, not on the vm, so the VM details should not show it. You should see it on the pod details screen though. OTOH, given that you have a progress bar, you should not need to go to the pod details to look at the progress.

Comment 12 Ilanit Stein 2020-06-16 13:27:31 UTC
I guess we are good with seeing the progress bar reporting progress.
We do not have a CNV environment due to build issues. When I'll have an env, I'll check pod annotation and report.

Comment 13 Ilanit Stein 2020-06-25 18:10:28 UTC
Testing CNV-2.4 from June 24 2020, 
Indeed I see the progress annotation field under the conversion Pod's details page.

Regarding the progress bar.

For a VM import, that took over all 24 minutes, I tracked the progress bar in the UI, for the first 15 minutes, and it stayed at value 0 (v2v conversion progress annotation was 0% too).  
After import has ended the annotation stay in value 0%.

Could it be that we have a regression on this?

$ oc -n openshift-cnv edit cm v2v-vmware
  kubevirt-vmware-image: registry-proxy.engineering.redhat.com/rh-osbs/container-native-virtualization-kubevirt-vmware@sha256:f1567e9d37e6df21372777e87f92950ce389706d4664d234da9fa73b175e1b6a
  kubevirt-vmware-image-pull-policy: IfNotPresent
  v2v-conversion-image: registry-proxy.engineering.redhat.com/rh-osbs/container-native-virtualization-kubevirt-v2v-conversion@sha256:c865a6c723b7c12572c47cdf6ee949f8b3976d45b13d98ad19c7a3cf2d134552
  vddk-init-image: cnv-qe-server.rhevdev.lab.eng.rdu2.redhat.com:5000/vddk-images/vddk:v700

Comment 14 Tomáš Golembiovský 2020-06-26 08:13:39 UTC
Could you please share the conversion pod log?

Comment 15 Ilanit Stein 2020-06-28 09:15:16 UTC
Created attachment 1699018 [details]

Comment 16 Tomáš Golembiovský 2020-06-29 18:00:26 UTC
Ah, I see. For some reason the image still uses the old version of the package.

Comment 17 Brett Thurber 2020-06-30 03:38:11 UTC
(In reply to Tomáš Golembiovský from comment #16)
> Ah, I see. For some reason the image still uses the old version of the
> package.

Do we have an eta for a new conversion POD build with this fix?

Comment 18 Tomáš Golembiovský 2020-06-30 13:06:24 UTC
Build is ready: kubevirt-v2v-conversion-container-v2.4.0-17

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