<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Dec 6, 2016 at 5:45 PM, Sandro Bonazzola <span dir="ltr">&lt;<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-m_-831203030921989301gmail-"></span><div>OK.</div><div>Must I start from scratch or can I use the generated answer file from previous step in any way?</div><span class="gmail-m_-831203030921989301gmail-"></span></div></div></div></blockquote></span><br><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-m_-831203030921989301gmail-"><div><div>[ INFO  ] Generating answer file &#39;/var/lib/ovirt-hosted-engine-<wbr>setup/answers/answers-20161206<wbr>171233.conf&#39;</div></div></span></div></div></div></blockquote></span><div class="gmail_quote"><span class="gmail-"><div><br></div></span><div>You can re-use the answer file:</div><div>hosted-engine --deploy --config-append=/var/lib/<wbr>ovirt-hosted-engine-setup/<wbr>answers/answers-20161206171233<wbr>.conf</div><span class="gmail-"><div><br></div></span></div><span class="gmail-">
</span></div></div>
</blockquote></div><br></div><div class="gmail_extra">It seems I got the same inside the new log file<br><br>2016-12-06 21:13:31 INFO otopi.plugins.gr_he_setup.vm.runvm mixins._create_vm:149 Creating VM
<br>2016-12-06 21:13:31 DEBUG otopi.plugins.gr_he_setup.vm.runvm mixins._create_vm:281 {&#39;status&#39;: {
<br>&#39;message&#39;: u&#39;Error creating the requested VM&#39;, &#39;code&#39;: 9}}
<br>2016-12-06 21:13:31 DEBUG otopi.context context._executeMethod:142 method exception
<br>Traceback (most recent call last):
<br>  File &quot;/usr/lib/python2.7/site-packages/otopi/context.py&quot;, line 132, in _executeMethod
<br>    method[&#39;method&#39;]()
<br>  File &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/vm/runvm.py&quot;, line 168, in _boot_from_hd
<br>    self._create_vm()
<br>  File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/mixins.py&quot;, line 287, in _create_vm
<br>    message=status[&#39;status&#39;][&#39;message&#39;]
<br>RuntimeError: Cannot create the VM: Error creating the requested VM
<br>2016-12-06 21:13:31 ERROR otopi.context context._executeMethod:151 Failed to execute stage &#39;Closing up&#39;: Cannot create the VM: Error creating the requested VM
<br>2016-12-06 21:13:31 ERROR otopi.context context._executeMethod:151 Failed to execute stage &#39;Closing up&#39;: Cannot create the VM: Error creating the requested VM
<br>2016-12-06 21:13:31 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
<br>2016-12-06 21:13:31 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/error=bool:&#39;True&#39;
<br>2016-12-06 21:13:31 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:&#39;[(&lt;type &#39;exceptions.RuntimeError&#39;&gt;, RuntimeError(&#39;Cannot create the VM: Error creating the requested VM&#39;,), &lt;traceback object at 0x5cd7dd0&gt;)]&#39;
<br><br>Current packages:<br>[root@ovirt41 ~]# rpm -qa|grep qemu | grep kvm
<br>qemu-kvm-ev-2.6.0-27.1.el7.x86_64
<br>qemu-kvm-tools-ev-2.6.0-27.1.el7.x86_64
<br>qemu-kvm-common-ev-2.6.0-27.1.el7.x86_64
<br>[root@ovirt41 ~]#
<br><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">But in vdsm.log I see this message:<br><br>2016-12-06 21:13:25,587 ERROR (jsonrpc/6) [root] failed to retrieve Hosted Engine HA info (api:
<br>252)
<br>Traceback (most recent call last):
<br>  File &quot;/usr/lib/python2.7/site-packages/vdsm/host/api.py&quot;, line 231, in _getHaInfo
<br>    stats = instance.get_all_stats()
<br>  File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py&quot;, line 102, in
<br> get_all_stats
<br>    with broker.connection(self._retries, self._wait):
<br>  File &quot;/usr/lib64/python2.7/contextlib.py&quot;, line 17, in __enter__
<br>    return self.gen.next()
<br>  File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py&quot;, line 99, in
<br> connection
<br>    self.connect(retries, wait)
<br>  File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py&quot;, line 78, in
<br> connect
<br>    raise BrokerConnectionError(error_msg)
<br>BrokerConnectionError: Failed to connect to broker, the number of errors has exceeded the limit
<br> (1)
<br>2016-12-06 21:13:25,589 INFO  (jsonrpc/6) [jsonrpc.JsonRpcServer] RPC call Host.getStats succee
<br>ded in 0.01 seconds (__init__:515)
<br>2016-12-06 21:13:31,796 INFO  (jsonrpc/7) [jsonrpc.JsonRpcServer] RPC call VM.getStats failed (
<br>error 1) in 0.00 seconds (__init__:515)
<br>2016-12-06 21:13:31,806 ERROR (jsonrpc/0) [virt.api] FINISH create error=Error creating the requested VM (api:54)
<br>Traceback (most recent call last):
<br>  File &quot;/usr/lib/python2.7/site-packages/vdsm/common/api.py&quot;, line 52, in method
<br>    ret = func(*args, **kwargs)
<br>  File &quot;/usr/share/vdsm/API.py&quot;, line 220, in create
<br>    &#39;Unknown display type %s&#39; % vmParams.get(&#39;display&#39;))
<br>CannotCreateVM: Error creating the requested VM
<br>2016-12-06 21:13:31,808 INFO  (jsonrpc/0) [jsonrpc.JsonRpcServer] RPC call VM.create failed (error 9) in 0.00 seconds (__init__:515)
<br><br></div><div class="gmail_extra">So I think the problem consists in trying to create engine with qxl video device (that is a right initial option offered...)<br><br></div><div class="gmail_extra">I changed the answer file this way<br><br>old = &lt;<br>new = &gt;<br><br>&lt; OVEHOSTED_VDSM/consoleType=str:qxl
<br>---
<br>&gt; OVEHOSTED_VDSM/consoleType=str:vnc
<br><br></div><div class="gmail_extra">and the deploy went ahead creating the VM<br></div><div class="gmail_extra"><br>[ INFO  ] Creating VM
<br>          You can now connect to the VM with the following command:
<br>                hosted-engine --console
<br>          You can also graphically connect to the VM from your system with the following command:
<br>                remote-viewer vnc://ovirt41.localdomain.local:5900
<br>          Use temporary password &quot;0979VeaN&quot; to connect to vnc console.
<br>          Please ensure that your Guest OS is properly configured to support serial console according to your distro documentation.
<br>          Follow <a href="http://www.ovirt.org/Serial_Console_Setup#I_need_to_access_the_console_the_old_way">http://www.ovirt.org/Serial_Console_Setup#I_need_to_access_the_console_the_old_way</a> for more info.
<br>          If you need to reboot the VM you will need to start it manually using the command:
<br>          hosted-engine --vm-start
<br>          You can then set a temporary password using the command:
<br>          hosted-engine --add-console-password
<br>[ INFO  ] Running engine-setup on the appliance
<br><br></div><div class="gmail_extra">But it seems stuck in the bios.... see:<br><a href="https://drive.google.com/file/d/0BwoPbcrMv8mvSE1mWFVIUEhiRTg/view?usp=sharing">https://drive.google.com/file/d/0BwoPbcrMv8mvSE1mWFVIUEhiRTg/view?usp=sharing</a><br></div><div class="gmail_extra"><br><br></div></div>