
+Asaf Rachmani <arachman@redhat.com> , +Evgeny Slutsky <eslutsky@redhat.com> 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/2S5NKX4L7VUYGM...
-- Sandro Bonazzola MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://www.redhat.com/> *Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. <https://mojo.redhat.com/docs/DOC-1199578>*