<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 12, 2018 at 6:27 PM, Kristian Petersen <span dir="ltr"><<a href="mailto:nesretep@chem.byu.edu" target="_blank">nesretep@chem.byu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I tried using my customized vm.conf with the fix in the CPU name as you suggested. When I ran hosted-engine --vm-start --vm-conf=/root/myvm.conf and that failed.</div></blockquote><div><br></div><div>This is fine if the VM doesn't exist.</div><div>Can you please share your vdsm.log?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"> It said the vm didn't exist. It sounds like I might need to get the updated package from the ovirt-4.2-pre repo and try deploying again.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 12, 2018 at 10:31 AM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, Mar 12, 2018 at 5:25 PM, Kristian Petersen <span dir="ltr"><<a href="mailto:nesretep@chem.byu.edu" target="_blank">nesretep@chem.byu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm guessing that v2.2.10 is not in the oVirt repo yet. When I looked at vm.conf, the CPU name has a space in it like the one mentioned in the link you included. So replacing that space with an underscore should do the trick prehaps?</div></blockquote><div><br></div></span><div>v2.2.12 is in -pre repo.<br></div><div><br></div><div>You should replace the space with a dash: <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Broadwell-IBRS</span></div><div><div class="m_-7429026248714222599h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-7429026248714222599m_2254209035945697130HOEnZb"><div class="m_-7429026248714222599m_2254209035945697130h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 12, 2018 at 10:00 AM, Kristian Petersen <span dir="ltr"><<a href="mailto:nesretep@chem.byu.edu" target="_blank">nesretep@chem.byu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have v2.2.9 of ovirt-hosted-engine-setup currently installed. I'll try out the other suggestion you made also. Thanks for the help.</div><div class="gmail_extra"><div><div class="m_-7429026248714222599m_2254209035945697130m_-4473036190836573826h5"><br><div class="gmail_quote">On Fri, Mar 9, 2018 at 4:26 PM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Fri, Mar 9, 2018 at 8:33 PM, Kristian Petersen <span dir="ltr"><<a href="mailto:nesretep@chem.byu.edu" target="_blank">nesretep@chem.byu.edu</a>></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">I have attached the relevant log files as requested.<div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;color:rgb(34,34,34);font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid rgb(221,221,221);line-height:1"><a href="https://drive.google.com/a/chem.byu.edu/file/d/1ibJG_SEjK9NSEPft_HCkZzQO25dGgMVo/view?usp=drive_web" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:rgb(17,85,204);text-decoration:none;vertical-align:bottom">vdsm.log.1</span></a><img style="display:none;opacity:0.55;float:right"></div></div></blockquote><div><br></div><div><br></div></span><div>The real issue is here:</div><div><br></div><div><div> <cpu match="exact"></div><div> <model>BroadwellIBRS</model></div><div> </cpu></div><div><on_poweroff>destroy</on_power<wbr>off><on_reboot>destroy</on_reb<wbr>oot><on_crash>destroy</on_cras<wbr>h></domain> (vm:2751)</div><div>2018-03-08 08:04:13,757-0700 ERROR (vm/9a1e133d) [virt.vm] (vmId='9a1e133d-13d8-4613-b1a5<wbr>-fd3ca81ffcc3') The vm start process failed (vm:927)</div><div>Traceback (most recent call last):</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/virt/vm.py", line 856, in _startUnderlyingVm</div><div> self._run()</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/virt/vm.py", line 2756, in _run</div><div> dom.createWithFlags(flags)</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/common/libvirtconnect<wbr>ion.py", line 130, in wrapper</div><div> ret = f(*args, **kwargs)</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/common/function.py", line 92, in wrapper</div><div> return func(inst, *args, **kwargs)</div><div> File "/usr/lib64/python2.7/site-pac<wbr>kages/libvirt.py", line 1069, in createWithFlags</div><div> if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)</div><div>libvirtError: internal error: Unknown CPU model BroadwellIBRS</div></div><div><br></div><div>Indeed it should be <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Broadwell-IBRS</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div>Can you please report which rpm version of ovirt-hosted-engine-setup did you used?</div><div><br></div><div>You can fix it in this way:</div><div>copy /var/run/ovirt-hosted-engine-h<wbr>a/vm.conf somewhere, edit it and update the cpuType field.<br></div><div><br></div><div>Then start the engine VM with your custom vm.conf with something like:</div><div>hosted-engine --vm-start --vm-conf=/root/my_vm.conf</div><div>keep the engine up for at least one hour and it will generate the OVF_STORE disks with the right configuration for the hosted-engine VM.</div><div><br></div><div>It failed really at the end of the setup so anything else should be fine.</div><div><div class="m_-7429026248714222599m_2254209035945697130m_-4473036190836573826m_-5395993308544764097h5"><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="m_-7429026248714222599m_2254209035945697130m_-4473036190836573826m_-5395993308544764097m_-6050899649648189380gmail-HOEnZb"><div class="m_-7429026248714222599m_2254209035945697130m_-4473036190836573826m_-5395993308544764097m_-6050899649648189380gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 9, 2018 at 1:21 AM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></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"><br><div class="gmail_quote"><span>On Thu, Mar 8, 2018 at 7:28 PM, Kristian Petersen <span dir="ltr"><<a href="mailto:nesretep@chem.byu.edu" target="_blank">nesretep@chem.byu.edu</a>></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">I am trying to deploy oVirt with a self-hosted engine and the setup seems to go well until near the very end when the status message says:<div><font face="monospace, monospace">[ INFO ] TASK [Wait for the engine to come up on the target VM]</font></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 120, "changed": true, "cmd": ["hosted-engine", "--vm-status", "--json"], "delta": "0:0</font></div><div><font face="monospace, monospace">0:00.216412", "end": "2018-03-07 16:02:02.677478", "rc": 0, "start": "2018-03-07 16:02:02.461066", "stderr": "", "stderr_lines": [], "stdout</font></div><div><font face="monospace, monospace">": "{\"1\": {\"conf_on_shared_storage\": true, \"live-data\": true, \"extra\": \"metadata_parse_version=1\\nm<wbr>etadata_feature_version=1\\nti<wbr>m</font></div><div><font face="monospace, monospace">estamp=4679955 (Wed Mar 7 16:01:50 2018)\\nhost-id=1\\nscore=3400<wbr>\\nvm_conf_refresh_time=467995<wbr>6 (Wed Mar 7 16:01:51 2018)\\nconf_on_share</font></div><div><font face="monospace, monospace">d_storage=True\\nmaintenance=F<wbr>alse\\nstate=EngineStarting\\n<wbr>stopped=False\\n\", \"hostname\": \"<a href="http://rhv1.cpms.byu.edu" target="_blank">rhv1.cpms.byu.edu</a>\", \"host-id\": 1, \"engin</font></div><div><font face="monospace, monospace">e-status\": {\"reason\": \"vm not running on this host\", \"health\": \"bad\", \"vm\": \"down\", \"detail\": \"unknown\"}, \"score\": 3400,</font></div><div><font face="monospace, monospace">\"stopped\": false, \"maintenance\": false, \"crc32\": \"d3a67cf7\", \"local_conf_timestamp\": 4679956, \"host-ts\": 4679955}, \"global_main</font></div><div><font face="monospace, monospace">tenance\": false}", "stdout_lines": ["{\"1\": {\"conf_on_shared_storage\": true, \"live-data\": true, \"extra\": \"metadata_parse_version=1\</font></div><div><font face="monospace, monospace">\nmetadata_feature_version=1\\<wbr>ntimestamp=4679955 (Wed Mar 7 16:01:50 2018)\\nhost-id=1\\nscore=3400<wbr>\\nvm_conf_refresh_time=467995<wbr>6 (Wed Mar</font></div><div><font face="monospace, monospace"> 7 16:01:51 2018)\\nconf_on_shared_storage<wbr>=True\\nmaintenance=False\\nst<wbr>ate=EngineStarting\\nstopped=F<wbr>alse\\n\", \"hostname\": \"rhv1.cpms.</font></div><div><font face="monospace, monospace"><a href="http://byu.edu" target="_blank">byu.edu</a>\", \"host-id\": 1, \"engine-status\": {\"reason\": \"vm not running on this host\", \"health\": \"bad\", \"vm\": \"down\", \"detail\</font></div><div><font face="monospace, monospace">": \"unknown\"}, \"score\": 3400, \"stopped\": false, \"maintenance\": false, \"crc32\": \"d3a67cf7\", \"local_conf_timestamp\": 4679956, \"</font></div><div><font face="monospace, monospace">host-ts\": 4679955}, \"global_maintenance\": false}"]}</font></div><div><font face="monospace, monospace">[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook</font></div></div><div><br></div><div>Any ideas that might help?</div></div></blockquote><div><br></div><div><br></div></span>Hi Kristian,<br>{\"reason\": \"vm not running on this host\" sonds really bad.<br>I means that ovirt-ha-agent (in charge of restarting the engine VM) think that another host took over but at that stage you should have just one host.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Could you please attach /var/log/ovirt-hosted-engine-h<wbr>a/agent.log and /var/log/vdsm/vdsm.log for the relevant time frame?<br> <br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><div dir="ltr"><span class="m_-7429026248714222599m_2254209035945697130m_-4473036190836573826m_-5395993308544764097m_-6050899649648189380gmail-m_2715683149577027577m_-1553985148135529504gmail-HOEnZb"><font color="#888888"><div><br clear="all"><div><br></div>-- <br><div class="m_-7429026248714222599m_2254209035945697130m_-4473036190836573826m_-5395993308544764097m_-6050899649648189380gmail-m_2715683149577027577m_-1553985148135529504gmail-m_9146429123308409373gmail-m_-7957909315330191407gmail_signature"><div dir="ltr"><div><div dir="ltr">Kristian Petersen<div>System Administrator</div><div>Dept. of Chemistry and Biochemistry</div></div></div></div></div>
</div></font></span></div>
<br></span>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-7429026248714222599m_2254209035945697130m_-4473036190836573826m_-5395993308544764097m_-6050899649648189380gmail-m_2715683149577027577gmail_signature"><div dir="ltr"><div><div dir="ltr">Kristian Petersen<div>System Administrator</div><div>Dept. of Chemistry and Biochemistry</div></div></div></div></div>
</div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><span class="m_-7429026248714222599m_2254209035945697130m_-4473036190836573826HOEnZb"><font color="#888888"><div class="m_-7429026248714222599m_2254209035945697130m_-4473036190836573826m_-5395993308544764097gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Kristian Petersen<div>System Administrator</div><div>BYU Dept. of Chemistry and Biochemistry</div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-7429026248714222599m_2254209035945697130m_-4473036190836573826gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Kristian Petersen<div>System Administrator</div><div>BYU Dept. of Chemistry and Biochemistry</div></div></div></div></div></div></div>
</div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-7429026248714222599gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Kristian Petersen<div>System Administrator</div><div>BYU Dept. of Chemistry and Biochemistry</div></div></div></div></div></div></div>
</div>
</div></div></blockquote></div><br></div></div>