chetanmeh commented on issue #105: Adapt the DB config to match with pureconfig 
switch
URL: 
https://github.com/apache/incubator-openwhisk-devtools/pull/105#issuecomment-372626795
 
 
   The build is getting stuck in controller startup which fails with following 
error
   
   ```
   Exception in thread "main" akka.ConfigurationException: ActorSystem 
[akka://controller-actor-system] needs to have a 'ClusterActorRefProvider' 
enabled in the configuration, currently uses [akka.actor.LocalActorRefProvider]
        at akka.cluster.Cluster.<init>(Cluster.scala:71)
        at akka.cluster.Cluster$.createExtension(Cluster.scala:34)
        at akka.cluster.Cluster$.createExtension(Cluster.scala:29)
        at akka.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:880)
        at akka.actor.ExtensionId$class.apply(Extension.scala:78)
        at akka.cluster.Cluster$.apply(Cluster.scala:29)
        at 
whisk.core.loadBalancer.ShardingContainerPoolBalancer.<init>(ShardingContainerPoolBalancer.scala:60)
        at 
whisk.core.loadBalancer.ShardingContainerPoolBalancer$.loadBalancer(ShardingContainerPoolBalancer.scala:295)
        at whisk.core.controller.Controller.<init>(Controller.scala:121)
        at whisk.core.controller.Controller$.main(Controller.scala:232)
        at whisk.core.controller.Controller.main(Controller.scala)
   ```
   
   This is possibly due to [switch of default](apache/incubator-openwhisk#3400) 
`LoadBalancerProvider` to `ShardingContainerPoolBalancer` which instantiates 
the cluster. Currently the docker compose setup has 
`CONFIG_akka_actor_provider=local` set. Not sure if just setting it to cluster 
would make it work

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to