Bug 2019284 - Stop action should not in the action list while VMI is not running
Summary: Stop action should not in the action list while VMI is not running
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.9
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.10.0
Assignee: Gilad Lekner
QA Contact: Guohua Ouyang
Depends On:
TreeView+ depends on / blocked
Reported: 2021-11-02 03:58 UTC by Guohua Ouyang
Modified: 2022-03-10 16:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2022-03-10 16:24:30 UTC
Target Upstream Version:

Attachments (Terms of Use)
stop_not_running_VM (223.31 KB, image/gif)
2021-11-02 03:58 UTC, Guohua Ouyang
no flags Details

System ID Private Priority Status Summary Last Updated
Github openshift console pull 10633 0 None open Bug 2019284: fix dynamic actions disabling conditions 2021-12-08 11:44:55 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:24:44 UTC

Description Guohua Ouyang 2021-11-02 03:58:21 UTC
Created attachment 1839090 [details]

Description of problem:
Stop action should not in the action list while VMI is not running because it is not possible.

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

How reproducible:

Steps to Reproduce:
1. set VM spec.runStrategy: Manual
2. shutdown the VM inside via `sudo shutdown -P now`

Actual results:
VM is in starting state on ui, stop the VM is not possible

Expected results:
Stop action is not enabled in VM action

Additional info:

Comment 1 Yaacov Zamir 2021-11-08 15:28:02 UTC
Due to complexity, the fix will be tracked in Jira:

Comment 3 Guohua Ouyang 2021-12-17 03:13:40 UTC
verified on master, stop is not enabled while VM is in starting status.

Comment 7 errata-xmlrpc 2022-03-10 16:24:30 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 (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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