Hello,
When importing a whitelist MLE I am getting the following error:
Error during communication with the host. Please verify the host
parameters. NullPointerException. [MS_HOST_COMMUNICATION_ERROR] [3201]
Follow attached the printscreen of the registration attempt.
The server and the agent are apparently working well. I can navigate
through all the tabs on the server and also issue request to the agent
(including get tpm quote).
The server communicate with the agent as we can see in the log below when
it get the host info.
Does anyone know what is the problem and how to solve it?
2016-05-17 13:37:55,840 INFO [http-bio-8443-exec-5] c.i.m.s.SecurityFilter
[SecurityFilter.java:225] SecurityFilter >>
org.apache.catalina.session.StandardSessionFacade@c0ffd40----
/getData/uploadWhiteListConfiguration.html
whiteListConfigVO>>WhiteListConfig [biosWhiteList=true, vmmWhiteList=true,
biosWLTarget=BIOS_OEM, vmmWLTarget=VMM_OEM, biosPCRs=0,17, vmmPCRs=18,
hostLocation=null, registerHost=true]
2016-05-17 13:37:55,843 INFO [http-bio-8443-exec-5]
c.i.m.S.ManagementConsoleServicesImpl
[ManagementConsoleServicesImpl.java:70]
ManagementConsoleServicesImpl.saveWhiteListConfiguration >>
2016-05-17 13:37:55,855 WARN [http-bio-8443-exec-4]
c.i.m.s.a.h.IniHostRealm [IniHostRealm.java:66] IniHostRealm.allow is not
set; host-based authentication disabled
2016-05-17 13:37:55,855 WARN [http-bio-8443-exec-4]
c.i.m.s.LoggingAtLeastOneSuccessfulStrategy
[LoggingAtLeastOneSuccessfulStrategy.java:70] no principal collection or
realm names
2016-05-17 13:37:55,856 WARN [http-bio-8443-exec-4]
c.i.m.s.a.x.X509AuthenticationFilter [X509AuthenticationFilter.java:277]
Authorization is missing realm
2016-05-17 13:37:55,856 INFO [http-bio-8443-exec-4]
c.i.m.s.a.x.X509AuthenticationFilter [X509AuthenticationFilter.java:118]
X509CertificateAuthorization: Request timestamp ok
2016-05-17 13:37:55,876 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,877 WARN [http-bio-8443-exec-4]
c.i.m.s.a.h.IniHostRealm [IniHostRealm.java:48] IniHostRealm.allow is not
set; host-based authorization disabled
2016-05-17 13:37:55,877 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,889 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,890 WARN [http-bio-8443-exec-4]
c.i.m.s.a.h.IniHostRealm [IniHostRealm.java:48] IniHostRealm.allow is not
set; host-based authorization disabled
2016-05-17 13:37:55,890 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,904 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,906 WARN [http-bio-8443-exec-4]
c.i.m.s.a.h.IniHostRealm [IniHostRealm.java:48] IniHostRealm.allow is not
set; host-based authorization disabled
2016-05-17 13:37:55,912 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,941 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,942 WARN [http-bio-8443-exec-4]
c.i.m.s.a.h.IniHostRealm [IniHostRealm.java:48] IniHostRealm.allow is not
set; host-based authorization disabled
2016-05-17 13:37:55,942 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,952 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,953 WARN [http-bio-8443-exec-4]
c.i.m.s.a.h.IniHostRealm [IniHostRealm.java:48] IniHostRealm.allow is not
set; host-based authorization disabled
2016-05-17 13:37:55,956 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,984 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:55,985 WARN [http-bio-8443-exec-4]
c.i.m.s.a.h.IniHostRealm [IniHostRealm.java:48] IniHostRealm.allow is not
set; host-based authorization disabled
2016-05-17 13:37:55,986 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:56,001 WARN [http-bio-8443-exec-4]
c.i.m.t.p.f.TlsPolicyFactory [TlsPolicyFactory.java:207] Invalid
tlsPolicyId:
2016-05-17 13:37:56,002 INFO [http-bio-8443-exec-4]
c.i.d.c.j.PersistenceManager [PersistenceManager.java:77]
PersistenceManager is configured with 3 factories in getEntityManagerFactory
May 17, 2016 1:37:56 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * LoggingFilter - Request received on thread http-bio-8443-exec-4
1 > GET
https://10.30.0.21:1443/v2/host
1 > Accept: application/json
1 > Authorization: Basic bXR3aWxzb246
May 17, 2016 1:37:56 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * LoggingFilter - Response received on thread http-bio-8443-exec-4
2 < 200
2 < Content-Length: 251
2 < Expires: Thu, 01 Jan 1970 00:00:00 GMT
2 < Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Mon,
16-May-2016 16:37:57 GMT,JSESSIONID=l1118jeuiz3a1d3mgkxhwwubd;Path=/;Secure
2 < Content-Type: application/json
2 < Server: Jetty(9.1.0.RC2)
{"timestamp":1463503077816,"error_code":"OK","error_message":"OK","os_name":"Ubuntu","os_version":"14.04","bios_oem":"Dell
Inc.","bios_version":"1.2.7","processor_info":" E3
06 05 00 FF FB EB
BF","hardware_uuid":"4C4C4544-005A-4410-8058-C4C04F394232"}
2016-05-17 13:37:56,265 ERROR [http-bio-8443-exec-4] c.i.m.m.b.HostBO
[HostBO.java:730] Unexpected error in configureWhiteListFromCustomData: null
2016-05-17 13:37:56,266 ERROR [http-bio-8443-exec-4] c.i.m.m.b.HostBO
[HostBO.java:914] Error during white list configuration.
MS_HOST_COMMUNICATION_ERROR :Error during communication with the host.
Please verify the host parameters. NullPointerException.
2016-05-17 13:37:56,268 ERROR [http-bio-8443-exec-5]
c.i.m.S.ManagementConsoleServicesImpl
[ManagementConsoleServicesImpl.java:124] Failed to configure whitelist:
Error during communication with the host. Please verify the host
parameters. NullPointerException. [MS_HOST_COMMUNICATION_ERROR]
com.intel.mtwilson.api.ApiException: Error during communication with the
host. Please verify the host parameters. NullPointerException.
[MS_HOST_COMMUNICATION_ERROR]
at com.intel.mtwilson.ApiClient.error(ApiClient.java:471)
at com.intel.mtwilson.ApiClient.content(ApiClient.java:511)
at com.intel.mtwilson.ApiClient.text(ApiClient.java:528)
at com.intel.mtwilson.ApiClient.configureWhiteList(ApiClient.java:1530)
at
com.intel.mountwilson.Service.ManagementConsoleServicesImpl.saveWhiteListConfiguration(ManagementConsoleServicesImpl.java:121)
at
com.intel.mountwilson.controller.ManagementConsoleDataController.uploadWhiteListConfiguration(ManagementConsoleDataController.java:286)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
at
org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.intel.mountwilson.security.SecurityFilter.doFilter(SecurityFilter.java:253)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2016-05-17 13:37:56,274 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:56,275 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.
2016-05-17 13:37:56,276 INFO [http-bio-8443-exec-4]
o.a.s.r.AuthorizingRealm [AuthorizingRealm.java:248] No cache or
cacheManager properties have been set. Authorization cache cannot be
obtained.