Hello Sandro,

Having been wholely unsuccessful in getting even the latest master

snapshot drivers to work, I applied the following PR from github to
my environment and everything installed cleanly.

https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/pull/331

That PR was closed last week without being applied.  I have added
some comments describing my experiences with this approach for you
to consider.  I am happy to try any alternative solutions, but so
far this is the only one that has worked on my server.

Regards,

Glenn Marcy

Sandro Bonazzola <sbonazzo@redhat.com> wrote on 06/22/2020 04:49:13 AM:

> From: Sandro Bonazzola <sbonazzo@redhat.com>

> To: Glenn Marcy <gmarcy@us.ibm.com>, Asaf Rachmani
> <arachman@redhat.com>, Evgeny Slutsky <eslutsky@redhat.com>

> Cc: users <users@ovirt.org>
> Date: 06/22/2020 04:52 AM
> Subject: [EXTERNAL] [ovirt-users] Re: 4.4.1-rc5: Looking for correct
> way to configure machine=q35 instead of machine=pc for arch=x86_64

>
> +Asaf Rachmani , +Evgeny Slutsky can you please investigate?

>
> Il giorno lun 22 giu 2020 alle ore 08:07 Glenn Marcy <gmarcy@us.ibm.com
> > ha scritto:

> Hello, I am hoping for some insight from folks with more hosted
> engine install experience.
>
> When I try to install the hosted engine using the RC5 dist I get the
> following error during the startup
> of the HostedEngine VM:
>
>   XML error: The PCI controller with index='0' must be model='pci-
> root' for this machine type, but model='pcie-root' was found instead
>
> This is due to the HE Domain XML description using machine="pc-
> i440fx-rhel7.6.0".
>
> I've tried to override the default of 'pc' from ovirt-ansible-
> hosted-engine-setup/defaults/main.yml:
>
>   he_emulated_machine: pc
>
> by passing to the ovirt-hosted-engine-setup script a --config-
> append=file parameter where file contains:
>
>   [environment:default]
>   OVEHOSTED_VM/emulatedMachine=str:q35
>
> When the "Create ovirt-hosted-engine-ha run directory" step finishes
> the vm.conf file contains:
>
> cpuType=IvyBridge,+pcid,+spec-ctrl,+ssbd,+md-clear
> emulatedMachine=q35
>
> At the "Start ovirt-ha-broker service on the host" step that file is
> removed.  When that file appears
> again during the "Check engine VM health" step it now contains:
>
> cpuType=IvyBridge,+pcid,+spec-ctrl,+ssbd,+md-clear
> emulatedMachine=pc-i440fx-rhel7.6.0
>
> After that the install fails with the metadata from "virsh dumpxml
> HostedEngine" containing:
>
>     <ovirt-vm:exitCode type="int">1</ovirt-vm:exitCode>
>     <ovirt-vm:exitMessage>XML error: The PCI controller with
> index='0' must be model='pci-root' for this machine type, but
> model='pcie-root' was found instead</ovirt-vm:exitMessage>
>
> Interestingly enough, the HostedEngineLocal VM that is running the
> appliance image has the value I need:
>
>   <type arch='x86_64' machine='pc-q35-rhel8.2.0'>hvm</type>
>
> Does anyone on the list have any experience with where this needs to
> be overridden?  Somewhere in the
> hosted engine setup or do I need to do something at a deeper level
> like vdsm or libvirt?
>
> Help much appreciated !
>
> Thanks,
> Glenn
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-leave@ovirt.org
> Privacy Statement:
https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
https://www.ovirt.org/community/about/
> community-guidelines/
> List Archives:
https://lists.ovirt.org/archives/list/
> users@ovirt.org/message/2S5NKX4L7VUYGMEAPKT553IBFAYZZESD/

>
> --

> Sandro Bonazzola
> MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
> Red Hat EMEA
> sbonazzo@redhat.com   
>
> [image removed]

>
> Red Hat respects your work life balance. Therefore there is no need
> to answer this email out of your office hours.
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-leave@ovirt.org
> Privacy Statement:
https://urldefense.proofpoint.com/v2/url?
> u=https-3A__www.ovirt.org_privacy-2Dpolicy.html&d=DwIGaQ&c=jf_iaSHvJObTbx-
> siA1ZOg&r=7CLmQhnB2i8fvxtmu_t4kAY5P_X7VyLhPZG9j6YjHak&m=-JJI4DBHi9Q-
> kVIoqpavNyeLpU9NGoyhoUNlwk7zDFc&s=x7Dyn-
> w0xcJQ7hq39_6qq8_jMtMp7tbs6RBLhUBWW-s&e=
> oVirt Code of Conduct:
https://urldefense.proofpoint.com/v2/url?
> u=https-3A__www.ovirt.org_community_about_community-2Dguidelines_&d=DwIGaQ&c=jf_iaSHvJObTbx-
> siA1ZOg&r=7CLmQhnB2i8fvxtmu_t4kAY5P_X7VyLhPZG9j6YjHak&m=-JJI4DBHi9Q-
> kVIoqpavNyeLpU9NGoyhoUNlwk7zDFc&s=9G0hbPahmHmMuXMH2B0JPNDyApbBHGLrhMBBXpRIemE&e=
> List Archives:
https://urldefense.proofpoint.com/v2/url?
> u=https-3A__lists.ovirt.org_archives_list_users-40ovirt.org_message_IM3EQSBHBTORQZM5MAHPOWKYUXIKZCHQ_&d=DwIGaQ&c=jf_iaSHvJObTbx-
> siA1ZOg&r=7CLmQhnB2i8fvxtmu_t4kAY5P_X7VyLhPZG9j6YjHak&m=-JJI4DBHi9Q-
> kVIoqpavNyeLpU9NGoyhoUNlwk7zDFc&s=sFKjXjkMVWaQ_gcLZiZcjJNmjLm6nvfF9zxge_sO2i0&e=