You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2020/11/19 17:08:00 UTC

[jira] [Commented] (AIRAVATA-3390) 'Auto add to user group" is not working in production gateways.

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

Marcus Christie commented on AIRAVATA-3390:
-------------------------------------------

The event based db replication isn't working because of a missing ZK node, it seems:

{code}
2020-11-19 08:46:14,873 [pool-5-thread-3] INFO  o.a.a.d.e.m.m.i.DBEventMessageHandler  - Incoming DB event message. Mes
sage Id : 
2020-11-19 08:46:14,874 [pool-5-thread-3] ERROR o.a.a.d.e.m.m.i.DBEventMessageHandler  - Error processing message.
org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /db-event-mgr/iam.admin
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1548)
        at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:214)
        at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:203)
        at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107)
        at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:200)
        at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:191)
        at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:38)
        at org.apache.airavata.db.event.manager.utils.DbEventManagerZkUtils.getSubscribersForPublisher(DbEventManagerZk
Utils.java:102)
        at org.apache.airavata.db.event.manager.messaging.impl.DBEventMessageHandler.onMessage(DBEventMessageHandler.ja
va:82)
        at org.apache.airavata.messaging.core.impl.MessageConsumer.handleDelivery(MessageConsumer.java:69)
        at com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:144)
        at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:99)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
{code}


> 'Auto add to user group" is not working in production gateways. 
> ----------------------------------------------------------------
>
>                 Key: AIRAVATA-3390
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3390
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal, Sharing
>    Affects Versions: 0.18
>         Environment: https://toppic.sciencegateways.iu.edu/
> https://dreg.dnasequence.org/
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>             Fix For: 0.19
>
>         Attachments: Screen Shot 2020-11-19 at 10.10.08 AM.png, Screen Shot 2020-11-19 at 9.28.04 AM.png
>
>
> # Some gateways has users added to active user group (Default) automatically without gateway admin interference. 
>  # This feature is not currently working. 
>  # When user account is created and verified the user is not added to the group.
>  # When such user logs in see "'NoneType' object has no attribute 'projectID'"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)