Got ActorSystem error when run Esrally

2017-02-28 10:54:52,28 rally.main INFO OS [posix.uname_result(sysname='Darwin', nodename='xxxxdeMacBook-Pro.local', release='15.5.0', version='Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64', machine='x86_64')]
2017-02-28 10:54:52,28 rally.main INFO Python [namespace(_multiarch='darwin', cache_tag='cpython-36', hexversion=50725104, name='cpython', version=sys.version_info(major=3, minor=6, micro=0, releaselevel='final', serial=0))]
2017-02-28 10:54:52,28 rally.main INFO Rally version [0.5.0]
2017-02-28 10:54:52,28 rally.main INFO Command line arguments: Namespace(advanced_config=False, assume_defaults=False, car='defaults', challenge=None, client_options='timeout:60000,request_timeout:60000', cluster_health='green', configuration_name=None, data_paths=None, distribution_repository='release', distribution_version='', effective_start_date=datetime.datetime(2017, 2, 28, 10, 54, 52, 24806), enable_driver_profiling=False, laps=1, logging='file', offline=False, override_src_dir=None, pipeline='benchmark-only', preserve_install='False', quiet=False, report_file='', report_format='markdown', revision='current', subcommand=None, target_hosts='192.168.31.81:9200,192.168.31.82:9200', telemetry='', test_mode=False, track='geonames', track_repository='default', user_tag='')
2017-02-28 10:54:52,28 rally.net INFO Rally connects directly to the Internet (no proxy support).
2017-02-28 10:54:53,245 rally.main INFO Detected a working Internet connection.
2017-02-28 10:54:53,261 rally.process INFO Killing lingering process with PID [712] and command line [['/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python', '/usr/local/bin/esrally', '--distribution-version=5.0.0']].
2017-02-28 10:54:53,262 rally.process INFO Killing lingering process with PID [713] and command line [['/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python', '/usr/local/bin/esrally', '--distribution-version=5.0.0']].
2017-02-28 10:54:53,262 rally.process INFO Skipping myself (PID [717]).
2017-02-28 10:54:53,263 rally.main INFO Actor system already running locally? [True]
2017-02-28 10:54:53,293 root INFO ++++ Actor System gen (3, 6) started, admin @ ActorAddr-(T|:1900)
2017-02-28 10:54:58,288 rally.actor ERROR Could not initialize internal actor system. Terminating.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/esrally/actor.py", line 151, in bootstrap_actor_system
return thespian.actors.ActorSystem(system_base)
File "/usr/local/lib/python3.6/site-packages/thespian/actors.py", line 621, in init
systemBase, capabilities, logDefs)
File "/usr/local/lib/python3.6/site-packages/thespian/actors.py", line 659, in _startupActorSys
systemBase = sbc(self, logDefs=logDefs)
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocTCPBase.py", line 27, in init
super(ActorSystemBase, self).init(system, logDefs)
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocCommon.py", line 84, in init
super(multiprocessCommon, self).init(system, logDefs)
File "/usr/local/lib/python3.6/site-packages/thespian/system/systemBase.py", line 333, in init
logDefs)
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocCommon.py", line 111, in _startAdmin
raise InvalidActorAddress(adminAddr, 'not a valid ActorSystem admin')
thespian.actors.InvalidActorAddress: ActorAddr-(T|:1900) is not a valid ActorSystem admin
2017-02-28 10:54:58,292 root ERROR A fatal error occurred while running subcommand [race].
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/esrally/rally.py", line 409, in dispatch_sub_command
race(cfg)
File "/usr/local/lib/python3.6/site-packages/esrally/rally.py", line 357, in race
with_actor_system(lambda c: racecontrol.run(c), cfg)
File "/usr/local/lib/python3.6/site-packages/esrally/rally.py", line 364, in with_actor_system
actors = actor.bootstrap_actor_system(try_join=already_running, prefer_local_only=not already_running)
File "/usr/local/lib/python3.6/site-packages/esrally/actor.py", line 151, in bootstrap_actor_system
return thespian.actors.ActorSystem(system_base)
File "/usr/local/lib/python3.6/site-packages/thespian/actors.py", line 621, in init
systemBase, capabilities, logDefs)
File "/usr/local/lib/python3.6/site-packages/thespian/actors.py", line 659, in _startupActorSys
systemBase = sbc(self, logDefs=logDefs)
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocTCPBase.py", line 27, in init
super(ActorSystemBase, self).init(system, logDefs)
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocCommon.py", line 84, in init
super(multiprocessCommon, self).init(system, logDefs)
File "/usr/local/lib/python3.6/site-packages/thespian/system/systemBase.py", line 333, in init
logDefs)
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocCommon.py", line 111, in _startAdmin
raise InvalidActorAddress(adminAddr, 'not a valid ActorSystem admin')
thespian.actors.InvalidActorAddress: ActorAddr-(T|:1900) is not a valid ActorSystem admin

Hi @cold,

it seems you have a running Rally daemon, maybe from previous experiments? Can you please run esrallyd stop and retry? If that doesn't work then please reboot the machine just to be sure.

Daniel

this program did not occur, after reboot my Mac. Thank you.

Hi @cold,

you're welcome. Just FYI: The most likely cause why this has happened is that a previous benchmark was stuck (due to one reason or the other, hard to tell...). Rally has a built-in mitigation for this in that it terminates old Rally processes. This works fine usually but it seems this is still not a 100% solution.

I'm glad that the immediate problem is now solved though. :slight_smile:

Daniel

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.