Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1610879

Summary: [Scale][Netvirt] Akka timeouts when fetching hostconfig during browbeat run
Product: Red Hat OpenStack Reporter: Victor Pickard <vpickard>
Component: opendaylightAssignee: Stephen Kitt <skitt>
Status: CLOSED DUPLICATE QA Contact: Noam Manos <nmanos>
Severity: low Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: aadam, mkolesni, nyechiel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
N/A
Last Closed: 2018-08-07 09:04:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
script to poll hostconfig - run on each controller in the cluster none

Description Victor Pickard 2018-08-01 14:36:09 UTC
Created attachment 1472128 [details]
script to poll hostconfig - run on each controller in the cluster

Description of problem:

AKKA timeouts when running attached get_odl_hostconfig script.  I was running this script to debug l2 dead agents in bz:


https://bugzilla.redhat.com/show_bug.cgi?id=1519925

Version-Release number of selected component (if applicable):


How reproducible:

Intermittent, when running browbeat rally scenario on cloud20 in scale lab.


Steps to Reproduce:
1. Deploy cluster setup
2. Start attached script, get_host_config on each controller
3. run browbeat 
4. monitor output of get_host_config script on each controller, while the browbeat rally scenario is executing. Look for akka Ask exception




Actual results:

This akka exception occurs intermittently. When this occurs, there is no hostconfig returned, which could result in agents being marked dead.


{ 
   "errors": { 
       "error": [ 
           { 
               "error-info": "akka.pattern.AskTimeoutException: Ask timed out on [ActorSelection[Anchor(akka.tcp://opendaylight-cluster-data
.0.34:2550/), Path(/user/shardmanager-operational/member-2-shard-default-operational/shard-default-member-0:datastore-operational@3:622396_55237#-20
76633334)]] after [5000 ms]. Sender[null] sent message of type \"org.opendaylight.controller.cluster.datastore.messages.ReadData\".\n\tat akka.patte
rn.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:595)\n\tat akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:605)\n\t
at akka.actor.Scheduler$$anon$4.run(Scheduler.scala:140)\n\tat scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:870)\
n\tat scala.concurrent.BatchingExecutor.execute(BatchingExecutor.scala:109)\n\tat scala.concurrent.BatchingExecutor.execute$(BatchingExecutor.scala:
103)\n\tat scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:868)\n\tat akka.actor.LightArrayRevolverScheduler$TaskHolder.execu
teTask(LightArrayRevolverScheduler.scala:328)\n\tat akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala
:279)\n\tat akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:283)\n\tat akka.actor.LightArrayRevolverSchedu
ler$$anon$4.run(LightArrayRevolverScheduler.scala:235)\n\tat java.lang.Thread.run(Thread.java:748)\n", 
               "error-message": "Error checking ReadData for path /(urn:opendaylight:neutron?revision=2015-07-12)neutron/hostconfigs", 
               "error-tag": "operation-failed", 
               "error-type": "application" 
           } 
       ] 
   } 
}



Expected results:

Expect to get hostconfig on each and every call with no akka timeouts.



Additional info:

Comment 1 Mike Kolesnik 2018-08-07 09:04:07 UTC
Closing as duplicate of bug 1610546 since we need to solve the big picture of how/what these agent statuses mean and their alive/deadness.

*** This bug has been marked as a duplicate of bug 1610546 ***