Thanks for your response.
I ran everything from scratch. All services run (i.e no crashes) according to supervisor status. However, model_scheduler.log indicates the following error: [I’ve manually replaced my actual path with <MY_PATH> in the following text]
2016-09-17 00:19:04,211 - htmengine.model_runner(10322) - ERROR - VER=0.0.0 {TAG:SWAP.MR.STOP.ABORT}
Traceback (most recent call last):
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 886, in <module>
main(sys.argv)
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 872, in main
runner.run()
File "/Library/Python/2.7/site-packages/nupic/support/decorators.py", line 58, in exceptionLoggingWrap
logger.exception(
AttributeError: 'function' object has no attribute 'exception'
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 886, in <module>
main(sys.argv)
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 872, in main
runner.run()
File "/Library/Python/2.7/site-packages/nupic/support/decorators.py", line 58, in exceptionLoggingWrap
logger.exception(
AttributeError: 'function' object has no attribute 'exception'
2016-09-17 00:19:04,315 - htmengine.model_swapper.slot_agent(10304) - ERROR - VER=0.0.0 SlotAgent<slotID=2, modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa>: {TAG:SWAP.SA.MODEL.STOP.DONE} modelState=_CurrentModelState<modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa, stopPend=True, stopReq=False, modelFailed=False, exitStatus=1, modelRunner=ModelRunnerProxy<model=15b221c6a3ed4dfb9ba2a73bb2d983fa, pid=10322, returnCode=1>>
2016-09-17 00:19:04,332 - htmengine.model_swapper.slot_agent(10304) - INFO - VER=0.0.0 SlotAgent<slotID=2, modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa>: {TAG:SWAP.SA.MODEL.STARTED} modelState=_CurrentModelState<modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa, stopPend=False, stopReq=False, modelFailed=False, exitStatus=None, modelRunner=ModelRunnerProxy<model=15b221c6a3ed4dfb9ba2a73bb2d983fa, pid=10337, returnCode=None>>
2016-09-17 00:19:04,870 - htmengine.model_runner(10337) - INFO - <VER=0.0.0, SERVICE=MRUN> {TAG:SWAP.MR.START} argv=['<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py', '--modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa']
2016-09-17 00:19:04,900 - htmengine.model_runner(10337) - INFO - VER=0.0.0 ModelRunner<modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa>: Processing model command: ModelCommand<commandID=34b0bf15e59c4088b0ae38e435039b17, method=defineModel>
2016-09-17 00:19:04,901 - htmengine.model_runner(10337) - WARNING - VER=0.0.0 defineModel: modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa already exists with same creation meta data (side-effect of at-least-once delivery guarantee?)
2016-09-17 00:19:05,938 - htmengine.model_runner(10337) - INFO - VER=0.0.0 ModelRunner<modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa>: {TAG:SWAP.MR.FINAL.SUMMARY} totalBatches=2; totalRequests=8; totalDupBatches=0; duration=1.06675505638
2016-09-17 00:19:05,939 - htmengine.model_runner(10337) - ERROR - VER=0.0.0 {TAG:SWAP.MR.STOP.ABORT}
Traceback (most recent call last):
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 886, in <module>
main(sys.argv)
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 872, in main
runner.run()
File "/Library/Python/2.7/site-packages/nupic/support/decorators.py", line 58, in exceptionLoggingWrap
logger.exception(
AttributeError: 'function' object has no attribute 'exception'
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 886, in <module>
main(sys.argv)
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 872, in main
runner.run()
File "/Library/Python/2.7/site-packages/nupic/support/decorators.py", line 58, in exceptionLoggingWrap
logger.exception(
AttributeError: 'function' object has no attribute 'exception'
2016-09-17 00:19:06,043 - htmengine.model_swapper.slot_agent(10304) - ERROR - VER=0.0.0 SlotAgent<slotID=2, modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa>: {TAG:SWAP.SA.MODEL.STOP.DONE} modelState=_CurrentModelState<modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa, stopPend=True, stopReq=False, modelFailed=False, exitStatus=1, modelRunner=ModelRunnerProxy<model=15b221c6a3ed4dfb9ba2a73bb2d983fa, pid=10337, returnCode=1>>
2016-09-17 00:19:06,050 - htmengine.model_swapper.slot_agent(10304) - INFO - VER=0.0.0 SlotAgent<slotID=2, modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa>: {TAG:SWAP.SA.MODEL.STARTED} modelState=_CurrentModelState<modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa, stopPend=False, stopReq=False, modelFailed=False, exitStatus=None, modelRunner=ModelRunnerProxy<model=15b221c6a3ed4dfb9ba2a73bb2d983fa, pid=10348, returnCode=None>>
2016-09-17 00:19:06,526 - htmengine.model_runner(10348) - INFO - <VER=0.0.0, SERVICE=MRUN> {TAG:SWAP.MR.START} argv=['<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py', '--modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa']
2016-09-17 00:19:06,537 - htmengine.model_runner(10348) - INFO - VER=0.0.0 ModelRunner<modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa>: Processing model command: ModelCommand<commandID=34b0bf15e59c4088b0ae38e435039b17, method=defineModel>
2016-09-17 00:19:06,537 - htmengine.model_runner(10348) - WARNING - VER=0.0.0 defineModel: modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa already exists with same creation meta data (side-effect of at-least-once delivery guarantee?)
2016-09-17 00:19:07,615 - htmengine.model_runner(10348) - INFO - VER=0.0.0 ModelRunner<modelID=15b221c6a3ed4dfb9ba2a73bb2d983fa>: {TAG:SWAP.MR.FINAL.SUMMARY} totalBatches=2; totalRequests=8; totalDupBatches=0; duration=1.08736610413
2016-09-17 00:19:07,616 - htmengine.model_runner(10348) - ERROR - VER=0.0.0 {TAG:SWAP.MR.STOP.ABORT}
Traceback (most recent call last):
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 886, in <module>
main(sys.argv)
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 872, in main
runner.run()
File "/Library/Python/2.7/site-packages/nupic/support/decorators.py", line 58, in exceptionLoggingWrap
logger.exception(
AttributeError: 'function' object has no attribute 'exception'
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 886, in <module>
main(sys.argv)
File "<MY_PATH>/numenta-apps/htmengine/htmengine/model_swapper/model_runner.py", line 872, in main
runner.run()
File "/Library/Python/2.7/site-packages/nupic/support/decorators.py", line 58, in exceptionLoggingWrap
logger.exception(
AttributeError: 'function' object has no attribute 'exception'
metric_listener does not indicate any errors; I see the following info message:
2016-09-17 00:29:04,895 - __main__(11645) - INFO - VER=0.0.0 Starting with host=0.0.0.0, port=2003, protocol=plain, transport=tcp
metric_storer, also, does not show any errors. I see the following line(s) when send_cpu.py is running:
2016-09-17 00:29:48,010 - __main__(11647) - INFO - VER=0.0.0 Processing 1 records for 1 models from 1 batches.
The "metric_value" column in "metric_data table" is populated with values, but anomaly numbers don't show up (after create_cpu_percent_model.py is run once). Here's a snapshot of the table:
+----------------------------------+-------+---------------------+--------------+-------------------+---------------+---------------+
| uid | rowid | timestamp | metric_value | raw_anomaly_score | anomaly_score | display_value |
+----------------------------------+-------+---------------------+--------------+-------------------+---------------+---------------+
| 15b221c6a3ed4dfb9ba2a73bb2d983fa | 1 | 2016-09-16 23:48:06 | 5.4 | NULL | NULL | NULL |
| 15b221c6a3ed4dfb9ba2a73bb2d983fa | 2 | 2016-09-16 23:48:11 | 5.8 | NULL | NULL | NULL |
| 15b221c6a3ed4dfb9ba2a73bb2d983fa | 3 | 2016-09-16 23:48:16 | 8.4 | NULL | NULL | NULL |
| 15b221c6a3ed4dfb9ba2a73bb2d983fa | 4 | 2016-09-16 23:48:21 | 5 | NULL | NULL | NULL |
| 15b221c6a3ed4dfb9ba2a73bb2d983fa | 5 | 2016-09-16 23:48:26 | 7.1 | NULL | NULL | NULL |
| 15
RabbitMQ is also running. I get the following when I list queue names:
+----------------------------------------------------------------+
| name |
+----------------------------------------------------------------+
| skeleton.metric.custom.data |
| skeleton.mswapper.model.input.15b221c6a3ed4dfb9ba2a73bb2d983fa |
| skeleton.mswapper.results |
| skeleton.mswapper.scheduler.notification |
+----------------------------------------------------------------+
I appreciate your help.