Bug 1673921

Summary: not found error on Reboot action for a VM in Importing/Pending status
Product: Container Native Virtualization (CNV) Reporter: Irina Gulina <igulina>
Component: User ExperienceAssignee: Phillip Bailey <phbailey>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.4CC: aburden, cnv-qe-bugs, gouyang, mgoldboi, ncredi, rawagner, tjelinek
Target Milestone: ---   
Target Release: 2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v2.0.0-14.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1712736 (view as bug list) Environment:
Last Closed: 2019-07-24 20:15:50 UTC Type: Bug
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:    
Bug Blocks: 1712736    

Description Irina Gulina 2019-02-08 13:03:52 UTC
Description of problem:
There is an 'Importing' state of a VM. I have not seen that one documented anywhere. Nevertheless, in Actions there are options to stop/restart and delete that machine (Which is also not documented in [1], e.g.). Stop and Delete works fine, but Restart returns an error: "<name> not found."

Version-Release number of selected component (if applicable):
oc v3.11.69
kubernetes v1.11.0+d4cacc0


How reproducible:
always

Steps to Reproduce:
1. Create a virtual machine, and choose Container as a provision source
2. Start that machine, observe Importing... 
3. Choose Restart in Actions

Actual results:
An error machine is not found. 

Expected results:
There should be smth about Importing in docs, and no error on Reboot. Or maybe even no Stop/Restart actions, if those are not applicable (are they?), before image import.


Additional info:
[1] https://github.com/openshift/openshift-docs/blob/61a051b762659b05377301e9aca5df764ab3418a/modules/cnv_vm_actions_web.adoc#cnv-vm-actions-web

Comment 1 Tomas Jelinek 2019-02-11 12:18:27 UTC
@Andrew: FYI, not sure if you need a separate BZ to handle it.

Comment 2 Irina Gulina 2019-02-12 15:18:36 UTC
Tomas, I have opened a separate doc BZ 1676572

Comment 3 Tomas Jelinek 2019-02-14 08:36:08 UTC
as per agreement moving this to 2.0

Comment 4 Tomas Jelinek 2019-03-27 00:02:55 UTC
https://github.com/kubevirt/web-ui/pull/237

Comment 5 Guohua Ouyang 2019-05-08 05:57:07 UTC
How to get a VM into importing status? I see it once and the restart option is not available when vm is importing.

But for status "pending", "Importer Error", the problem "VM not found" is still there, I think "restart" should be disabled for these status as well.
And "migration" should be disabled since the VM is not existed yet.

Comment 6 Rastislav Wagner 2019-05-16 11:36:53 UTC
How to get a VM into importing status? I see it once and the restart option is not available when vm is importing.
-> Vm is in importing status when you use URL source and import didn't complete yet


https://github.com/kubevirt/web-ui/pull/375

Comment 7 Guohua Ouyang 2019-05-22 07:17:02 UTC
Restart and Migration are not available in vm actions when vm in importing.

Comment 9 errata-xmlrpc 2019-07-24 20:15:50 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://access.redhat.com/errata/RHEA-2019:1850