Article ID: 58818
Article Type: Troubleshooting
Last Modified:
When you upgrade the hosted engine OVA version from v4.2 (rhvm-appliance-4.2-20190416.1.el7.ova) to v4.3 (rhvm-appliance-4.3-20190722.0.el7.ova), the virtual machine that hosts the hosted engine fails to start.
The following error appears in the vdsm.log file located in the /var/log/vdsm directory:
libvirtError: unsupported configuration: maximum vCPU count must not be less than current vCPU count
2019-11-11 00:20:56,662-0500 INFO (vm/86ca19fe) [virt.vm] (vmId='86ca19fe-a96a-4bf8-8d35-73441b55e0da') Changed state to Down: unsupported configuration: maximum vCPU count must not be less than current vCPU count (code=1) (vm:1690)
When you attempt to start the hosted engine manually, the following message appears:
# hosted-engine --vm-start
VM exists and is down, cleaning up and restarting
VM in WaitForLaunch
Perform the following steps on one of the HyperScale appliance nodes:
# cp /var/run/ovirt-hosted-engine-ha/vm.conf /var/tmp/custom-vm.conf
# sed -i '/^xmlBase64=/d' /var/tmp/custom-vm.conf
# sed -i 's/^maxVCpus=16/maxVCpus=32/' /var/tmp/custom-vm.conf
# egrep 'smp|maxVCpus' /var/tmp/custom-vm.conf
smp=32
maxVCpus=32
# hosted-engine --set-maintenance --mode=global
# hosted-engine --vm-start --vm-conf=/var/tmp/custom-vm.conf
# hosted-engine --set-maintenance --mode=none
# egrep 'smp|maxVCpus' /var/run/ovirt-hosted-engine-ha/vm.conf
smp=32
maxVCpus=32
The value is 32.To make the change reflect in other Hyperscale appliance nodes, perform the following steps in the RedHat Virtualization portal.
# egrep 'smp|maxVCpus' /var/run/ovirt-hosted-engine-ha/vm.conf
smp=32
maxVCpus=32
# hosted-engine --vm-shutdown
# hosted-engine --vm-start
The hosted engine virtual machine starts without any issues.
Note: For more information, see the RedHat ticket: Hosted Engine virtual machine not starting up.