Recently I am trying to build openquake running above redis in a cluster environment. I used PointSourceClassicalPSHA demo as an example. The celery worker already reported the task has been successful but oq keeps hanging or waiting after submitting all tasks:
[2016-08-05 12:35:40,232 #6 INFO] Using engine version 2.1.0-git0ffe220
[2016-08-05 12:35:40,607 #6 INFO] Read 1936 hazard site(s)
[2016-08-05 12:35:40,767 #6 INFO] Parsed 1 sources from /openquake_test/demos/hazard/PointSourceClassicalPSHA/source_model.xml
[2016-08-05 12:35:41,350 #6 INFO] Processed source model 1/1 with 1 gsim path(s)
[2016-08-05 12:35:41,476 #6 INFO] Instantiated SourceManager with maxweight=0.5
[2016-08-05 12:35:41,593 #6 INFO] Filtering light sources
[2016-08-05 12:35:41,696 #6 INFO] Filtering heavy sources
[2016-08-05 12:35:41,937 #6 INFO] splitting <PointSource 2> of weight 2.0
[2016-08-05 12:35:42,085 #6 INFO] Submitting task classical #1
[2016-08-05 12:35:42,236 #6 INFO] Sent 1 sources in 1 block(s)
[2016-08-05 12:35:42,378 #6 INFO] Sent 43.89 KB of data in 1 task(s)
^CTraceback (most recent call last):
File "/bin/oq", line 9, in <module>
load_entry_point('openquake.engine', 'console_scripts', 'oq')()
File "/oq-engine/2.0.0_src_install/src/oq-engine/openquake/commands/__main__.py", line 41, in oq
parser.callfunc()
File "/oq-engine/2.0.0_src_install/src/oq-engine/openquake/commonlib/sap.py", line 177, in callfunc
return self.func(**vars(namespace))
File "/oq-engine/2.0.0_src_install/src/oq-engine/openquake/commonlib/sap.py", line 232, in main
return func(**kw)
File "/oq-engine/2.0.0_src_install/src/oq-engine/openquake/commands/engine.py", line 175, in engine
exports, hazard_calculation_id=hc_id)
File "/oq-engine/2.0.0_src_install/src/oq-engine/openquake/commands/engine.py", line 68, in run_job
hazard_calculation_id=hazard_calculation_id)
File "/oq-engine/2.0.0_src_install/src/oq-engine/openquake/engine/engine.py", line 185, in run_calc
logs.LOG.critical(tb)
File "/lib/python2.7/logging/__init__.py", line 1204, in critical
self._log(CRITICAL, msg, args, **kwargs)
File "/lib/python2.7/logging/__init__.py", line 1278, in _log
self.handle(record)
File "/lib/python2.7/logging/__init__.py", line 1288, in handle
self.callHandlers(record)
File "/lib/python2.7/logging/__init__.py", line 1328, in callHandlers
hdlr.handle(record)
File "/lib/python2.7/logging/__init__.py", line 751, in handle
self.emit(record)
File "/oq-engine/2.0.0_src_install/src/oq-engine/openquake/engine/logs.py", line 133, in emit
record.getMessage())
File "/oq-engine/2.0.0_src_install/src/oq-engine/openquake/engine/logs.py", line 54, in dbcmd
raise RuntimeError('Cannot connect on %s:%s' % config.DBS_ADDRESS)
As there is no problem running this demo by using rabbitmq on the same cluster environment I am wondering whether openquake still supports redis? If so is there any configuration I missed to make it working? Thanks a lot.