Currently rhevh do not support to let end-user drop to shell to run commands, but if running hosted-engine, some commands must to execute or execute frequently.
These cmd we have to F2 drop to shell to run.
We'd better to provide a TUI way to run them rather than let end-user F2 drop to shell directly to run them.
1. # screen -r -d
2. # hosted-engine --set-maintenance --mode=global
3. # hosted-engine --set-maintenance --mode=none
4. # hosted-engine --vm-start
5. # hosted-engine --vm-status
What we're going to support is the following functionalities:
1. Show HE status
This will have a button in the TUI similar to CPU info button.
Pressing it will show the output of the command.
2. Maintenance commands
a. Checkbox for global (VM) maintenance. Pressing it will show the output of the command.
b. Checkbox for local (host) maintenance. Pressing it will show the output of the command.
c. A button for resuming from maintenance.
*** Bug 1151342 has been marked as a duplicate of this bug. ***
*** Bug 1151393 has been marked as a duplicate of this bug. ***
As Bug 1267437 block this issue verify, I have to verify this issue after Bug 1267437 fix.
Ryan Barry, Doron Fediuck, for this new feature, is there some buttons on Hosted Engine TUI like the screenshot in attachment(deploy HE)? And the buttons appear all the time or just appear after deploy Hosted Engine? Thanks.
Created attachment 1081176 [details]
Created attachment 1081179 [details]
If the engine is configured, the buttons (and engine status) will appear.
Example (from an unconfigured engine with the variables set) is attached.
The issue verify is blocked by HE bug:
TUI Hosted Engine display is "Not configured" but HE already deployed on RHEV-H.
I will update bug ID tomorrow.
The issue is fixed according Comment 1 on rhev-hypervisor-7-7.2-20151104.0.
Red Hat Enterprise Virtualization Hypervisor release 7.2 (20151104.0.el7ev)
1. RHEV-H installed successful.
2. Login RHEV-H, change to Hosted Engine page, Deploy Hosted Engine.
3. Check Hosted Engine page.
After step3, there is < Hosted Engine VM status > and < Set Hosted Engine maintenance > on Hosted Engine page.
So I will change the status to VERIFIED.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.