
Andrey Gordeev aka dreyou 23.01.2013 18:35 пользователь "Michal Skrivanek" < michal.skrivanek@redhat.com> написал:
Tom, you should have qemu-kvm on Fedora, CentOS and such qemu-kvm-rhev on RHEL hosts are supposed to work with downstream RHEV
product. How did you get them there?
You can modify that if you want in vdsm/caps.py in _getKeyPackages() function
On Jan 23, 2013, at 15:23 , Andrey Gordeev <dreyou@gmail.com> wrote:
I'm corrected my vdms packages to pass qemu-kvm version to ovirt-engine.
Andrey, was there any change needed? If I'm reading the code correctly this should be the case. Or you mean some other modification?
Thanks, michal
I'm just added check for qemu-kvm-rhel, so _getKeyPackages now return qemu-kvm version in both cases. I'm built qemu-kvm-rhel from rhel rpms, because only with this package live snapshot working correctly in CentOS 6.3.
On Wed, Jan 23, 2013 at 6:18 PM, Tom Brown <tom@ng23.net> wrote: I mentioned these in the first post but they are CentOS 6.3's running
on dreyou's packages - the KVM packages are different between the nodes as indicated below
working
node002 ~]# rpm -qa | grep kvm qemu-kvm-tools-0.12.1.2-2.295.el6_3.8.x86_64 qemu-kvm-0.12.1.2-2.295.el6_3.8.x86_64
non working
node003 ~]# rpm -qa | grep kvm qemu-kvm-rhev-0.12.1.2-2.295.el6.10.x86_64 qemu-kvm-rhev-tools-0.12.1.2-2.295.el6.10.x86_64
cheers
Hi, so what is the OS on each server and what package is actually
installed there?
ie. the rpm name
Thanks, michal
On Jan 22, 2013, at 18:55 , Tom Brown <tom@ng23.net> wrote:
I think that it's a typo and the right command is: vdsClient . The second command doesn't have the typo :).
Working node
node002 ~]# vdsClient -s 0 getVdsCaps && vdsClient -s 0 getVdsStats
/tmp/node002.log
HBAInventory = {'iSCSI': [{'InitiatorName':
'iqn.1994-05.com.redhat:31b77320b5e6'}], 'FC': []}
ISCSIInitiatorName = iqn.1994-05.com.redhat:31b77320b5e6 bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500',
'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}}
bridges = {'ovirtmgmt': {'addr': '10.192.42.196', 'cfg':
{'DELAY': '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'ports': ['vnet0', 'vnet1', 'eth0', 'vnet2']}}
clusterLevels = ['3.0', '3.1', '3.2'] cpuCores = 4 cpuFlags =
fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn
cpuModel = Intel(R) Xeon(R) CPU W3520 @ 2.67GHz cpuSockets = 1 cpuSpeed = 2666.908 emulatedMachines = ['rhel6.3.0', 'pc', 'rhel6.2.0',
'rhel6.1.0', 'rhel6.0.0', 'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0']
guestOverhead = 65 hooks = {} kvmEnabled = true lastClient = 10.192.42.207 lastClientIface = ovirtmgmt management_ip = memSize = 7853 netConfigDirty = False networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr':
'10.192.42.196', 'cfg': {'DELAY': '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True, 'gateway': '10.192.42.1', 'ports': ['vnet0', 'vnet1', 'eth0', 'vnet2']}}
nics = {'eth0': {'addr': '', 'cfg': {'DEVICE': 'eth0',
'BRIDGE': 'ovirtmgmt', 'BOOTPROTO': 'dhcp', 'TYPE': 'Ethernet', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr': 'd4:85:64:09:34:08', 'speed': 1000}}
operatingSystem = {'release': '3.el6.centos.9', 'version': '6',
'name': 'RHEL'}
packages2 = {'kernel': {'release': '279.14.1.el6.x86_64',
'buildtime': 1352245389.0, 'version': '2.6.32'}, 'spice-server': {'release': '10.el6', 'buildtime': 1340375889, 'version': '0.10.1'}, 'vdsm': {'release': '0.77.20.el6', 'buildtime': 1351246440, 'version': '4.10.1'}, 'qemu-kvm': {'release': '2.295.el6_3.8', 'buildtime': 1354636067, 'version': '0.12.1.2'}, 'libvirt': {'release': '21.el6_3.6', 'buildtime': 1353577785, 'version': '0.9.10'}, 'qemu-img': {'release': '2.295.el6_3.8', 'buildtime': 1354636067, 'version': '0.12.1.2'}}
reservedMem = 321 software_revision = 0.77 software_version = 4.10 supportedENGINEs = ['3.0', '3.1'] supportedProtocols = ['2.2', '2.3'] uuid = 55414E03-C241-11DF-BBDA-64093408D485_d4:85:64:09:34:08 version_name = Snow Man vlans = {} vmTypes = ['kvm']
Non Working node
node003 ~]# vdsClient -s 0 getVdsCaps && vdsClient -s 0 getVdsStats HBAInventory = {'iSCSI': [{'InitiatorName':
'iqn.1994-05.com.redhat:9a7b944e2160'}], 'FC': []}
ISCSIInitiatorName = iqn.1994-05.com.redhat:9a7b944e2160 bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500',
'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond1': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}}
bridges = {'ovirtmgmt': {'addr': '10.192.42.144', 'cfg':
{'DELAY': '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'ports': ['vnet1', 'eth0', 'vnet0']}}
clusterLevels = ['3.0', '3.1', '3.2'] cpuCores = 4 cpuFlags =
fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn
cpuModel = Intel(R) Xeon(R) CPU W3520 @ 2.67GHz cpuSockets = 1 cpuSpeed = 2666.752 emulatedMachines = ['rhel6.3.0', 'pc', 'rhel6.2.0',
'rhel6.1.0', 'rhel6.0.0', 'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0']
guestOverhead = 65 hooks = {} kvmEnabled = true lastClient = 10.192.42.207 lastClientIface = ovirtmgmt management_ip = memSize = 7853 netConfigDirty = False networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr':
'10.192.42.144', 'cfg': {'DELAY': '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True, 'gateway': '10.192.42.1', 'ports': ['vnet1', 'eth0', 'vnet0']}}
nics = {'eth0': {'addr': '', 'cfg': {'DEVICE': 'eth0',
'BRIDGE': 'ovirtmgmt', 'BOOTPROTO': 'dhcp', 'TYPE': 'Ethernet', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr': 'd4:85:64:09:69:a3', 'speed': 1000}}
operatingSystem = {'release': '3.el6.centos.9', 'version': '6',
'name': 'RHEL'}
packages2 = {'kernel': {'release': '279.19.1.el6.x86_64',
'buildtime': 1355900720.0, 'version': '2.6.32'}, 'vdsm': {'release': '0.101.26.el6', 'buildtime': 1355214375, 'version': '4.10.2'}, 'spice-server': {'release': '10.el6', 'buildtime': 1340375889, 'version': '0.10.1'}, 'mom': {'release': '1.el6', 'buildtime': 1349470062, 'version': '0.3.0'}, 'libvirt': {'release': '21.el6_3.7', 'buildtime': 1355911188, 'version': '0.9.10'}}
reservedMem = 321 software_revision = 0.101 software_version = 4.10 supportedENGINEs = ['3.0', '3.1'] supportedProtocols = ['2.2', '2.3'] uuid = 3145CF64-C241-11DF-BBDA-640969A3D485_d4:85:64:09:69:a3 version_name = Snow Man vlans = {} vmTypes = ['kvm'] anonHugePages = 1884 cpuIdle = 98.38 cpuLoad = 0.24 cpuSys = 0.62 cpuSysVdsmd = 0.50 cpuUser = 1.00 cpuUserVdsmd = 1.00 dateTime = 2013-01-22T18:45:37 GMT diskStats = {'/var/log': {'free': '198189'}, '/var/log/core':
{'free': '198189'}, '/tmp': {'free': '923'}, '/var/run/vdsm/': {'free': '198189'}}
elapsedTime = 25374 generationID = 861d4e3e-d2e7-4e97-888f-02dca8e53a8b ksmCpu = 0 ksmPages = 100 ksmState = False memAvailable = 5526 memCommitted = 1666 memShared = 0 memUsed = 29 momStatus = active netConfigDirty = False network = {'bond4': {'macAddr': '', 'name': 'bond4',
'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'down', 'speed': '1000', 'rxDropped': '0'}, 'bond0': {'macAddr': '', 'name': 'bond0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'down', 'speed': '1000', 'rxDropped': '0'}, 'bond1': {'macAddr': '', 'name': 'bond1', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'down', 'speed': '1000', 'rxDropped': '0'}, 'eth0': {'macAddr': '', 'name': 'eth0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'up', 'speed': '1000', 'rxDropped': '0'}}
rxDropped = 0 rxRate = 0.00 statsAge = 0.04 storageDomains = {'2a1939bd-9fa3-4896-b8a9-46234172aae7':
{'delay': '0.00824308395386', 'lastCheck': '2.6', 'code': 0, 'valid': True}, 'ab686999-f320-4a61-ae07-e99c2f858996': {'delay': '0.00814294815063', 'lastCheck': '3.3', 'code': 0, 'valid': True}, '9cff8858-9188-42eb-b089-22f89719394d': {'delay': '0.00822806358337', 'lastCheck': '4.6', 'code': 0, 'valid': True}}
swapFree = 1951 swapTotal = 1951 thpState = always txDropped = 0 txRate = 0.00 vmActive = 2 vmCount = 2 vmMigrating = 0
thankyou _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Andrey Gordeev aka Dreyou.