Bug 1856671 - [RFE] Expose the "reinstallation required" flag of the hosts in the API
Summary: [RFE] Expose the "reinstallation required" flag of the hosts in the API
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.3.10
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ovirt-4.4.3
: ---
Assignee: Ori Liel
QA Contact: Guilherme Santos
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-14 08:10 UTC by Juan Orti
Modified: 2024-03-25 16:09 UTC (History)
7 users (show)

Fixed In Version: rhv-4.4.3-8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-24 13:09:25 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5183791 0 None None None 2020-07-14 08:10:21 UTC
Red Hat Product Errata RHSA-2020:5179 0 None None None 2020-11-24 13:09:49 UTC
oVirt gerrit 110845 0 master MERGED restapi: map reinstallation-required property of host 2020-12-01 13:51:20 UTC
oVirt gerrit 111373 0 master MERGED Upgrade: model 4.4.18, metamodel 1.3.2 2020-12-01 13:51:20 UTC

Description Juan Orti 2020-07-14 08:10:22 UTC
Currently the "reinstallation required" flag of the hosts is only displayed in the manager web interface, but it cannot be queried through the API.

It is desired to query this flag trough the API so some automated tool can trigger the host reinstallation automatically.

Comment 2 Michal Skrivanek 2020-07-15 05:02:10 UTC
This is a simple frontend alert derived from other properties changes. I would recommend to watch those other properties instead

Comment 7 Guilherme Santos 2020-10-26 16:40:37 UTC
Verified on:
ovirt-engine-4.4.3.8-0.1.el8ev.noarch

Steps:
1. # curl -k -u admin@internal:<psswd> https://<engine-fqdn>/ovirt-engine/api/hosts/<host-uid> | grep reinstallation_required
        <reinstallation_required>false</reinstallation_required>

Results:
reinstallation_required flag exposed on API

Comment 11 errata-xmlrpc 2020-11-24 13:09:25 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 (Low: Red Hat Virtualization security, bug fix, and enhancement 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.

https://access.redhat.com/errata/RHSA-2020:5179

Comment 12 meital avital 2022-08-03 07:04:47 UTC
Due to QE capacity, we are not going to cover this issue in our automation


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