Created attachment 1050171 [details] ovirt-hosted-engine-setup-20150709070600-82iqjb.log 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): ovirt-node-3.2.3-11.el6.noarch ovirt-node-plugin-hosted-engine-0.2.0-16.0.el6ev.noarch ovirt-hosted-engine-setup-1.2.5.1-1.el6ev.noarch ovirt-hosted-engine-ha-1.2.6-2.el6ev.noarch rhev-hypervisor6-6.7-20150707.0.el6ev How reproducible: 100% 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 Actual results: An error appeared in the UI if choose cancel deploy HE. The error just flashed on the screen. Expected results: No error appeared in the UI if choose cancel deploy HE. Additional info:
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 KeyError: 'OVEHOSTED_CORE/nodeSetup' 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? TUI
Hi Simone, 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 [WARNING] Aborted [ 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... mom-0.5.1-1.el7ev.noarch sanlock-3.2.4-1.el7.x86_64 libvirt-1.2.17-13.el7.x86_64 qemu-kvm-rhev-2.3.0-31.el7.x86_64 vdsm-4.17.10.1-0.el7ev.noarch ovirt-vmconsole-host-1.0.0-1.el7ev.noarch ovirt-vmconsole-1.0.0-1.el7ev.noarch ovirt-host-deploy-1.4.1-0.0.master.el7ev.noarch ovirt-hosted-engine-setup-1.3.0-1.el7ev.noarch ovirt-hosted-engine-ha-1.3.2.1-1.el7ev.noarch
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. https://rhn.redhat.com/errata/RHEA-2016-0375.html