Created attachment 1050171 [details]
Description of problem:
An error appeared in the UI if choose cancel deploy HE. The error just flashed on the screen.
ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Clean up': 'OVEHOSTED_CORE/nodeSetup'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install RHEV-H and enabled Network.
2. Enable "PXE Boot Engine VM"
3. Click <Setup Hosted Engine>
4. Are you sure you want to continue? (Yes, No), input NO.
5. check /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-*.log
An error appeared in the UI if choose cancel deploy HE.
The error just flashed on the screen.
No error appeared in the UI if choose cancel deploy HE.
On hosted engine side:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod
File "/usr/share/ovirt-hosted-engine-setup/plugins/ovirt-hosted-engine-setup/core/answerfile.py", line 128, in _save_answers_at_cleanup
File "/usr/share/ovirt-hosted-engine-setup/plugins/ovirt-hosted-engine-setup/core/answerfile.py", line 73, in _save_answers
Please open a separate bug on the node TUI: it should allow you to see what happened if an error is raised and not just flash on the screen.
Aborting at the first question hosted-engine will not persist the answerfile but at that point it will be almost empty.
Which UI being described in the bug? The WEBUI or TUI?
(In reply to Nikolai Sednev from comment #3)
> Which UI being described in the bug? The WEBUI or TUI?
There is no RHEVH-HE currently available for 3.6.
Please provide me with RHEVH7.2-HE capable image, so this bug could be verified.
Failed to reproduce on Red Hat Enterprise Virtualization Hypervisor (Beta) release 7.2 (20151113.123.el7ev) - works for me.
[ INFO ] Stage: Initializing
[ INFO ] Generating a temporary VNC password.
[ INFO ] Stage: Environment setup
Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards.
Are you sure you want to continue? (Yes, No)[Yes]: NO
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151115175040.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
Something went wrong setting up hosted engine, or the setup process was cancelled.
Press any key to continue...
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.