airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Christie (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AIRAVATA-2190) User A shared a single experiment with User B, read access. Project is also shared now with User B.
Date Tue, 08 Nov 2016 21:54:58 GMT

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

Marcus Christie edited comment on AIRAVATA-2190 at 11/8/16 9:54 PM:
--------------------------------------------------------------------

While testing I got an error when trying to change the name of a project
{noformat}
2016-11-08 16:38:41 [pool-6-thread-49] ERROR o.a.a.a.s.h.AiravataServerHandler - Error while
updating the project
org.apache.airavata.registry.api.exception.RegistryServiceException: Error while updating
the project. More info : Error while updating the resource..PROJECT
        at org.apache.airavata.registry.api.RegistryService$updateProject_result$updateProject_resultStandardScheme.read(RegistryService.java:37455)
        at org.apache.airavata.registry.api.RegistryService$updateProject_result$updateProject_resultStandardScheme.read(RegistryService.java:37441)
        at org.apache.airavata.registry.api.RegistryService$updateProject_result.read(RegistryService.java:37391)
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:86)
        at org.apache.airavata.registry.api.RegistryService$Client.recv_updateProject(RegistryService.java:3145)
        at org.apache.airavata.registry.api.RegistryService$Client.updateProject(RegistryService.java:3131)
        at org.apache.airavata.api.server.handler.AiravataServerHandler.updateProject(AiravataServerHandler.java:734)
        at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$e96a31b8.CGLIB$updateProject$145(<generated>)
        at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$e96a31b8$$FastClassByGuice$$79de5f4f.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$$e96a31b8.updateProject(<generated>)
        at org.apache.airavata.api.Airavata$Processor$updateProject.getResult(Airavata.java:16686)
        at org.apache.airavata.api.Airavata$Processor$updateProject.getResult(Airavata.java:16670)
        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}

This is failing for me even without any sharing or experiments.  The error logged in the registry
server (dev-deployment/registry/apache-airavata-server-0.17-SNAPSHOT/logs/airavata.log):
{noformat}
2016-11-08 16:48:37 [pool-1-thread-3370] ERROR o.a.a.r.a.s.h.RegistryServerHandler - Error
while updating the project
org.apache.airavata.registry.cpi.RegistryException: Error while updating the resource..PROJECT
        at org.apache.airavata.registry.core.experiment.catalog.impl.ExperimentCatalogImpl.update(ExperimentCatalogImpl.java:276)
        at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.updateProject(RegistryServerHandler.java:3414)
        at org.apache.airavata.registry.api.RegistryService$Processor$updateProject.getResult(RegistryService.java:12180)
        at org.apache.airavata.registry.api.RegistryService$Processor$updateProject.getResult(RegistryService.java:12164)
        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)
Caused by: org.apache.airavata.registry.cpi.RegistryException: java.lang.NullPointerException
        at org.apache.airavata.registry.core.experiment.catalog.impl.ProjectRegistry.updateProject(ProjectRegistry.java:148)
        at org.apache.airavata.registry.core.experiment.catalog.impl.ExperimentCatalogImpl.update(ExperimentCatalogImpl.java:217)
        ... 9 common frames omitted
Caused by: java.lang.NullPointerException: null
        at org.apache.airavata.registry.core.experiment.catalog.impl.ProjectRegistry.updateProject(ProjectRegistry.java:115)
        ... 10 common frames omitted
{noformat}

I'll make a separate issue for it.
----
created issue AIRAVATA-2218


was (Author: marcuschristie):
While testing I got an error when trying to change the name of a project
{noformat}
2016-11-08 16:38:41 [pool-6-thread-49] ERROR o.a.a.a.s.h.AiravataServerHandler - Error while
updating the project
org.apache.airavata.registry.api.exception.RegistryServiceException: Error while updating
the project. More info : Error while updating the resource..PROJECT
        at org.apache.airavata.registry.api.RegistryService$updateProject_result$updateProject_resultStandardScheme.read(RegistryService.java:37455)
        at org.apache.airavata.registry.api.RegistryService$updateProject_result$updateProject_resultStandardScheme.read(RegistryService.java:37441)
        at org.apache.airavata.registry.api.RegistryService$updateProject_result.read(RegistryService.java:37391)
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:86)
        at org.apache.airavata.registry.api.RegistryService$Client.recv_updateProject(RegistryService.java:3145)
        at org.apache.airavata.registry.api.RegistryService$Client.updateProject(RegistryService.java:3131)
        at org.apache.airavata.api.server.handler.AiravataServerHandler.updateProject(AiravataServerHandler.java:734)
        at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$e96a31b8.CGLIB$updateProject$145(<generated>)
        at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$e96a31b8$$FastClassByGuice$$79de5f4f.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$$e96a31b8.updateProject(<generated>)
        at org.apache.airavata.api.Airavata$Processor$updateProject.getResult(Airavata.java:16686)
        at org.apache.airavata.api.Airavata$Processor$updateProject.getResult(Airavata.java:16670)
        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}

This is failing for me even without any sharing or experiments.  The error logged in the registry
server (dev-deployment/registry/apache-airavata-server-0.17-SNAPSHOT/logs/airavata.log):
{noformat}
2016-11-08 16:48:37 [pool-1-thread-3370] ERROR o.a.a.r.a.s.h.RegistryServerHandler - Error
while updating the project
org.apache.airavata.registry.cpi.RegistryException: Error while updating the resource..PROJECT
        at org.apache.airavata.registry.core.experiment.catalog.impl.ExperimentCatalogImpl.update(ExperimentCatalogImpl.java:276)
        at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.updateProject(RegistryServerHandler.java:3414)
        at org.apache.airavata.registry.api.RegistryService$Processor$updateProject.getResult(RegistryService.java:12180)
        at org.apache.airavata.registry.api.RegistryService$Processor$updateProject.getResult(RegistryService.java:12164)
        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)
Caused by: org.apache.airavata.registry.cpi.RegistryException: java.lang.NullPointerException
        at org.apache.airavata.registry.core.experiment.catalog.impl.ProjectRegistry.updateProject(ProjectRegistry.java:148)
        at org.apache.airavata.registry.core.experiment.catalog.impl.ExperimentCatalogImpl.update(ExperimentCatalogImpl.java:217)
        ... 9 common frames omitted
Caused by: java.lang.NullPointerException: null
        at org.apache.airavata.registry.core.experiment.catalog.impl.ProjectRegistry.updateProject(ProjectRegistry.java:115)
        ... 10 common frames omitted
{noformat}

I'll make a separate issue for it.

> User A shared a single experiment with User B, read access. Project is also shared now
with User B.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-2190
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2190
>             Project: Airavata
>          Issue Type: Bug
>          Components: PGA PHP Web Gateway
>         Environment: https://dev.seagrid.org
>            Reporter: Eroma
>            Assignee: Marcus Christie
>             Fix For: 0.17-SNAPSHOT
>
>
> Steps
> 1. User A shared a single experiment with user B. With read access
> 2. User B now has access to User A's project which experiment belongs
> 3. User B can create new experiments under the Project.
> 4. User B can cancel the shared experiment irrespective of having only read access
> 5. user B can clone the shared experiment and create a new experiment under the same
project and remove sharing of the project owner. 
> 6. Original user A cannot see the cloned experiment under his own project
> User B should not be able to create any experiments under the project the shared experiment
belongs. 
> No should be able to cancel the shared experiment, only has read access.
> If cloned should create it under own project; not with user A's project



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

Mime
View raw message