Hello,

I've sent a patch and the suits fails without any connection to my patch.
When we look at the log hosted_engine_setup, we see the following message: Setting CPU for the cluster

https://jenkins.ovirt.org/job/ovirt-system-tests_standard-check-patch/1419/artifact/exported-artifacts/check-patch.he-basic-iscsi_suite_master.el7.x86_64/test_logs/he-basic-iscsi-suite-master/post-he_deploy/lago-he-basic-iscsi-suite-master-host-0/_var_log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180703073604-8m7f42.log/*view*
2018-07-03 07:55:30,483-0400 DEBUG otopi.plugins.gr_he_setup.engine.add_host add_host._closeup:712 Setting CPU for the cluster
2018-07-03 07:55:30,558-0400 DEBUG otopi.plugins.gr_he_setup.engine.add_host add_host._closeup:718 {'_level': None, '_type': 'Intel SandyBridge Family', '_architecture': <Architecture.X86_64: 'x86_64'>, '_href': None, '_mode': None, '_topology': None, '_speed': None, '_name': None, '_cores': None, '_cpu_tune': None}
2018-07-03 07:55:31,736-0400 DEBUG otopi.plugins.gr_he_setup.engine.add_host add_host._closeup:729 Cannot set CPU level of cluster Default
Traceback (most recent call last):
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/engine/add_host.py", line 723, in _closeup
    ).update(cluster)
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 3750, in update
    return self._internal_update(cluster, headers, query, wait)
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 253, in _internal_update
    return future.wait() if wait else future
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 55, in wait
    return self._code(response)
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 250, in callback
    self._check_fault(response)
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 132, in _check_fault
    self._raise_error(response, body)
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 118, in _raise_error
    raise error
Error: Fault reason is "Operation Failed". Fault detail is "[General command validation failure.]". HTTP response code is 500.
2018-07-03 07:55:31,794-0400 DEBUG otopi.context context._executeMethod:143 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/engine/add_host.py", line 737, in _closeup
    details=e.detail
AttributeError: 'Error' object has no attribute 'detail'
2018-07-03 07:55:31,802-0400 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Closing up': 'Error' object has no attribute 'detail'
2018-07-03 07:55:31,803-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN
2018-07-03 07:55:31,803-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'True'
2018-07-03 07:55:31,803-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.AttributeError'>, AttributeError("'Error' object has no attribute 'detail'",), <traceback object at 0x7f43665245f0>)]'


And another error message in the ovirt engine
Null pointer exception
https://jenkins.ovirt.org/job/ovirt-system-tests_standard-check-patch/1419/artifact/exported-artifacts/check-patch.he-basic-iscsi_suite_master.el7.x86_64/test_logs/he-basic-iscsi-suite-master/post-he_deploy/lago-he-basic-iscsi-suite-master-engine/_var_log/ovirt-engine/engine.log

2018-07-03 07:55:31,676-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-27) [6f256515] EVENT_ID: VDS_DETECTED(13), Status of host lago-he-basic-iscsi-suite-master-host-0 was set to Up.
2018-07-03 07:55:31,684-04 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-27) [6f256515] EVENT_ID: VDS_ALERT_FENCE_IS_NOT_CONFIGURED(9,000), Failed to verify Power Management configuration for Host lago-he-basic-iscsi-suite-master-host-0.
2018-07-03 07:55:31,665-04 ERROR [org.ovirt.engine.core.bll.UpdateClusterCommand] (default task-16) [e812ba3c-3af6-4fa8-9fee-c0a1e89db4db] Error during ValidateFailure.: java.lang.NullPointerException
	at org.ovirt.engine.core.bll.UpdateClusterCommand.getEmulatedMachineOfHostInCluster(UpdateClusterCommand.java:442) [bll.jar:]
	at org.ovirt.engine.core.bll.UpdateClusterCommand.isSupportedEmulatedMachinesMatchClusterLevel(UpdateClusterCommand.java:705) [bll.jar:]
	at org.ovirt.engine.core.bll.UpdateClusterCommand.validate(UpdateClusterCommand.java:606) [bll.jar:]
	at org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:779) [bll.jar:]
	at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:393) [bll.jar:]
	at org.ovirt.engine.core.bll.executor.DefaultBackendActionExecutor.execute(DefaultBackendActionExecutor.java:13) [bll.jar:]
	at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:450) [bll.jar:]
	at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:432) [bll.jar:]
	at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:387) [bll.jar:]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_171]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_171]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_171]
	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_171]
	at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
	at org.jboss.as.weld.ejb.DelegatingInterceptorInvocationContext.proceed(DelegatingInterceptorInvocationContext.java:92) [wildfly-weld-ejb-11.0.0.Final.jar:11.0.0.Final]
	at org.jboss.weld.interceptor.proxy.WeldInvocationContext.interceptorChainCompleted(WeldInvocationContext.java:98) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
	at org.jboss.weld.interceptor.proxy.WeldInvocationContext.proceed(WeldInvocationContext.java:117) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
	at org.ovirt.engine.core.common.di.interceptor.LoggingInterceptor.apply(LoggingInterceptor.java:12) [common.jar:]
	at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source) [:1.8.0_171]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_171]
	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_171]
	at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:73) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
	at org.jboss.weld.interceptor.proxy.WeldInvocationContext.invokeNext(WeldInvocationContext.java:83) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
	at org.jboss.weld.interceptor.proxy.WeldInvocationContext.proceed(WeldInvocationContext.java:115) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
	at org.jboss.weld.bean.InterceptorImpl.intercept(InterceptorImpl.java:108) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
	at org.jboss.as.weld.ejb.DelegatingInterceptorInvocationContext.proceed(DelegatingInterceptorInvocationContext.java:82) [wildfly-weld-ejb-11.0.0.Final.jar:11.0.0.Final]
	at org.jboss.as.weld.interceptors.EjbComponentInterceptorSupport.delegateInterception(EjbComponentInterceptorSupport.java:60)
	at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:76)
	at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:88)
	at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:101)
	at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)

any idea?

Galit


--

GALIT ROSENTHAL

SOFTWARE ENGINEER

Red Hat 

grosenth@redhat.com    T: 972-9-7692230