Bug 1571895
Summary: | [RHV] Last Boot Time is "N/A" for VM if you shutdown guest | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Jan Zmeskal <jzmeskal> | |
Component: | UI - OPS | Assignee: | Roberto Ciatti <rciatti> | |
Status: | CLOSED EOL | QA Contact: | Ganesh Hubale <ghubale> | |
Severity: | low | Docs Contact: | ||
Priority: | medium | |||
Version: | 5.9.0 | CC: | cpelland, ghubale, hkataria, jocarter, lavenel, mperina, mpovolny, obarenbo, smallamp | |
Target Milestone: | GA | Keywords: | Automation, Reopened, TestOnly, ZStream | |
Target Release: | 5.12.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1767811 (view as bug list) | Environment: | ||
Last Closed: | 2020-03-25 18:03:06 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | RHEVM | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1767811 |
Description
Jan Zmeskal
2018-04-25 15:45:04 UTC
Hi, I can still able to reproduce this issue on version: 5.10.6.0 Hence reopening this BZ. Thanks, Ganesh Discussed with @Roberto, Observations: ============= 1] For rhv43 provider, If Vm is in off state(by shutdown or power off operations) then we lose 'Last Boot Time' always. And it changes to 'N/A' 2] Also checked with VMWare provider, In this case, sometimes we lose 'Last Boot Time' for Vm which is in 'Off' power state. This is not always reproducible. New commit detected on ManageIQ/manageiq-providers-ovirt/master: https://github.com/ManageIQ/manageiq-providers-ovirt/commit/45d0ab74b0dfbcf716d50732d3f08a6dc95cf878 commit 45d0ab74b0dfbcf716d50732d3f08a6dc95cf878 Author: Roberto Ciatti <gekorob.github.com> AuthorDate: Fri Aug 30 10:16:16 2019 -0400 Commit: Roberto Ciatti <gekorob.github.com> CommitDate: Fri Aug 30 10:16:16 2019 -0400 Preserving Last Boot time When a vm goes in down status, the start_time info is missing and we can avoid to overwrite with a nil the information we may already have. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1571895 app/models/manageiq/providers/redhat/inventory/parser/infra_manager.rb | 14 +- spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_4_async_graph_spec.rb | 17 + 2 files changed, 27 insertions(+), 4 deletions(-) |