
Thanks. -----Original Message----- From: Haim Ateya [mailto:hateya@redhat.com] Sent: Sunday, May 20, 2012 5:28 PM To: зоррыч Cc: users@ovirt.org Subject: Re: [Users] Host status in non operational ----- Original Message -----
From: "зоррыч" <zorro@megatrone.ru> To: users@ovirt.org Sent: Sunday, May 20, 2012 4:03:35 PM Subject: [Users] Host status in non operational
copy\paste from different thread: This issue was introduced in Ic7b4a63a974bfc301f3294603d8fe91f534b74dd (http://gerrit.ovirt.org/4284), we are currently working to resolve this issue and patch will be sent soon. meantime, you can edit /usr/share/vdsm/dsaversion.py and change the following fields: software_version = "4.9" software_revision = "0 restart vdsmd service and activate host again.
Hi.
I installed ovirt and vdsm version:
[root@noc-2 vds]# rpm -qa | grep ovirt-engine
ovirt-engine-image-uploader-3.1.0_0001-1.8.el6.x86_64
ovirt-engine-3.1.0_0001-1.8.el6.noarch
ovirt-engine-restapi-3.1.0_0001-1.8.el6.noarch
ovirt-engine-notification-service-3.1.0_0001-1.8.el6.noarch
ovirt-engine-jboss-deps-3.1.0_0001-1.8.el6.noarch
ovirt-engine-userportal-3.1.0_0001-1.8.el6.noarch
ovirt-engine-tools-common-3.1.0_0001-1.8.el6.noarch
ovirt-engine-setup-plugin-allinone-3.1.0_0001-1.8.el6.noarch
ovirt-engine-jbossas-1.2-2.fc16.x86_64
ovirt-engine-log-collector-3.1.0_0001-1.8.el6.x86_64
ovirt-engine-setup-3.1.0_0001-1.8.el6.noarch
ovirt-engine-iso-uploader-3.1.0_0001-1.8.el6.x86_64
ovirt-engine-dbscripts-3.1.0_0001-1.8.el6.noarch
ovirt-engine-sdk-1.3-1.el6.noarch
ovirt-engine-backend-3.1.0_0001-1.8.el6.noarch
ovirt-engine-config-3.1.0_0001-1.8.el6.noarch
ovirt-engine-genericapi-3.1.0_0001-1.8.el6.noarch
ovirt-engine-webadmin-portal-3.1.0_0001-1.8.el6.noarch
[root@noc-2 vds]# rpm -qa | grep vdsm
vdsm-python-4.9.6-0.223.gitb3c6b0c.el6.x86_64
vdsm-bootstrap-4.9.6-0.223.gitb3c6b0c.el6.noarch
vdsm-4.9.6-0.223.gitb3c6b0c.el6.x86_64
After installation, the host announces ovirt version incompatibility:
Host status: Non Operational.
Host 10.1.20.7 is compatible with versions (3.0,3.1) and cannot join Cluster vbn which is set to version 3.0.
I've tried all versions (2.2,3.0,3.1)
But the error was issued at all times
Logs:
Engine.log:
2012-05-20 08:53:21,849 INFO [org.ovirt.engine.core.bll.ActivateVdsCommand] (pool-5-thread-49) [766571c0] Running command: ActivateVdsCommand internal: false. Entities affected : ID: d1337760-a26b-11e1-80e1-001cc43ceea0 Type: VDS
2012-05-20 08:53:21,853 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-5-thread-49) [766571c0] START, SetVdsStatusVDSCommand(vdsId = d1337760-a26b-11e1-80e1-001cc43ceea0, status=Unassigned, nonOperationalReason=NONE), log id: 2acd340f
2012-05-20 08:53:21,860 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-5-thread-49) [766571c0] FINISH, SetVdsStatusVDSCommand, log id: 2acd340f
2012-05-20 08:53:21,866 INFO [org.ovirt.engine.core.vdsbroker.ActivateVdsVDSCommand] (pool-5-thread-49) [766571c0] START, ActivateVdsVDSCommand(vdsId = d1337760-a26b-11e1-80e1-001cc43ceea0), log id: 28c7b18a
2012-05-20 08:53:22,043 INFO [org.ovirt.engine.core.bll.HandleVdsCpuFlagsOrClusterChangedCommand] (pool-5-thread-49) [75812e5c] Running command: HandleVdsCpuFlagsOrClusterChangedCommand internal: true. Entities affected : ID: d1337760-a26b-11e1-80e1-001cc43ceea0 Type: VDS
2012-05-20 08:53:22,047 INFO [org.ovirt.engine.core.bll.HandleVdsVersionCommand] (pool-5-thread-49) [41590c3c] Running command: HandleVdsVersionCommand internal: true. Entities affected : ID: d1337760-a26b-11e1-80e1-001cc43ceea0 Type: VDS
2012-05-20 08:53:22,051 INFO [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] (pool-5-thread-49) [7fa82b1c] Running command: SetNonOperationalVdsCommand internal: true. Entities affected : ID: d1337760-a26b-11e1-80e1-001cc43ceea0 Type: VDS
2012-05-20 08:53:22,052 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-5-thread-49) [7fa82b1c] START, SetVdsStatusVDSCommand(vdsId = d1337760-a26b-11e1-80e1-001cc43ceea0, status=NonOperational, nonOperationalReason=VERSION_INCOMPATIBLE_WITH_CLUSTER), log id: 35b54ad
2012-05-20 08:53:22,056 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-5-thread-49) [7fa82b1c] FINISH, SetVdsStatusVDSCommand, log id: 35b54ad
2012-05-20 08:53:22,071 INFO [org.ovirt.engine.core.vdsbroker.ActivateVdsVDSCommand] (pool-5-thread-49) [7fa82b1c] FINISH, ActivateVdsVDSCommand, log id: 28c7b18a
Vdsm.log(host):
Thread-49::DEBUG::2012-05-20 08:52:22,419::BindingXMLRPC::849::vds::(wrapper) client [10.1.20.2]::call getCapabilities with () {} flowID [766571c0]
Thread-49::DEBUG::2012-05-20 08:52:22,448::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n" qemu-kvm' (cwd None)
Thread-49::DEBUG::2012-05-20 08:52:22,471::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0
Thread-49::DEBUG::2012-05-20 08:52:22,472::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n" qemu-img' (cwd None)
Thread-49::DEBUG::2012-05-20 08:52:22,494::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0
Thread-49::DEBUG::2012-05-20 08:52:22,495::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n" vdsm' (cwd None)
Thread-49::DEBUG::2012-05-20 08:52:22,515::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0
Thread-49::DEBUG::2012-05-20 08:52:22,516::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n" spice-server' (cwd None)
Thread-49::DEBUG::2012-05-20 08:52:22,537::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0
Thread-49::DEBUG::2012-05-20 08:52:22,537::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n" libvirt' (cwd None)
Thread-49::DEBUG::2012-05-20 08:52:22,559::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0
Thread-49::DEBUG::2012-05-20 08:52:22,560::BindingXMLRPC::855::vds::(wrapper) return getCapabilities with {'status': {'message': 'Done', 'code': 0}, 'info': {'HBAInventory': {'iSCSI': [{'InitiatorName': 'iqn.1994-05.com.redhat:611daaf46d7e'}], 'FC': []}, 'packages2': {'kernel': {'release': '220.7.1.el6.x86_64', 'buildtime': 1331066733.0, 'version': '2.6.32'}, 'spice-server': {'release': '5.el6', 'buildtime': '1323492018', 'version': '0.8.2'}, 'vdsm': {'release': '0.223.gitb3c6b0c.el6', 'buildtime': '1337453261', 'version': '4.9.6'}, 'qemu-kvm': {'release': '2.209.el6_2.4', 'buildtime': '1327361568', 'version': '0.12.1.2'}, 'libvirt': {'release': '23.el6', 'buildtime': '1323231757', 'version': '0.9.4'}, 'qemu-img': {'release': '2.209.el6_2.4', 'buildtime': '1327361568', 'version': '0.12.1.2'}}, 'cpuModel': 'Intel(R) Xeon(R) CPU 5140 @ 2.33GHz', 'hooks': {}, 'vmTypes': ['kvm'], 'supportedProtocols': ['2.2', '2.3'], 'networks': {'ovirtmgmt': {'addr': '10.1.20.7', 'cfg': {'IPV6_AUTOCONF': 'yes', 'IPV6INIT': 'yes', 'SKIPLIBVIRT': 'True', 'DELAY': '0', 'NM_CONTROLLED': 'yes', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True, 'gateway': '10.1.20.1', 'ports': ['eth0.20']}, 'vlan58': {'addr': '', 'cfg': {'DELAY': '0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'vlan58', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off', 'bridged': True, 'gateway': '0.0.0.0', 'ports': ['eth0.58']}, 'vlan56': {'addr': '', 'cfg': {'DELAY': '0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'vlan56', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off', 'bridged': True, 'gateway': '0.0.0.0', 'ports': ['eth0.56']}, 'vlan57': {'addr': '', 'cfg': {'DELAY': '0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'vlan57', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off', 'bridged': True, 'gateway': '0.0.0.0', 'ports': ['eth0.57']}, 'vlan54': {'addr': '', 'cfg': {'DELAY': '0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'vlan54', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off', 'bridged': True, 'gateway': '0.0.0.0', 'ports': ['eth0.54']}, 'vlan55': {'addr': '', 'cfg': {'DELAY': '0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'vlan55', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off', 'bridged': True, 'gateway': '0.0.0.0', 'ports': ['eth0.55']}, 'vm53': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'stp': 'off', 'bridged': True, 'gateway': '0.0.0.0', 'ports': ['eth0.53']}}, 'uuid': '068FD200-06AF-7318-06AF-73180A8F5201_00:1c:c4:74:94:f0', 'lastClientIface': 'ovirtmgmt', 'nics': {'eth1': {'hwaddr': '00:1c:c4:74:94:f1', 'netmask': '', 'speed': 0, 'addr': '', 'mtu': '1500'}, 'eth0': {'hwaddr': '00:1c:c4:74:94:f0', 'netmask': '', 'speed': 1000, 'addr': '', 'mtu': '1500'}}, 'software_revision': '0.223.gitb3c6b0c', 'management_ip': '', 'clusterLevels': ['3.0', '3.1'], 'cpuFlags': u'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,lm,constant _tsc,arch_perfmon,pebs,bts,rep_good,aperfmperf,pni,dtes64,monitor,ds_c pl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,lahf_lm,dts,tpr_shadow,model_C onroe', 'ISCSIInitiatorName': 'iqn.1994-05.com.redhat:611daaf46d7e', 'memSize': '15949', 'reservedMem': '321', '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'}, 'bond2': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond3': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}}, 'software_version': '4.9.6', 'cpuSpeed': '2327.495', 'cpuSockets': '1', 'vlans': {'eth0.58': {'netmask': '', 'iface': 'eth0', 'addr': '', 'mtu': '1500'}, 'eth0.57': {'netmask': '', 'iface': 'eth0', 'addr': '', 'mtu': '1500'}, 'eth0.56': {'netmask': '', 'iface': 'eth0', 'addr': '', 'mtu': '1500'}, 'eth0.55': {'netmask': '', 'iface': 'eth0', 'addr': '', 'mtu': '1500'}, 'eth0.54': {'netmask': '', 'iface': 'eth0', 'addr': '', 'mtu': '1500'}, 'eth0.53': {'netmask': '', 'iface': 'eth0', 'addr': '', 'mtu': '1500'}, 'eth0.20': {'netmask': '', 'iface': 'eth0', 'addr': '', 'mtu': '1500'}}, 'cpuCores': '2', 'kvmEnabled': 'true', 'guestOverhead': '65', 'supportedRHEVMs': ['3.0'], 'version_name': 'Snow Man', 'emulatedMachines': [u'rhel6.2.0', u'pc', u'rhel6.1.0', u'rhel6.0.0', u'rhel5.5.0', u'rhel5.4.4', u'rhel5.4.0'], 'operatingSystem': {'release': '1.1', 'version': '6.2', 'name': 'oVirt Node'}, 'lastClient': '10.1.20.2'}}.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users