Bug 1894900 - [v2v][RHV to CNV VM Import API] VMimport CR is not reported as failed after deleting the importing VM by oc command
Summary: [v2v][RHV to CNV VM Import API] VMimport CR is not reported as failed after d...
Keywords:
Status: CLOSED DUPLICATE of bug 1894897
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: V2V
Version: 2.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.6.0
Assignee: Sam Lucidi
QA Contact: Maayan Hadasi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-05 11:57 UTC by Maayan Hadasi
Modified: 2020-11-18 15:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-18 15:27:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhv-vmimport describe (7.23 KB, text/plain)
2020-11-05 12:01 UTC, Maayan Hadasi
no flags Details
vm-import-controller yaml (15.26 KB, text/plain)
2020-11-05 12:02 UTC, Maayan Hadasi
no flags Details
vm-import-controller log (6.91 MB, text/plain)
2020-11-05 12:03 UTC, Maayan Hadasi
no flags Details
importer-rhv-import pod yaml (10.52 KB, text/plain)
2020-11-05 12:04 UTC, Maayan Hadasi
no flags Details
importer-rhv-import pod log (5.93 KB, text/plain)
2020-11-05 12:05 UTC, Maayan Hadasi
no flags Details

Description Maayan Hadasi 2020-11-05 11:57:45 UTC
Description of problem:
RHV vmimport CR has no "failed" status as expected after deleting the importing VM during disk copy
It seems in UI with status "importing" 


Version-Release number of selected component (if applicable):
CNV 2.5.0-413 (iib-24150)
OCP 4.6.1


How reproducible:
100%


Steps to Reproduce:
1. Have a running VM in RHV
2. Create VMimport CR via API
3. After source VM is powered off and the disk copy was started -> delete the importing VM: oc delete vm <vm-name>


Actual results:
VMimport status is "Processing"
UI: VMimport is displayed in VM page with status "importing"
The disk copy is done and VMImport CR is removed from VM page in UI


Expected results:
VMimport should have status "failed" due to VM deletion


Additional info:
* Tested using NFS storage class


Attachments:
yamls & logs: vm-import-controller, importer pod
vmimport CR describe

Comment 1 Maayan Hadasi 2020-11-05 12:01:29 UTC
Created attachment 1726851 [details]
rhv-vmimport describe

Comment 2 Maayan Hadasi 2020-11-05 12:02:45 UTC
Created attachment 1726852 [details]
vm-import-controller yaml

Comment 3 Maayan Hadasi 2020-11-05 12:03:31 UTC
Created attachment 1726853 [details]
vm-import-controller log

Comment 4 Maayan Hadasi 2020-11-05 12:04:15 UTC
Created attachment 1726854 [details]
importer-rhv-import pod yaml

Comment 5 Maayan Hadasi 2020-11-05 12:05:04 UTC
Created attachment 1726856 [details]
importer-rhv-import pod log

Comment 6 Fabien Dupont 2020-11-18 15:27:52 UTC

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


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