[ 
https://issues.apache.org/jira/browse/AIRAVATA-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15609694#comment-15609694
 ] 

Marcus Christie edited comment on AIRAVATA-2156 at 10/27/16 12:47 PM:
----------------------------------------------------------------------

Trying to use the new generateAndRegisterSSHKeysWithDescription API method but 
it fails. This is in the airavata.log
{noformat}
2016-10-26 16:59:25,671 [pool-6-thread-48] ERROR 
org.apache.airavata.api.server.handler.AiravataServerHandler  - Error occurred 
while registering SSH Credential
org.apache.thrift.transport.TTransportException
        at 
org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
        at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
        at 
org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
        at 
org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
        at 
org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:77)
        at 
org.apache.airavata.credential.store.cpi.CredentialStoreService$Client.recv_addSSHCredential(CredentialStoreService.java:191)
        at 
org.apache.airavata.credential.store.cpi.CredentialStoreService$Client.addSSHCredential(CredentialStoreService.java:178)
        at 
org.apache.airavata.api.server.handler.AiravataServerHandler.generateAndRegisterSSHKeysWithDescription(AiravataServerHandler.java:474)
        at 
org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$c6f86d30.CGLIB$generateAndRegisterSSHKeysWithDescription$49(<generated>)
        at 
org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$c6f86d30$$FastClassByGuice$$5b1244cc.invoke(<generated>)
        at 
com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
        at 
com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
        at 
org.apache.airavata.api.server.security.interceptor.SecurityInterceptor.invoke(SecurityInterceptor.java:57)
        at 
com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
        at 
com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
        at 
org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$c6f86d30.generateAndRegisterSSHKeysWithDescription(<generated>)
        at 
org.apache.airavata.api.Airavata$Processor$generateAndRegisterSSHKeysWithDescription.getResult(Airavata.java:16316)
        at 
org.apache.airavata.api.Airavata$Processor$generateAndRegisterSSHKeysWithDescription.getResult(Airavata.java:16300)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
        at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

[~smarru], [~anujbhan], any idea what might be causing this?

----

Nevermind, seems the credential store was down?  I restarted the api-orch 
server and all is well again.



was (Author: marcuschristie):
Trying to use the new generateAndRegisterSSHKeysWithDescription API method but 
it fails. This is in the airavata.log
{noformat}
2016-10-26 16:59:25,671 [pool-6-thread-48] ERROR 
org.apache.airavata.api.server.handler.AiravataServerHandler  - Error occurred 
while registering SSH Credential
org.apache.thrift.transport.TTransportException
        at 
org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
        at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
        at 
org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
        at 
org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
        at 
org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:77)
        at 
org.apache.airavata.credential.store.cpi.CredentialStoreService$Client.recv_addSSHCredential(CredentialStoreService.java:191)
        at 
org.apache.airavata.credential.store.cpi.CredentialStoreService$Client.addSSHCredential(CredentialStoreService.java:178)
        at 
org.apache.airavata.api.server.handler.AiravataServerHandler.generateAndRegisterSSHKeysWithDescription(AiravataServerHandler.java:474)
        at 
org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$c6f86d30.CGLIB$generateAndRegisterSSHKeysWithDescription$49(<generated>)
        at 
org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$c6f86d30$$FastClassByGuice$$5b1244cc.invoke(<generated>)
        at 
com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
        at 
com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
        at 
org.apache.airavata.api.server.security.interceptor.SecurityInterceptor.invoke(SecurityInterceptor.java:57)
        at 
com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
        at 
com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
        at 
org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$c6f86d30.generateAndRegisterSSHKeysWithDescription(<generated>)
        at 
org.apache.airavata.api.Airavata$Processor$generateAndRegisterSSHKeysWithDescription.getResult(Airavata.java:16316)
        at 
org.apache.airavata.api.Airavata$Processor$generateAndRegisterSSHKeysWithDescription.getResult(Airavata.java:16300)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
        at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

[~smarru], [~anujbhan], any idea what might be causing this?


> UI for credential store token + key generation for portal users to use with 
> their campus logins.
> ------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-2156
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2156
>             Project: Airavata
>          Issue Type: Bug
>          Components: PGA PHP Web Gateway
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>
> TODO
> * default SSH credential picker
> * list of a user's credentials with description field



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to