On Wed, Jul 12, 2017 at 12:16 PM, Yedidyah Bar David <didi@redhat.com> wrote:

>> >
>> > the modified file would be such that:
>> >
>> > [root@ovirt02 images]# diff /var/run/ovirt-hosted-engine-ha/vm.conf
>> > /root/alternate_vm.conf
>> > 1,2c1,2
>> > < cpuType=Broadwell
>> > < emulatedMachine=pc-i440fx-rhel7.3.0
>> > ---
>> >> cpuType=qemu64
>> >> emulatedMachine=pc-i440fx-rhel7.2.0
>> > [root@ovirt02 images]#
>>
>> No idea about your specific issue or whether this can fix it, but you can
>> try.
>> Especially if you can test on a test env...
>>
>> Best,
>> --
>> Didi
>
>
> And in fact the engine vm is now up again with the customized parameters
> How can I have it permanent? Frome where on shared storage are they read?

I think you are supposed to change such parameters from the engine ui, not
by directly manipulating the shared storage using [1]. But I didn't try this
myself, not sure if cpu type can be changed.

[1] http://www.ovirt.org/develop/release-management/features/sla/hosted-engine-edit-configuration-on-shared-storage/

In Engine VM System settings, advanced parameters, I currently have this config:
https://drive.google.com/file/d/0BwoPbcrMv8mvQ29ickF2cWlMNUE/view?usp=sharing

I have to check if it is only one of the 2 parameters generating problems or only one.

Nevertheless, if I try to change Custom Emulated Machine I then get:

"
Error while executing action:

HostedEngine:

    There was an attempt to change Hosted Engine VM values that are locked.
"

and the same if I try to change Custom CPU Type...


 


>
> Possibly the problems is generated by my nested environment:
>
> L0 = ESXi 6.0 U2 on NUC6i5syh
> L1 are my oVirt hosts on this L0
> L2 is my engine VM that doesn't start in 4.1.3
>
> it seems that
> cpuType=Broadwell and/or emulatedMachine=pc-i440fx-rhel7.3.0
> generates problems....

No idea about this, adding Michal.

Best,

>
> And I think I would have same problems with ordinary VMs, correct?
> Gianluca



--
Didi


On the Hypervisors (actually ESXi VMs) I get this when running the command:

# vdsClient -s 0 getVdsCapabilities

...
clusterLevels = ['3.6', '4.0', '4.1']
containers = False
cpuCores = '2'
cpuFlags = 'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,mmx,fxsr,sse,sse2,ss,ht,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,nopl,xtopology,tsc_reliable,nonstop_tsc,aperfmperf,eagerfpu,pni,pclmulqdq,vmx,ssse3,fma,cx16,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,hypervisor,lahf_lm,abm,3dnowprefetch,ida,arat,epb,pln,pts,dtherm,hwp,hwp_noitfy,hwp_act_window,hwp_epp,tpr_shadow,vnmi,ept,vpid,fsgsbase,tsc_adjust,bmi1,hle,avx2,smep,bmi2,invpcid,rtm,rdseed,adx,smap,xsaveopt,model_Haswell,model_Broadwell,model_Haswell-noTSX,model_Nehalem,model_Conroe,model_Penryn,model_IvyBridge,model_Westmere,model_Broadwell-noTSX,model_SandyBridge'
cpuModel = 'Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz'
cpuSockets = '1'
cpuSpeed = '2302.749'
cpuThreads = '2'
emulatedMachines = ['pc-i440fx-rhel7.1.0',
                   'pc-q35-rhel7.3.0',
                   'rhel6.3.0',
                   'pc-i440fx-rhel7.0.0',
                   'rhel6.1.0',
                   'rhel6.6.0',
                   'rhel6.2.0',
                   'pc',
                   'pc-i440fx-rhel7.3.0',
                   'q35',
                   'pc-i440fx-rhel7.2.0',
                   'rhel6.4.0',
                   'rhel6.0.0',
                   'rhel6.5.0']
...

Gianluca