Bug 1272745

Summary: Add "Confirm host has been rebooted" to Rest-Api
Product: [oVirt] ovirt-engine Reporter: Ori Gofen <ogofen>
Component: RestAPIAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.0.1CC: acanan, bugs, oourfali, tjelinek
Target Milestone: ---Flags: ogofen: planning_ack?
ogofen: devel_ack?
ogofen: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-17 13:35:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ori Gofen 2015-10-18 12:07:42 UTC
Description of problem:
"Confirm host has been rebooted" command is needed upon rebooting a hypervisor in order to stop SPM operations on hosts, 'power off' (db action) vms, and start soft fencing.
Afaik right now this command is not aligned to RestApi, and is needed for Automation purposes.

Version-Release number of selected component (if applicable):
rhevm-3.6-17

How reproducible:
100%

Comment 1 Oved Ourfali 2015-10-19 05:47:37 UTC
No such whiteboard api. Api is under infra.

Comment 2 Juan Hernández 2015-10-19 09:45:01 UTC
This is already available:

  POST /hosts/{host:id}/fence
  <action>
    <fence_type>manual</fence_type>
  </action>

Please check that it works and close as NOTABUG.

Comment 3 Tomas Jelinek 2015-12-17 13:35:12 UTC
this is already implemented: closing according to comment 2