Bug 1834717
Summary: | VM with runStrategy attribute (instead of 'running' attribute) has Status 'Stopping' in the UI | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yaacov Zamir <yzamir> | ||||
Component: | Console Kubevirt Plugin | Assignee: | Filip Krepinsky <fkrepins> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Ruth Netser <rnetser> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.4 | CC: | aos-bugs, fkrepins, ibezukh, ncredi, rnetser, tjelinek, yzamir | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.4.z | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Known Issue | |||||
Doc Text: |
Cause:
VM with runStrategy Manual is not stating if it should be running or stopped by it's runStrategy
Consequence:
The UI wrongly assumes a VM with runStrategy Manual should be running.
Workaround (if any):
When using VM in UI environment, use the running attribute, or set runStrategy to one of Always, RerunOnFailure, Halted but not Manual
Result:
|
Story Points: | --- | ||||
Clone Of: | 1834671 | Environment: | |||||
Last Closed: | 2020-05-27 15:55:07 UTC | Type: | --- | ||||
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: | 1834671 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Yaacov Zamir
2020-05-12 09:40:11 UTC
target to 4.4 because it happen also in 4.4 submited upstream: https://github.com/openshift/console/pull/5409 Tested with 4.4.0-0.nightly-2020-05-25-115719: Re-opening: When a VM has runStrategy: Manual and the VM is stopped, status in the UI is "VM error" (see attached screenshot) Created attachment 1692192 [details]
Stopped VM with runStrategy: Manual
To add mote info: A stopped VM with runStrategy: Manual cannot be started from the UI. The VM status is either 'Unknown' or 'VM error' @Filip hi, this is the 4.4 BZ of https://bugzilla.redhat.com/show_bug.cgi?id=1834671 Cause: When VM runStrategy unStrategy is set to Manual, it is not a valid information source for VM state, VM can be running or stopped. Consequence: When VM runStrategy unStrategy is set to Manual, the UI wrongly assumes a VM with runStrategy Manual should be running. Solving this issue in the UI requires changing the logic of VM status calculation, this part of the code was changed between 4.4 and 4.5 and is hard to backport safely. Closing as wont fix because backporting the fix safely is very hard. @Tomas FYI |