I have installed IBM TPM, Trousers, OAT server and agent.
When Adding host , I am getting the following error
*"Trust Agent failed with code '1007' and message 'Trust Agent: Error
while creating identity.' [AS_TRUST_AGENT_ERROR] [1012]"*
"
i have reinstalled the OAT sever but still getting the same error
Regards,
Faraz
--------------------OAT Server Side error-------------
root@finalopenattestation:~# tail -f /var/log/tomcat7/catalina.out
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
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:745)
2014-12-02 16:18:25,776 ERROR [http-bio-8080-exec-7]
c.i.m.c.DemoPortalDataController [DemoPortalDataController.java:260] Trust
Agent failed with code '1007' and message 'Trust Agent: Error while
creating identity.' [AS_TRUST_AGENT_ERROR] [1012]
2014-12-02 16:20:20,386 INFO [http-bio-8080-exec-4] c.i.m.s.SecurityFilter
[SecurityFilter.java:45] SecurityFilter >>
org.apache.catalina.session.StandardSessionFacade@2aab9e05----
/getData/saveNewHostInfo.html
true
2014-12-02 16:20:20,388 INFO [http-bio-8080-exec-4] c.i.m.s.SecurityFilter
[SecurityFilter.java:58] User is logged in, forwarding request to
/getData/saveNewHostInfo.html
2014-12-02 16:20:20,390 INFO [http-bio-8080-exec-4]
c.i.m.c.DemoPortalDataController [DemoPortalDataController.java:215]
WLMDataController.saveNewHostInfo >>
{"hostId": null, "hostName": "tpmemulator.cloud.com", "hostIPAddress":
"192.168.137.141", "hostPort": "9999", "hostDescription": "", "biosName":
"NewMLE1", "biosBuildNo": "v123", "vmmName": "OS1 v1|KVM", "vmmBuildNo":
"v123", "updatedOn": null, "emailAddress": "", "location": null, "oemName":
"OEM1 "}
dataForNew : HostDetailsEntityVO [hostId=null, hostName=
tpmemulator.cloud.com, hostIPAddress=192.168.137.141, hostPort=9999,
hostDescription=, biosName=NewMLE1, biosBuildNo=v123, vmmName=OS1 v1|KVM,
vmmBuildNo=v123, updatedOn=Tue Dec 02 16:20:20 PKT 2014, emailAddress=,
location=null, oemName=OEM1 , vCenterDetails=null]
2014-12-02 16:20:20,544 INFO [http-bio-8181-exec-2]
c.i.m.a.h.ASComponentFactory [ASComponentFactory.java:41] Class not found:
java.lang.ClassNotFoundException:
com.intel.mtwilson.as.premium.PremiumHostBO
2014-12-02 16:20:20,548 INFO [http-bio-8181-exec-2]
c.i.m.j.PersistenceManager [PersistenceManager.java:87] PersistenceManager
is configured with 1 factories in getEntityManagerFactory
2014-12-02 16:20:20,556 INFO [http-bio-8181-exec-2]
c.i.m.j.PersistenceManager [PersistenceManager.java:87] PersistenceManager
is configured with 1 factories in getEntityManagerFactory
2014-12-02 16:20:20,607 INFO [http-bio-8181-exec-2] c.i.m.a.b.HostBO
[HostBO.java:68]
Getting Server Identity.
2014-12-02 16:20:20,609 INFO [http-bio-8181-exec-2]
c.i.m.a.h.TrustAgentSecureClient
[TrustAgentSecureClient.java:93] TrustAgentSecureClient url(
https://192.168.137.141:9999) hostname(192.168.137.141) port(9999)
2014-12-02 16:20:20,616 INFO [http-bio-8181-exec-2]
c.i.m.a.h.TrustAgentSecureClient [TrustAgentSecureClient.java:261] Sending
Generate Identity
2014-12-02 16:20:20,622 INFO [http-bio-8181-exec-2]
c.i.m.a.h.TrustAgentSecureClient [TrustAgentSecureClient.java:157] About to
start reading/writing to/from socket.
server certificate: CN=TrustAgent,OU=Mt Wilson,O=Customer,C=US
2014-12-02 16:20:20,810 INFO [http-bio-8181-exec-2]
c.i.m.t.TrustFirstCertificateTlsPolicy
[TrustFirstCertificateTlsPolicy.java:113] Saving certificate
CN=TrustAgent,OU=Mt Wilson,O=Customer,C=US
2014-12-02 16:20:21,473 INFO [http-bio-8181-exec-2]
c.i.m.a.h.TrustAgentSecureClient [TrustAgentSecureClient.java:162] Received
233 bytes to server and received them back again, msg = <client_request>
<vtime>Tue Dec 02 16:20:41 PKT
2014</vtime><clientIp>fe80:0:0:0:20c:29ff:fe8e:125a%2</clientIp><error_code>1007</error_code><error_message>Trust
Agent: Error while creating identity.</error_message></client_request>
2014-12-02 16:20:21,475 INFO [http-bio-8181-exec-2]
c.i.m.a.h.TrustAgentSecureClient [TrustAgentSecureClient.java:189]
Unmarshalling to Jaxb object.
2014-12-02 16:20:21,501 WARN [http-bio-8181-exec-2]
c.i.m.a.h.TrustAgentSecureClient [TrustAgentSecureClient.java:307] Trust
Agent Error 1007 [fe80:0:0:0:20c:29ff:fe8e:125a%2]: Trust Agent: Error
while creating identity.
2014-12-02 16:20:21,505 ERROR [http-bio-8080-exec-4]
c.i.m.S.DemoPortalServicesImpl [DemoPortalServicesImpl.java:264] Errror
While Adding New Host.Trust Agent failed with code '1007' and message
'Trust Agent: Error while creating identity.' [AS_TRUST_AGENT_ERROR]
com.intel.mtwilson.ApiException: Trust Agent failed with code '1007' and
message 'Trust Agent: Error while creating identity.'
[AS_TRUST_AGENT_ERROR]
at com.intel.mtwilson.ApiClient.error(ApiClient.java:289)
at com.intel.mtwilson.ApiClient.content(ApiClient.java:328)
at com.intel.mtwilson.ApiClient.text(ApiClient.java:348)
at com.intel.mtwilson.ApiClient.addHost(ApiClient.java:508)
at
com.intel.mountwilson.Service.DemoPortalServicesImpl.saveNewHostData(DemoPortalServicesImpl.java:261)
at
com.intel.mountwilson.controller.DemoPortalDataController.saveNewHostInfo(DemoPortalDataController.java:254)
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:473)
at
org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:410)
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:875)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
com.intel.mountwilson.security.SecurityFilter.doFilter(SecurityFilter.java:59)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
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:745)
2014-12-02 16:20:21,522 ERROR [http-bio-8080-exec-4]
c.i.m.c.DemoPortalDataController [DemoPortalDataController.java:260] Trust
Agent failed with code '1007' and message 'Trust Agent: Error while
creating identity.' [AS_TRUST_AGENT_ERROR] [1012]
-----------------------------OAT Agent /Client Side
log-------------------------------
791078 [main] INFO com.intel.mountwilson.trustagent.TASecureServer - Have
accepted new socket.
791798 [main] INFO com.intel.mountwilson.trustagent.BaseServer - Received
data from socket.
Dec 02, 2014 4:20:41 PM com.intel.mountwilson.his.helper.CreateIdentity
createIdentity
INFO: Home folder : /etc/intel/cloudsecurity/
Dec 02, 2014 4:20:41 PM com.intel.mountwilson.his.helper.CreateIdentity
createIdentity
INFO: Performing HIS identity provisioning...
Dec 02, 2014 4:20:41 PM gov.niarl.his.privacyca.TpmModule executeVer2Command
INFO: Reading properties
filefile:/etc/intel/cloudsecurity/TPMModule.properties
791911 [main] ERROR com.intel.mountwilson.trustagent.TrustAgent - Error in
processIdentityRequestInput
com.intel.mountwilson.common.TAException: Error while creating identity.
at
com.intel.mountwilson.trustagent.commands.CreateIdentityCmd.execute(CreateIdentityCmd.java:64)
at
com.intel.mountwilson.trustagent.TrustAgent.processIdentityRequestInput(TrustAgent.java:108)
at
com.intel.mountwilson.trustagent.TrustAgent.processRequest(TrustAgent.java:76)
at
com.intel.mountwilson.trustagent.BaseServer.handleConnection(BaseServer.java:91)
at
com.intel.mountwilson.trustagent.TASecureServer.waitForConnections(TASecureServer.java:79)
at
com.intel.mountwilson.trustagent.TASecureServer.main(TASecureServer.java:103)
Caused by: com.intel.mountwilson.his.helper.PrivacyCAException: FAILED
at
com.intel.mountwilson.his.helper.CreateIdentity.createIdentity(CreateIdentity.java:292)
at
com.intel.mountwilson.trustagent.commands.CreateIdentityCmd.execute(CreateIdentityCmd.java:56)
... 5 more
Caused by: java.lang.NumberFormatException: For input string: "LO"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at
gov.niarl.his.privacyca.TpmUtils.hexStringToByteArray(TpmUtils.java:871)
at
gov.niarl.his.privacyca.TpmModule.getCredential(TpmModule.java:639)
at
com.intel.mountwilson.his.helper.CreateIdentity.createIdentity(CreateIdentity.java:233)
... 6 more
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech