Bug 1787551 - Show incorrect msg if vm migration failed
Summary: Show incorrect msg if vm migration failed
Status: CLOSED DUPLICATE of bug 1785344
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.3.0
Hardware: All
OS: All
Target Milestone: ---
: ---
Assignee: Tomas Jelinek
QA Contact: Nelly Credi
Depends On:
TreeView+ depends on / blocked
Reported: 2020-01-03 11:07 UTC by zhe peng
Modified: 2020-01-15 11:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-01-15 11:41:22 UTC
Target Upstream Version:

Attachments (Terms of Use)
vm.yaml (1.27 KB, text/plain)
2020-01-07 10:18 UTC, zhe peng
no flags Details
describe vmi (4.54 KB, text/plain)
2020-01-07 10:33 UTC, zhe peng
no flags Details
screenshot of UI (190.51 KB, image/png)
2020-01-07 10:41 UTC, zhe peng
no flags Details

Description zhe peng 2020-01-03 11:07:16 UTC
Description of problem:
Show incorrect msg if vm migration failed

Version-Release number of selected component (if applicable):
OCP4.3 + CNV2.2

How reproducible:

Steps to Reproduce:
1.create and start vm
2.migrate vm from rhcos to rhel worker
source node:host-172-16-0-23
target node:cnv-executor-zpeng43-rhel-worker-0

3.migrate failed due to CPU issue, check vm status in UI
failed msg:
VirtualMachineInstance migration uid b52efbf0-a356-4e2c-b62f-8f97dce06bb2 failed. reason:Live migration failed virError(Code=9, Domain=31, Message='operation failed: guest CPU doesn't match specification: missing features: umip,arch-capabilities')

Actual results:
migrate failed, but in UI the node is change to

the vm status is "Stopping" for long time

i can use console to connect vm right now because the vm is running on source

Expected results:
if migration failed, need change node to source and set status to running.

Additional info:
#oc get pods
virt-launcher-testvm-m57xf                                        2/2     Running            0          17m
virt-launcher-testvm-z5zwr                                        0/2     Error              0          16m

Comment 1 Tomas Jelinek 2020-01-06 08:47:47 UTC
Can you please also attach the VirtualMachineInstance and the VirtualMachineInstanceMigration objects after the migration failed?

Comment 2 zhe peng 2020-01-07 10:18:57 UTC
Created attachment 1650328 [details]

Comment 3 zhe peng 2020-01-07 10:33:02 UTC
Created attachment 1650329 [details]
describe vmi

Comment 4 zhe peng 2020-01-07 10:41:06 UTC
Created attachment 1650334 [details]
screenshot of UI

Comment 5 Tomas Jelinek 2020-01-15 11:41:22 UTC

*** This bug has been marked as a duplicate of bug 1785344 ***

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