Created attachment 676834 [details] logs under /var/log/ovirt-engine/host-deploy Description of problem: --------------------------------------- When trying to add a host to a gluster-cluster from RHEVM, it goes to non-operational state. It is a RHS 2.0plus (RHEL 6.2) based node with the following version of glusterfs installed - glusterfs-3.4.0qa5-1.el6rhs.x86_64 The following is the version of vdsm used - vdsm-4.9.6-32.0.qa3.el6rhs.x86_64 The following is the version of libvirt used - libvirt-0.9.10-21.el6_3.6.x86_64 Version-Release number of selected component (if applicable): oVirt Engine Version: 3.2.0-4.el6ev How reproducible: Steps to Reproduce: 1. Add a host to a gluster-cluster from RHEVM. Actual results: Host goes to Non-Operational state. Expected results: Host should be successfully added. Additional info:
Created attachment 676835 [details] engine logs
I don't think it has nothing to do with deploy. 2013-01-11 17:40:00,082 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand] (QuartzScheduler_Worker-58) [6c426c65] START, GetHardwareInfoVDSCommand(HostName = 10.70.35.112, HostId = 3db8e38e-31ab-4896-8649-087689ea1e14, vds=org.ovirt.engine.core.common.businessentities.VDS@f474674d), log id: 5cac5a09 2013-01-11 17:40:00,105 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] (QuartzScheduler_Worker-58) [6c426c65] XML RPC error in command GetHardwareInfoVDS ( HostName = 10.70.35.112 ), the error was: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException, <type 'exceptions.Exception'>:method "getVdsHardwareInfo" is not supported 2013-01-11 17:40:00,105 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand] (QuartzScheduler_Worker-58) [6c426c65] FINISH, GetHardwareInfoVDSCommand, log id: 5cac5a09 2013-01-11 17:40:00,140 INFO [org.ovirt.engine.core.bll.HandleVdsVersionCommand] (QuartzScheduler_Worker-58) [1fd4e637] Running command: HandleVdsVersionCommand internal: true. Entities affected : ID: 3db8e38e-31ab-4896-8649-087689ea1e14 Type: VDS 2013-01-11 17:40:00,179 INFO [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] (QuartzScheduler_Worker-58) [61692379] Running command: SetNonOperationalVdsCommand internal: true. Entities affected : ID: 3db8e38e-31ab-4896-8649-087689ea1e14 Type: VDS 2013-01-11 17:40:00,181 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (QuartzScheduler_Worker-58) [61692379] START, SetVdsStatusVDSCommand(HostName = 10.70.35.112, HostId = 3db8e38e-31ab-4896-8649-087689ea1e14, status=NonOperational, nonOperationalReason=VERSION_INCOMPATIBLE_WITH_CLUSTER), log id: 72b1f85f 2013-01-11 17:40:00,183 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (QuartzScheduler_Worker-58) [61692379] FINISH, SetVdsStatusVDSCommand, log id: 72b1f85f 2013-01-11 17:40:00,213 INFO [org.ovirt.engine.core.vdsbroker.ActivateVdsVDSCommand] (QuartzScheduler_Worker-58) [61692379] FINISH, ActivateVdsVDSCommand, log id: 5f973077
Sorry, I assigned this for barak, and it was reset. Barak, This has something to do with the hardware info query.
the VDSM version is 3.1. GetHardwareInfoVDSCommand should not be used on a 3.1 cluster level.
(In reply to comment #4) > the VDSM version is 3.1. GetHardwareInfoVDSCommand should not be used on a > 3.1 cluster level. Or it should be used, but not fail.
GetHardwareInfoVDSCommand is not called by the engine when using 3.1 cluster level. I verified it again with gluster service enabled. If you add host with older vdsm version than 3.2 to cluster 3.2, the hardware information request fails. This senerio includes old version of vdsm on the host that was added to 3.2 cluster and was asked to retrieve the hardware information, this request failed and the engine set the host to non-operational as it supposed to.
Request for getHardwareInfo shouldn't appear in this case. Validating VDSM cluster support level wasn't there, only cluster capability was checked. This http://gerrit.ovirt.org/#/c/11027/ adds it.
Merged upstream http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=08d6a085218ce4bbe5ce567105df624b009e6cf5
Verified in Red Hat Enterprise Virtualization Manager Version: 3.2.0-10.14.beta1.el6ev. GetHardwareInfoVDSCommand is not run, and the host goes to Non-Operational state.
3.2 has been released