Description of problem: In 4.0 we support CPU hotplug, but until HE VM configuration file does not have maxVCpus we can not hotplug CPU. Version-Release number of selected component (if applicable): ovirt-hosted-engine-ha-2.0.3-1.el7ev.noarch How reproducible: Always Steps to Reproduce: 1. Deploy HE 2. Check HE VM configuration after deployment 3. Actual results: /var/run/ovirt-hosted-engine-ha/vm.conf does not include maxVCpus parameter Expected results: /var/run/ovirt-hosted-engine-ha/vm.conf must include maxVCpus parameter, otherwise, it does not possible to hotplug CPU until we restart HE VM with updated OVF Additional info: I believe this problem will exist until I can see under the log: MainThread::INFO::2016-09-06 14:51:35,322::config::206::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file) Trying to get a fresher copy of vm configuration from the OVF_STORE MainThread::WARNING::2016-09-06 14:51:38,965::ovf_store::106::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan) Unable to find OVF_STORE MainThread::ERROR::2016-09-06 14:51:38,966::config::235::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file) Unable to get vm.conf from OVF_STORE, falling back to initial vm.conf
Do we need BZ #1364132 to fix this?
This issue is only present until the VM is restarted for the first time after the OVF was refreshed by the engine.
Verified on ovirt-hosted-engine-setup-2.0.3-2.el7ev.noarch Initial configuration file looks like: [root@alma07 ovirt-hosted-engine-setup]# cat /var/run/ovirt-hosted-engine-ha/vm.conf vmId=c49b16c1-9644-479a-8fed-9ba9949721e9 memSize=4096 display=vnc devices={index:2,iface:ide,address:{ controller:0, target:0,unit:0, bus:1, type:drive},specParams:{},readonly:true,deviceId:43f8e4af-e308-4e2f-a767-b4a74d0718d4,path:,device:cdrom,shared:false,type:disk} devices={index:0,iface:virtio,format:raw,poolID:00000000-0000-0000-0000-000000000000,volumeID:c76f68d3-dd0a-4ff1-8e56-fff9e5cf5c42,imageID:a1f83ec7-5481-42fe-adf9-e90d14cd7e1b,specParams:{},readonly:false,domainID:204c3098-e2a3-470c-a2b8-e4d3543685e1,optional:false,deviceId:a1f83ec7-5481-42fe-adf9-e90d14cd7e1b,address:{bus:0x00, slot:0x06, domain:0x0000, type:pci, function:0x0},device:disk,shared:exclusive,propagateErrors:off,type:disk,bootOrder:1} devices={device:scsi,model:virtio-scsi,type:controller} devices={nicModel:pv,macAddr:00:1a:4a:16:25:03,linkActive:true,network:ovirtmgmt,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:078ae09a-e595-41c8-9bd0-56be2a245400,address:{bus:0x00, slot:0x03, domain:0x0000, type:pci, function:0x0},device:bridge,type:interface} devices={device:console,specParams:{},type:console,deviceId:ccf5c63a-9ea2-417d-aff9-c9703320dc11,alias:console0} devices={device:vga,alias:video0,type:video} vmName=HostedEngine spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir smp=2 maxVCpus=4 cpuType=SandyBridge emulatedMachine=rhel6.5.0 devices={device:virtio,specParams:{source:random},model:virtio,type:rng}