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.
>