Bug 1533095 - analyzer: add host and guest reporting for kpti/ibrs/ibpb
Summary: analyzer: add host and guest reporting for kpti/ibrs/ibpb
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-log-collector
Classification: oVirt
Component: analyzer
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.2
: 4.2.4
Assignee: Douglas Schilling Landgraf
QA Contact: Jiri Belka
URL:
Whiteboard:
Depends On: 1531016 1532180
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-10 13:10 UTC by Yaniv Kaul
Modified: 2018-03-29 11:16 UTC (History)
9 users (show)

Fixed In Version: ovirt-log-collector-4.2.4-3.el7ev
Clone Of: 1532180
Environment:
Last Closed: 2018-03-29 11:16:02 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
jbelka: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 86058 0 None None None 2018-01-10 13:10:44 UTC
oVirt gerrit 86122 0 None None None 2018-01-10 13:10:44 UTC
oVirt gerrit 86276 0 None None None 2018-01-18 18:29:01 UTC
oVirt gerrit 86498 0 None None None 2018-01-18 18:30:14 UTC
oVirt gerrit 86499 0 None None None 2018-01-18 18:29:29 UTC
oVirt gerrit 86561 0 master ABANDONED inventory: Catch hosts with non reporting CPU: IBRS, PTI, IBPB 2018-01-23 20:25:34 UTC
oVirt gerrit 86562 0 master ABANDONED inventory: Catch vms with non reporting CPU: IBRS, PTI, IBPB 2018-01-23 20:25:40 UTC
oVirt gerrit 86563 0 master ABANDONED inventory: Catch cluster with non reporting CPU: IBRS, PTI, IBPB 2018-01-23 20:25:43 UTC

Description Yaniv Kaul 2018-01-10 13:10:44 UTC
+++ This bug was initially created as a clone of Bug #1532180 +++

Display the status of PTI, IBRS and IBPB in host subtab. 
A warning ("!") can be displayed when the host doesn't have any such support.

Display the status of actual running CPU model in guest in VM subtab

--- Additional comment from Michal Skrivanek on 2018-01-08 14:17:26 IST ---

vdsm can report capabilities - separately for each, to be interpreted by engine.
VM's running CPU is already being reported but not used anywhere.

Comment 1 Douglas Schilling Landgraf 2018-01-18 21:36:45 UTC
Hi Michal,

I have patched the code from wrongcpu.sh to support PTI and IBPB.
Could you please review the following:

https://gerrit.ovirt.org/86561 inventory: Catch hosts with non reporting CPU: IBRS, PTI, IBPB
https://gerrit.ovirt.org/86562 inventory: Catch vms with non reporting CPU: IBRS, PTI, IBPB
https://gerrit.ovirt.org/86563 inventory: Catch cluster with non reporting CPU: IBRS, PTI, IBPB

Thanks!

Comment 7 Sandro Bonazzola 2018-01-31 09:36:59 UTC
Moving to 4.2.2, missed 4.2.1

Comment 8 Sandro Bonazzola 2018-02-14 10:09:40 UTC
Douglas, what's the status of this bug? Any update?

Comment 14 Jiri Belka 2018-03-07 17:35:40 UTC
ok, 4.2.4-3

> lynx -dump /tmp/analyzer_report.html | grep -A 10 '^18. Security'
18. Security

18.1. Meltdown and Spectre

   The following cluster(s) contain non IBRS CPUs. For more info see
   [79]solution article.
   NO. Cluster Detected CPU

   1

   vhosts-cluster

Comment 15 Sandro Bonazzola 2018-03-29 11:16:02 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

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


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