Bug 1393766

Summary: [RFE][REST-API] - Expose 'SSH Management' > Restart and Stop in rest api
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: RestAPIAssignee: Ondra Machacek <omachace>
Status: CLOSED DEFERRED QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: oourfali: ovirt-future?
mburman: planning_ack?
mburman: devel_ack?
mburman: testing_ack?
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-01 14:44:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Burman 2016-11-10 10:03:37 UTC
Description of problem:
[REST-API] - Expose 'SSH Management' > Restart and Stop in rest api.

We should add the SSH Management options in rest, like we have in the UI. 

Version-Release number of selected component (if applicable):
4.1.0-0.0.master.20161109091313.gitedb19fb.el7.centos

Comment 1 Sandro Bonazzola 2019-10-23 15:45:04 UTC
quoting scott.fitzgerald via devel 18 ott 2019, 15:27
"""
Putting this here for future reference if someone else stumbles across this:

The reboot functionality can be mirrored by using bash commands from within your Java/python/etc code.

ssh host
shutdown -r now

This will achieve the desired results, however the UI will report slightly differently.
"""

Comment 2 Michal Skrivanek 2020-03-19 15:41:02 UTC
We didn't get to this bug for more than 2 years, and it's not being considered for the upcoming 4.4. It's unlikely that it will ever be addressed so I'm suggesting to close it.
If you feel this needs to be addressed and want to work on it please remove cond nack and target accordingly.

Comment 3 Michal Skrivanek 2020-04-01 14:44:22 UTC
ok, closing. Please reopen if still relevant/you want to work on it.

Comment 4 Michal Skrivanek 2020-04-01 14:49:24 UTC
ok, closing. Please reopen if still relevant/you want to work on it.