<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jul 10, 2017 at 1:40 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.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"><span class="gmail-"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 10, 2017 at 12:42 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.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"><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Do you understand why my engine vm remains in "Booting from Hard Disk" screen from these logs?<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Gianluca</div></div>
</blockquote></div><br></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">One of possible causes of my engine unable to boot up could be this?</div><div class="gmail_extra"><br></div><div class="gmail_extra">In 4.1.2 I was already in 7.3 and with the same qemu-kvm-ev and libvirt versions of 4.1.3, if I compare the command line of the VM, it was:</div><div class="gmail_extra"><br></div><div class="gmail_extra">diff 4.1.2 4.1.3</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">< 2017-07-04 16:42:19.418+0000: starting up libvirt version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem <<a href="http://bugs.centos.org" target="_blank">http://bugs.centos.org</a>>, 2017-05-25-20:52:28, <a href="http://c1bm.rdu2.centos.org" target="_blank">c1bm.rdu2.centos.org</a>), qemu version: 2.6.0 (qemu-kvm-ev-2.6.0-28.el7.10.<wbr>1), hostname: ovirt02.localdomain.local</div><div class="gmail_extra">---</div><div class="gmail_extra">> 2017-07-09 23:09:13.894+0000: starting up libvirt version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem <<a href="http://bugs.centos.org" target="_blank">http://bugs.centos.org</a>>, 2017-05-25-20:52:28, <a href="http://c1bm.rdu2.centos.org" target="_blank">c1bm.rdu2.centos.org</a>), qemu version: 2.6.0 (qemu-kvm-ev-2.6.0-28.el7.10.<wbr>1), hostname: ovirt02.localdomain.local</div><div class="gmail_extra">5,6c5,6</div><div class="gmail_extra">< -machine pc-i440fx-rhel7.2.0,accel=kvm,<wbr>usb=off </div><div class="gmail_extra">< -cpu qemu64,-svm -m 6144 </div><div class="gmail_extra">---</div><span class="gmail-"><div class="gmail_extra">> -machine pc-i440fx-rhel7.3.0,accel=kvm,<wbr>usb=off </div><div class="gmail_extra">> -cpu Broadwell,+rtm,+hle -m 6144 </div></span><div class="gmail_extra">9c9</div><div class="gmail_extra">< -smbios 'type=1,manufacturer=oVirt,<wbr>product=oVirt Node,version=7-2.1511.el7.<wbr>centos.2.10,serial=564D7100-<wbr>F0D4-3ACC-795A-145A595604C0,<wbr>uuid=87fd6bdb-535d-45b8-81d4-<wbr>7e3101a6c364' </div><div class="gmail_extra">---</div><div class="gmail_extra">> -smbios 'type=1,manufacturer=oVirt,<wbr>product=oVirt Node,version=7-3.1611.el7.<wbr>centos,serial=564D8F16-993A-<wbr>33E1-3B2E-E1740F99C542,uuid=<wbr>87fd6bdb-535d-45b8-81d4-<wbr>7e3101a6c364' </div><div class="gmail_extra">13c13</div><div class="gmail_extra">< -rtc base=2017-07-04T16:42:19,<wbr>driftfix=slew </div><div class="gmail_extra">---</div><div class="gmail_extra">> -rtc base=2017-07-09T23:09:13,<wbr>driftfix=slew </div><div class="gmail_extra">21c21</div><div class="gmail_extra">< -netdev tap,fd=31,id=hostnet0,vhost=<wbr>on,vhostfd=33 </div><div class="gmail_extra">---</div><div class="gmail_extra">> -netdev tap,fd=30,id=hostnet0,vhost=<wbr>on,vhostfd=32 </div><div class="gmail_extra">28a29,30</div><div class="gmail_extra">> -chardev pty,id=charconsole0 </div><div class="gmail_extra">> -device virtconsole,chardev=<wbr>charconsole0,id=console0 </div><div class="gmail_extra">31c33,35</div><div class="gmail_extra">< -incoming defer -msg timestamp=on</div><div class="gmail_extra">---</div><span class="gmail-"><div class="gmail_extra">> -object rng-random,id=objrng0,<wbr>filename=/dev/urandom </div><div class="gmail_extra">> -device virtio-rng-pci,rng=objrng0,id=<wbr>rng0,bus=pci.0,addr=0x6 </div><div class="gmail_extra">> -msg timestamp=on</div><div><br></div></span><div>So it seems it changed both "machine" (from pc-i440fx-rhel7.2.0 to pc-i440fx-rhel7.3.0) and "cpu" (from qemu64,-svm to Broadwell,+rtm,+hle)</div><div>Can I revert so that I can check if it has any influence?</div><div><br></div><div>BTW: this is a nested environment, where the L0 host is ESX 6.0 U2.</div><div><br></div><div>Thanks for any suggestin to fix engine start</div></div><span class="gmail-HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">Gianluca</div></font></span></div>
</blockquote></div><br></div><div class="gmail_extra">Currently I have set the environment in global maintenance.</div><div class="gmail_extra">Does it make sense to try to start the HostedEngine with an alternate vm.conf to crosscheck it it is then able to start ok?</div><div class="gmail_extra">I see that there is the file /var/run/ovirt-hosted-engine-ha/vm.conf that seems refreshed every minute</div><div class="gmail_extra"><br></div><div class="gmail_extra">It seems that apparently I can copy it into another place, modify it and try to start engine with the modified file using</div><div class="gmail_extra"><br></div><div class="gmail_extra">hosted-engine --vm-start --vm-conf=/alternate/path_vm.conf</div><div class="gmail_extra"><br></div><div class="gmail_extra">is it correct? </div><div class="gmail_extra"><br></div><div class="gmail_extra">the modified file would be such that:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">[root@ovirt02 images]# diff /var/run/ovirt-hosted-engine-ha/vm.conf /root/alternate_vm.conf</div><div class="gmail_extra">1,2c1,2</div><div class="gmail_extra">< cpuType=Broadwell</div><div class="gmail_extra">< emulatedMachine=pc-i440fx-rhel7.3.0</div><div class="gmail_extra">---</div><div class="gmail_extra">> cpuType=qemu64</div><div class="gmail_extra">> emulatedMachine=pc-i440fx-rhel7.2.0</div><div class="gmail_extra">[root@ovirt02 images]# </div></div></div>