Hey there,
I posted solutions here earlier: https://mail.google.com/mail/u/0/?tab=wm#search/in%3Asent+ovirt+users/LXphbRLrghxkrJpsrHvKlSpMLsGVkKkHknsLMHHKnQV

Thanks for the gist reference giuseppe.  I haven't updated the approach in a while...but should absolutely explain the reasoning and I think should still just work:).

On Sat, Sep 8, 2018 at 11:31 AM Giuseppe Ragusa <giuseppe.ragusa@hotmail.com> wrote:
Hi all,
I confirm that:

1) the machine type pc-i440fx-rhel7.2.0 is enough to solve the problem

2) the OVEHOSTED_VM/emulatedMachine variable in answers file is NOT enough (the engine vm hangs again as soon as it gets rebooted, after the successful initial setup), but the VDSM hook in https://gist.github.com/RabidCicada/40655db1582ca5d07c9bbf2c429cdd01 solves the problem (for further vms too, arguably)

Many thanks.

Best regards,
Giuseppe
________________________________________
Da: Giuseppe Ragusa <giuseppe.ragusa@hotmail.com>
Inviato: venerdì 7 settembre 2018 16:04
A: Simone Tiraboschi; bongsf@gmail.com
Cc: users
Oggetto: R: [ovirt-users] Re: Failed to deploy ovirt engine with "hosted-engine --deploy"

Hi Simone,
sorry for the late comment (I just found this thread while researching on nested oVirt-on-VMware issues).

It seems that the problem is generally known and has been solved upstream in kernel 4.16:

https://bugs.launchpad.net/qemu/+bug/1636217

Any ETA on backports in RHEL7? ;-)
(Note: should I open a Bugzilla on kernel package for this?)
I seems that Hyper-V would experience the same troubles and I think that making nested-inside-Windows-host work should be deemed fairly important for demo/trial/lab uses... :-)

In the meanwhile, workarounds have been published for the new Ansible-based setup flow:

https://lists.ovirt.org/archives/list/users@ovirt.org/thread/UDVRS5I64WLFJJF7YXKXZNTQOZRJ6DOJ/?sort=date

on the other side, I can confirm that with the legacy setup flow (with option --noansible) adding the following to the answer file avoids the problem (did not test whether newer types like pc-i440fx-rhel7.2.0 solve it too):

OVEHOSTED_VM/emulatedMschine=str:rhel6.0.0

Many thanks.

Best regards,
Giuseppe

________________________________________
Da: Simone Tiraboschi <stirabos@redhat.com>
Inviato: lunedì 30 luglio 2018 09:20
A: bongsf@gmail.com
Cc: users
Oggetto: [ovirt-users] Re: Failed to deploy ovirt engine with "hosted-engine --deploy"



On Mon, Jul 30, 2018 at 6:04 AM Bong Shau Fui <bongsf@gmail.com<mailto:bongsf@gmail.com>&gt; wrote:
Hi Simone:
   Yes, it's in a nested environment.  L0 is vmware esxi 5.5.

I know for sue that a nested kvm env over vmware esxi is still problematic; kvm over kvm works fine instead.



regards,
Bong SF
_______________________________________________
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to users-leave@ovirt.org<mailto:users-leave@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/YQZHWNK2CPSWGWIOB3WOJJ2QZK4HGLAD/
</mailto:users-leave@ovirt.org></mailto:users@ovirt.org></bongsf@gmail.com<mailto:bongsf@gmail.com></stirabos@redhat.com>
</giuseppe.ragusa@hotmail.com>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/W4GOU6N43OGPPDTKQ2TUOI6O2VI2IUOS/