Created attachment 1388250 [details] host logs Description of problem: [HE] failed to deploy hosted engine with --noansible Version-Release number of selected component (if applicable): ovirt-hosted-engine-ha-2.2.4-1.el7ev.noarch ovirt-hosted-engine-setup-2.2.8-2.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install the latest appliance rhvm-appliance-4.2-20180125.0.el7.noarch 2. Run the following deploy command: hosted-engine --deploy --config-append=/etc/ansible-ovirt/answers --noansible Actual results: The deploy failed with timeout exception ... |- [ INFO ] Stage: Misc configuration [ ERROR ] Engine setup got stuck on the appliance [ ERROR ] Failed to execute stage 'Closing up': Engine setup is stalled on the appliance since 3600 seconds ago. Please check its log on the appliance. Expected results: Deploy succeed Additional info: attached answer file and log files from host and engine VM. When I and didi investigated this issue we notice the following: - One time the /etc/hosts contain the line: 192.168.122.152 hosted-engine-02.scl.lab.tlv.redhat.com - the engine vm is up and running but the ovirt-engine service is disabled there. - The server.log and engine.log do not exist.
Created attachment 1388251 [details] engine logs
Created attachment 1388252 [details] answer file
engine-setup hangs here: 2018-01-29 11:48:41,056+0200 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'enable', u'firewalld.service') stderr: 2018-01-29 11:48:41,057+0200 DEBUG otopi.plugins.otopi.network.firewalld plugin.executeRaw:813 execute: ('/usr/bin/firewall-cmd', '--list-all-zones'), executable='None', cwd='None', env=None could you please check your SELinux status?
I see that you are passing a custom cloud-init image: OVEHOSTED_VM/cloudInitISO=str:existing OVEHOSTED_VM/vmCDRom=str:/etc/ansible-ovirt/cloud_init/cloud.iso Kobi, could you please ensure that you are disabling SELinux when you execute engine-setup? *** This bug has been marked as a duplicate of bug 1517881 ***
When I added in setenforce 0 before engine-setup its worked for me. Thanks Simone!!!