[Users] Missing CPU features : CpuFlags
Itamar Heim
iheim at redhat.com
Mon May 7 14:14:41 UTC 2012
On 05/07/2012 04:54 PM, Barry Kostjens wrote:
>
>
>
> Op 7 mei 2012, om 15:50 heeft Itamar Heim het volgende geschreven:
>
>> On 05/07/2012 04:02 PM, Barry Kostjens wrote:
>>>
>>>
>>> Op 7 mei 2012, om 14:51 heeft Itamar Heim het volgende geschreven:
>>>
>>>> On 05/07/2012 03:16 PM, Barry Kostjens wrote:
>>>>> Hello,
>>>>>
>>>>> I'm trying to add a ovirt node (using the ovirt node image) to ovirt-engine however, im getting: Host ovirt-node1 moved to Non-Operational state as host does not meet the cluster's minimum CPU level. Missing CPU features : CpuFlags
>>>>>
>>>>> These are my cpuflags, virtualisation is supported: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
>>>>>
>>>>> I guess the CPU is pre-conroe, how can I add this to virt engine?
>>>>>
>>>>> Im running ovirt-enige on Fedora 16, and the node is using ovirt node, both from http://www.ovirt.org/get-ovirt/
>>>>
>>>> what does 'vdsClient -s 0 getVdsCaps' shows for cpu flags when you run it on the ovirt node?
>>>
>>> vdsClient -s 0 getVdsCaps
>>> HBAInventory = {'iSCSI': [{'InitiatorName': 'iqn.1994-05.com.redhat:1efa9130664b'}], 'FC': []}
>>> ISCSIInitiatorName = iqn.1994-05.com.redhat:1efa9130664b
>>> bondings = {'bond4': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []}, 'bond0': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []}, 'bond1': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []}, 'bond2': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []}, 'bond3': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []}}
>>> clusterLevels = ['3.0']
>>> cpuCores = 4
>>> cpuFlags = fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,lm,constant_tsc,pebs,bts,nopl,pni,dtes64,monitor,ds_cpl,vmx,est,cid,cx16,xtpr,pdcm,lahf_lm,tpr_shadow,model_486,model_pentium,model_pentium2,model_pentium3,model_pentiumpro,model_qemu32,model_coreduo,model_Opteron_G1
>>> cpuModel = Intel(R) Xeon(TM) CPU 3.00GHz
>>> cpuSockets = 1
>>> cpuSpeed = 2992.569
>>> emulatedMachines = ['pc-0.14', 'pc', 'fedora-13', 'pc-0.13', 'pc-0.12', 'pc-0.11', 'pc-0.10', 'isapc', 'pc-0.14', 'pc', 'fedora-13', 'pc-0.13', 'pc-0.12', 'pc-0.11', 'pc-0.10', 'isapc']
>>> guestOverhead = 65
>>> hooks = {}
>>> kvmEnabled = true
>>> lastClient = 192.168.51.72
>>> lastClientIface = ovirtmgmt
>>> management_ip =
>>> memSize = 1939
>>> networks = {'ovirtmgmt': {'addr': '192.168.51.64', 'cfg': {'IPV6FORWARDING': 'no', 'DEVICE': 'ovirtmgmt', 'IPV6INIT': 'no', 'DELAY': '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'IPV6_AUTOCONF': 'no', 'PEERNTP': 'yes', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'ports': ['eth1'], 'netmask': '255.255.254.0', 'stp': 'off', 'gateway': '192.168.51.254'}}
>>> nics = {'eth3': {'hwaddr': '00:19:B9:E1:69:B7', 'netmask': '', 'speed': 0, 'addr': ''}, 'eth2': {'hwaddr': '00:15:17:2A:55:4F', 'netmask': '', 'speed': 0, 'addr': ''}, 'eth1': {'hwaddr': '00:19:B9:E1:69:B5', 'netmask': '', 'speed': 1000, 'addr': ''}, 'eth0': {'hwaddr': '00:15:17:2A:55:4E', 'netmask': '', 'speed': 0, 'addr': ''}}
>>> operatingSystem = {'release': '1', 'version': '16', 'name': 'oVirt Node'}
>>> packages2 = {'kernel': {'release': '4.fc16.x86_64', 'buildtime': 1332266740.0, 'version': '3.3.0'}, 'spice-server': {'release': '1.fc16', 'buildtime': '1327339129', 'version': '0.10.1'}, 'vdsm': {'release': '0.fc16', 'buildtime': '1328473568', 'version': '4.9.3.3'}, 'qemu-kvm': {'release': '4.fc16', 'buildtime': '1327954752', 'version': '0.15.1'}, 'libvirt': {'release': '5.fc16', 'buildtime': '1330876988', 'version': '0.9.6'}, 'qemu-img': {'release': '4.fc16', 'buildtime': '1327954752', 'version': '0.15.1'}}
>>> reservedMem = 321
>>> software_revision = 0
>>> software_version = 4.9
>>> supportedProtocols = ['2.2', '2.3']
>>> supportedRHEVMs = ['3.0']
>>> uuid = 44454C4C-3300-1036-8039-B3C04F59324A_00:15:17:2A:55:4E
>>> version_name = Snow Man
>>> vlans = {}
>>> vmTypes = ['kvm']
>>
>> and virsh capabilities?
>
> <capabilities>
>
> <host>
> <uuid>44454c4c-3300-1036-8039-b3c04f59324a</uuid>
> <cpu>
> <arch>x86_64</arch>
> <model>coreduo</model>
> <vendor>Intel</vendor>
> <topology sockets='1' cores='2' threads='2'/>
> <feature name='lahf_lm'/>
> <feature name='lm'/>
> <feature name='syscall'/>
> <feature name='xtpr'/>
> <feature name='cx16'/>
> <feature name='cid'/>
> <feature name='est'/>
> <feature name='vmx'/>
> <feature name='ds_cpl'/>
> <feature name='pbe'/>
> <feature name='tm'/>
> <feature name='ht'/>
> <feature name='ss'/>
> <feature name='acpi'/>
> <feature name='ds'/>
> <feature name='pse36'/>
> </cpu>
> <migration_features>
> <live/>
> <uri_transports>
> <uri_transport>tcp</uri_transport>
> </uri_transports>
> </migration_features>
> <topology>
> <cells num='1'>
> <cell id='0'>
> <cpus num='4'>
> <cpu id='0'/>
> <cpu id='1'/>
> <cpu id='2'/>
> <cpu id='3'/>
> </cpus>
> </cell>
> </cells>
> </topology>
> <secmodel>
> <model>selinux</model>
> <doi>0</doi>
> </secmodel>
> </host>
>
> <guest>
> <os_type>hvm</os_type>
> <arch name='i686'>
> <wordsize>32</wordsize>
> <emulator>/usr/bin/qemu</emulator>
> <machine>pc-0.14</machine>
> <machine canonical='pc-0.14'>pc</machine>
> <machine>fedora-13</machine>
> <machine>pc-0.13</machine>
> <machine>pc-0.12</machine>
> <machine>pc-0.11</machine>
> <machine>pc-0.10</machine>
> <machine>isapc</machine>
> <domain type='qemu'>
> </domain>
> <domain type='kvm'>
> <emulator>/usr/bin/qemu-kvm</emulator>
> <machine>pc-0.14</machine>
> <machine canonical='pc-0.14'>pc</machine>
> <machine>fedora-13</machine>
> <machine>pc-0.13</machine>
> <machine>pc-0.12</machine>
> <machine>pc-0.11</machine>
> <machine>pc-0.10</machine>
> <machine>isapc</machine>
> </domain>
> </arch>
> <features>
> <cpuselection/>
> <deviceboot/>
> <pae/>
> <nonpae/>
> <acpi default='on' toggle='yes'/>
> <apic default='on' toggle='no'/>
> </features>
> </guest>
>
> <guest>
> <os_type>hvm</os_type>
> <arch name='x86_64'>
> <wordsize>64</wordsize>
> <emulator>/usr/bin/qemu-system-x86_64</emulator>
> <machine>pc-0.14</machine>
> <machine canonical='pc-0.14'>pc</machine>
> <machine>fedora-13</machine>
> <machine>pc-0.13</machine>
> <machine>pc-0.12</machine>
> <machine>pc-0.11</machine>
> <machine>pc-0.10</machine>
> <machine>isapc</machine>
> <domain type='qemu'>
> </domain>
> <domain type='kvm'>
> <emulator>/usr/bin/qemu-kvm</emulator>
> <machine>pc-0.14</machine>
> <machine canonical='pc-0.14'>pc</machine>
> <machine>fedora-13</machine>
> <machine>pc-0.13</machine>
> <machine>pc-0.12</machine>
> <machine>pc-0.11</machine>
> <machine>pc-0.10</machine>
> <machine>isapc</machine>
> </domain>
> </arch>
> <features>
> <cpuselection/>
> <deviceboot/>
> <acpi default='on' toggle='yes'/>
> <apic default='on' toggle='no'/>
> </features>
> </guest>
>
> </capabilities>
>
>
ok, indeed an old host.
the below config is what we used before going to the 'model' approach,
so you can try this out (though highly recommended for newer cpu since
they improved virt support in each generation)
set the ServerCPUList config to this string for the relevant cluster
compatibility level.
I'm not sure upgrade won't override this for you though, so pay
attention on upgrades to such a low level tweak (it's config, but not
all configs are really expected to be changed by user)
'2:Intel Xeon w/o XD/NX:vmx,sse2:qemu64,-nx,+sse2; 3:Intel
Xeon:vmx,sse2,nx:qemu64,+sse2; 4:Intel Conroe
Family:vmx,sse2,nx,cx16,ssse3:qemu64,+sse2,+cx16,+ssse3; 5:Intel Penryn
Family:vmx,sse2,nx,cx16,ssse3,sse4_1:qemu64,+sse2,+cx16,+ssse3,+sse4.1;
6:Intel Nehalem
Family:vmx,sse2,nx,cx16,ssse3,sse4_1,sse4_2,popcnt:qemu64,+sse2,+cx16,+ssse3,+sse4.1,+sse4.2,+popcnt;
2:AMD Opteron G1 w/o NX:svm,sse2:qemu64,-nx,+sse2; 3:AMD Opteron
G1:svm,sse2,nx:qemu64,+sse2; 4:AMD Opteron
G2:svm,sse2,nx,cx16:qemu64,+sse2,+cx16; 5:AMD Opteron
G3:svm,sse2,nx,cx16,sse4a,misalignsse,popcnt,abm:qemu64,+sse2,+cx16,+sse4a,+misalignsse,+popcnt,+abm;'
More information about the Users
mailing list