Bug 1924823 - Reboot host after host deploy is not exposed in RESTAPI
Summary: Reboot host after host deploy is not exposed in RESTAPI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.4.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.5
: ---
Assignee: Dana
QA Contact: Guilherme Santos
URL:
Whiteboard:
: 1925084 (view as bug list)
Depends On:
Blocks: 1934407
TreeView+ depends on / blocked
 
Reported: 2021-02-03 17:26 UTC by Martin Perina
Modified: 2021-03-18 15:14 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.4.5.5
Clone Of:
Environment:
Last Closed: 2021-03-18 15:14:56 UTC
oVirt Team: Infra
Embargoed:
pm-rhel: ovirt-4.4+
gdeolive: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 113302 0 master MERGED Add reboot option to hoste deploy flow 2021-02-15 14:08:23 UTC
oVirt gerrit 113303 0 master ABANDONED Add reboot field 2021-02-15 14:08:24 UTC
oVirt gerrit 113332 0 master MERGED engine: add support for reboot host after install/ reinstall via REST API 2021-02-15 14:08:24 UTC

Description Martin Perina 2021-02-03 17:26:15 UTC
We have added the option to reboot host after host deploy as a part of BZ1853906, but unfortunately we forgot to expose it in RESTAPI.

Comment 1 RHEL Program Management 2021-02-03 17:26:22 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Martin Perina 2021-02-08 09:56:17 UTC
*** Bug 1925084 has been marked as a duplicate of this bug. ***

Comment 3 Guilherme Santos 2021-03-16 19:58:55 UTC
Verified on:
ovirt-engine-4.4.5.9-0.1.el8ev.noarch

Steps:
1. have a host on Maintenance through web UI
2. reinstall the host using the web UI
# curl -X POST -k -u <user>:<password> -H "Content-Type: application/json" -H "Accept: application/json" https://<engine-fqdn>/ovirt-engine/api/hosts/c8d231e7-4e6e-468a-bac5-c8c29a20ff53/install -d '{"root_password": <root_password>, "reboot": "true"}'

Results:
Host successfully reinstalled and rebooted after the installation, with the option of reboot being exposed through API

Comment 4 Guilherme Santos 2021-03-16 19:59:32 UTC
typo:
on step 2 - reinstall the host using the API***

Comment 5 Sandro Bonazzola 2021-03-18 15:14:56 UTC
This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.5 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.