Comments (5)
Looks like st2api is not running either - I would probably investigate that first, before mistral. What do your st2api logs show?
from st2-docker.
here is logs:
root@92acc2fcd66d:/# cat /var/log/st2/st2api.log
2017-08-02 06:25:06,283 140579688241104 INFO misc [-] Re-opening log file "/var/log/st2/st2api.log" with mode "a"
2017-08-02 06:25:06,283 140579688241104 INFO misc [-] Re-opening log file "/var/log/st2/st2api.log" with mode "a"
2017-08-02 06:25:06,284 140579688241104 INFO misc [-] Re-opening log file "/var/log/st2/st2api.audit.log" with mode "a"
2017-08-02 06:25:06,283 140579688241104 INFO misc [-] Re-opening log file "/var/log/st2/st2api.audit.log" with mode "a"
2017-08-02 06:25:07,443 140579688241104 INFO misc [-] Re-opening log file "/var/log/st2/st2api.log" with mode "a"
2017-08-02 06:25:07,443 140579688241104 INFO misc [-] Re-opening log file "/var/log/st2/st2api.audit.log" with mode "a"
2017-08-02 06:25:07,443 140579688241104 INFO misc [-] Re-opening log file "/var/log/st2/st2api.log" with mode "a"
2017-08-02 06:25:07,444 140579688241104 INFO misc [-] Re-opening log file "/var/log/st2/st2api.audit.log" with mode "a"
2018-02-07 13:13:51,775 139750791145744 INFO __init__ [-] Connecting to database "st2" @ "mongo:27017" as user "None".
2018-02-07 13:13:52,436 139750791145744 ERROR connection_retry_wrapper [-] Connection or channel error identified: [Errno 111] ECONNREFUSED.
Traceback (most recent call last):
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/transport/connection_retry_wrapper.py", line 115, in run
channel = connection.channel()
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/kombu/connection.py", line 255, in channel
chan = self.transport.create_channel(self.connection)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/kombu/connection.py", line 756, in connection
self._connection = self._establish_connection()
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/kombu/connection.py", line 711, in _establish_connection
conn = self.transport.establish_connection()
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/kombu/transport/pyamqp.py", line 116, in establish_connection
conn = self.Connection(**opts)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/amqp/connection.py", line 165, in __init__
self.transport = self.Transport(host, connect_timeout, ssl)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/amqp/connection.py", line 186, in Transport
return create_transport(host, connect_timeout, ssl)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/amqp/transport.py", line 299, in create_transport
return TCPTransport(host, connect_timeout)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/amqp/transport.py", line 95, in __init__
raise socket.error(last_err)
error: [Errno 111] ECONNREFUSED
2018-02-07 13:14:02,492 139750791145744 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d3d (trigger_db={'uid': u'trigger:core:st2.generic.actiontrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.actiontrigger', 'ref_count': 0, 'name': u'st2.generic.actiontrigger', 'pack': u'core', 'type': u'core.st2.generic.actiontrigger', 'id': '5979f4a3360aca0117654d3d', 'description': None})
2018-02-07 13:14:02,493 139750791145744 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d3d (trigger_db={'uid': u'trigger:core:st2.generic.actiontrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.actiontrigger', 'ref_count': 0, 'name': u'st2.generic.actiontrigger', 'pack': u'core', 'type': u'core.st2.generic.actiontrigger', 'id': '5979f4a3360aca0117654d3d', 'description': None})
2018-02-07 13:14:02,504 139750791145744 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d3f (trigger_db={'uid': u'trigger:core:st2.generic.notifytrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.notifytrigger', 'ref_count': 0, 'name': u'st2.generic.notifytrigger', 'pack': u'core', 'type': u'core.st2.generic.notifytrigger', 'id': '5979f4a3360aca0117654d3f', 'description': None})
2018-02-07 13:14:02,505 139750791145744 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d3f (trigger_db={'uid': u'trigger:core:st2.generic.notifytrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.notifytrigger', 'ref_count': 0, 'name': u'st2.generic.notifytrigger', 'pack': u'core', 'type': u'core.st2.generic.notifytrigger', 'id': '5979f4a3360aca0117654d3f', 'description': None})
2018-02-07 13:14:02,514 139750791145744 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d41 (trigger_db={'uid': u'trigger:core:st2.action.file_writen:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.action.file_writen', 'ref_count': 0, 'name': u'st2.action.file_writen', 'pack': u'core', 'type': u'core.st2.action.file_writen', 'id': '5979f4a3360aca0117654d41', 'description': None})
2018-02-07 13:14:02,516 139750791145744 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d41 (trigger_db={'uid': u'trigger:core:st2.action.file_writen:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.action.file_writen', 'ref_count': 0, 'name': u'st2.action.file_writen', 'pack': u'core', 'type': u'core.st2.action.file_writen', 'id': '5979f4a3360aca0117654d41', 'description': None})
2018-02-07 13:14:02,525 139750791145744 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d43 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.create:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.create', 'ref_count': 0, 'name': u'st2.key_value_pair.create', 'pack': u'core', 'type': u'core.st2.key_value_pair.create', 'id': '5979f4a3360aca0117654d43', 'description': None})
2018-02-07 13:14:02,526 139750791145744 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d43 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.create:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.create', 'ref_count': 0, 'name': u'st2.key_value_pair.create', 'pack': u'core', 'type': u'core.st2.key_value_pair.create', 'id': '5979f4a3360aca0117654d43', 'description': None})
2018-02-07 13:14:02,535 139750791145744 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d45 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.update:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.update', 'ref_count': 0, 'name': u'st2.key_value_pair.update', 'pack': u'core', 'type': u'core.st2.key_value_pair.update', 'id': '5979f4a3360aca0117654d45', 'description': None})
2018-02-07 13:14:02,536 139750791145744 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d45 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.update:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.update', 'ref_count': 0, 'name': u'st2.key_value_pair.update', 'pack': u'core', 'type': u'core.st2.key_value_pair.update', 'id': '5979f4a3360aca0117654d45', 'description': None})
2018-02-07 13:14:02,545 139750791145744 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d47 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.value_change:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.value_change', 'ref_count': 0, 'name': u'st2.key_value_pair.value_change', 'pack': u'core', 'type': u'core.st2.key_value_pair.value_change', 'id': '5979f4a3360aca0117654d47', 'description': None})
2018-02-07 13:14:02,547 139750791145744 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d47 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.value_change:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.value_change', 'ref_count': 0, 'name': u'st2.key_value_pair.value_change', 'pack': u'core', 'type': u'core.st2.key_value_pair.value_change', 'id': '5979f4a3360aca0117654d47', 'description': None})
2018-02-07 13:14:02,555 139750791145744 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d49 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.delete:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.delete', 'ref_count': 0, 'name': u'st2.key_value_pair.delete', 'pack': u'core', 'type': u'core.st2.key_value_pair.delete', 'id': '5979f4a3360aca0117654d49', 'description': None})
2018-02-07 13:14:02,556 139750791145744 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d49 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.delete:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.delete', 'ref_count': 0, 'name': u'st2.key_value_pair.delete', 'pack': u'core', 'type': u'core.st2.key_value_pair.delete', 'id': '5979f4a3360aca0117654d49', 'description': None})
2018-02-07 13:14:02,565 139750791145744 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d4b (trigger_db={'uid': u'trigger:core:st2.sensor.process_spawn:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_spawn', 'ref_count': 0, 'name': u'st2.sensor.process_spawn', 'pack': u'core', 'type': u'core.st2.sensor.process_spawn', 'id': '5979f4a3360aca0117654d4b', 'description': None})
2018-02-07 13:14:02,566 139750791145744 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d4b (trigger_db={'uid': u'trigger:core:st2.sensor.process_spawn:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_spawn', 'ref_count': 0, 'name': u'st2.sensor.process_spawn', 'pack': u'core', 'type': u'core.st2.sensor.process_spawn', 'id': '5979f4a3360aca0117654d4b', 'description': None})
2018-02-07 13:14:02,575 139750791145744 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d4d (trigger_db={'uid': u'trigger:core:st2.sensor.process_exit:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_exit', 'ref_count': 0, 'name': u'st2.sensor.process_exit', 'pack': u'core', 'type': u'core.st2.sensor.process_exit', 'id': '5979f4a3360aca0117654d4d', 'description': None})
2018-02-07 13:14:02,576 139750791145744 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d4d (trigger_db={'uid': u'trigger:core:st2.sensor.process_exit:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_exit', 'ref_count': 0, 'name': u'st2.sensor.process_exit', 'pack': u'core', 'type': u'core.st2.sensor.process_exit', 'id': '5979f4a3360aca0117654d4d', 'description': None})
2018-02-07 13:14:03,204 139750791145744 INFO driver [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
2018-02-07 13:14:03,225 139750791145744 INFO driver [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
2018-02-07 13:14:03,435 139750725343824 INFO mixins [-] Connected to amqp://admin:**@rabbitmq:5672//
2018-02-07 13:14:04,717 139992785475856 INFO __init__ [-] Connecting to database "st2" @ "mongo:27017" as user "None".
2018-02-07 13:14:04,871 139992785475856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d3d (trigger_db={'uid': u'trigger:core:st2.generic.actiontrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.actiontrigger', 'ref_count': 0, 'name': u'st2.generic.actiontrigger', 'pack': u'core', 'type': u'core.st2.generic.actiontrigger', 'id': '5979f4a3360aca0117654d3d', 'description': None})
2018-02-07 13:14:04,872 139992785475856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d3d (trigger_db={'uid': u'trigger:core:st2.generic.actiontrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.actiontrigger', 'ref_count': 0, 'name': u'st2.generic.actiontrigger', 'pack': u'core', 'type': u'core.st2.generic.actiontrigger', 'id': '5979f4a3360aca0117654d3d', 'description': None})
2018-02-07 13:14:04,888 139992785475856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d3f (trigger_db={'uid': u'trigger:core:st2.generic.notifytrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.notifytrigger', 'ref_count': 0, 'name': u'st2.generic.notifytrigger', 'pack': u'core', 'type': u'core.st2.generic.notifytrigger', 'id': '5979f4a3360aca0117654d3f', 'description': None})
2018-02-07 13:14:04,889 139992785475856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d3f (trigger_db={'uid': u'trigger:core:st2.generic.notifytrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.notifytrigger', 'ref_count': 0, 'name': u'st2.generic.notifytrigger', 'pack': u'core', 'type': u'core.st2.generic.notifytrigger', 'id': '5979f4a3360aca0117654d3f', 'description': None})
2018-02-07 13:14:04,900 139992785475856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d41 (trigger_db={'uid': u'trigger:core:st2.action.file_writen:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.action.file_writen', 'ref_count': 0, 'name': u'st2.action.file_writen', 'pack': u'core', 'type': u'core.st2.action.file_writen', 'id': '5979f4a3360aca0117654d41', 'description': None})
2018-02-07 13:14:04,901 139992785475856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d41 (trigger_db={'uid': u'trigger:core:st2.action.file_writen:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.action.file_writen', 'ref_count': 0, 'name': u'st2.action.file_writen', 'pack': u'core', 'type': u'core.st2.action.file_writen', 'id': '5979f4a3360aca0117654d41', 'description': None})
2018-02-07 13:14:04,915 139992785475856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d43 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.create:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.create', 'ref_count': 0, 'name': u'st2.key_value_pair.create', 'pack': u'core', 'type': u'core.st2.key_value_pair.create', 'id': '5979f4a3360aca0117654d43', 'description': None})
2018-02-07 13:14:04,917 139992785475856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d43 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.create:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.create', 'ref_count': 0, 'name': u'st2.key_value_pair.create', 'pack': u'core', 'type': u'core.st2.key_value_pair.create', 'id': '5979f4a3360aca0117654d43', 'description': None})
2018-02-07 13:14:04,929 139992785475856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d45 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.update:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.update', 'ref_count': 0, 'name': u'st2.key_value_pair.update', 'pack': u'core', 'type': u'core.st2.key_value_pair.update', 'id': '5979f4a3360aca0117654d45', 'description': None})
2018-02-07 13:14:04,931 139992785475856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d45 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.update:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.update', 'ref_count': 0, 'name': u'st2.key_value_pair.update', 'pack': u'core', 'type': u'core.st2.key_value_pair.update', 'id': '5979f4a3360aca0117654d45', 'description': None})
2018-02-07 13:14:04,946 139992785475856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d47 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.value_change:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.value_change', 'ref_count': 0, 'name': u'st2.key_value_pair.value_change', 'pack': u'core', 'type': u'core.st2.key_value_pair.value_change', 'id': '5979f4a3360aca0117654d47', 'description': None})
2018-02-07 13:14:04,947 139992785475856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d47 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.value_change:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.value_change', 'ref_count': 0, 'name': u'st2.key_value_pair.value_change', 'pack': u'core', 'type': u'core.st2.key_value_pair.value_change', 'id': '5979f4a3360aca0117654d47', 'description': None})
2018-02-07 13:14:04,961 139992785475856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d49 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.delete:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.delete', 'ref_count': 0, 'name': u'st2.key_value_pair.delete', 'pack': u'core', 'type': u'core.st2.key_value_pair.delete', 'id': '5979f4a3360aca0117654d49', 'description': None})
2018-02-07 13:14:04,962 139992785475856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d49 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.delete:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.delete', 'ref_count': 0, 'name': u'st2.key_value_pair.delete', 'pack': u'core', 'type': u'core.st2.key_value_pair.delete', 'id': '5979f4a3360aca0117654d49', 'description': None})
2018-02-07 13:14:04,979 139992785475856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d4b (trigger_db={'uid': u'trigger:core:st2.sensor.process_spawn:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_spawn', 'ref_count': 0, 'name': u'st2.sensor.process_spawn', 'pack': u'core', 'type': u'core.st2.sensor.process_spawn', 'id': '5979f4a3360aca0117654d4b', 'description': None})
2018-02-07 13:14:04,980 139992785475856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d4b (trigger_db={'uid': u'trigger:core:st2.sensor.process_spawn:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_spawn', 'ref_count': 0, 'name': u'st2.sensor.process_spawn', 'pack': u'core', 'type': u'core.st2.sensor.process_spawn', 'id': '5979f4a3360aca0117654d4b', 'description': None})
2018-02-07 13:14:04,993 139992785475856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d4d (trigger_db={'uid': u'trigger:core:st2.sensor.process_exit:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_exit', 'ref_count': 0, 'name': u'st2.sensor.process_exit', 'pack': u'core', 'type': u'core.st2.sensor.process_exit', 'id': '5979f4a3360aca0117654d4d', 'description': None})
2018-02-07 13:14:04,994 139992785475856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d4d (trigger_db={'uid': u'trigger:core:st2.sensor.process_exit:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_exit', 'ref_count': 0, 'name': u'st2.sensor.process_exit', 'pack': u'core', 'type': u'core.st2.sensor.process_exit', 'id': '5979f4a3360aca0117654d4d', 'description': None})
2018-02-07 13:14:05,551 139992785475856 INFO driver [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
2018-02-07 13:14:05,564 139992785475856 INFO driver [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
2018-02-07 13:14:05,661 139992716606032 INFO mixins [-] Connected to amqp://admin:**@rabbitmq:5672//
2018-02-07 13:14:06,714 140642410563856 INFO __init__ [-] Connecting to database "st2" @ "mongo:27017" as user "None".
2018-02-07 13:14:06,820 140642410563856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d3d (trigger_db={'uid': u'trigger:core:st2.generic.actiontrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.actiontrigger', 'ref_count': 0, 'name': u'st2.generic.actiontrigger', 'pack': u'core', 'type': u'core.st2.generic.actiontrigger', 'id': '5979f4a3360aca0117654d3d', 'description': None})
2018-02-07 13:14:06,822 140642410563856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d3d (trigger_db={'uid': u'trigger:core:st2.generic.actiontrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.actiontrigger', 'ref_count': 0, 'name': u'st2.generic.actiontrigger', 'pack': u'core', 'type': u'core.st2.generic.actiontrigger', 'id': '5979f4a3360aca0117654d3d', 'description': None})
2018-02-07 13:14:06,832 140642410563856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d3f (trigger_db={'uid': u'trigger:core:st2.generic.notifytrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.notifytrigger', 'ref_count': 0, 'name': u'st2.generic.notifytrigger', 'pack': u'core', 'type': u'core.st2.generic.notifytrigger', 'id': '5979f4a3360aca0117654d3f', 'description': None})
2018-02-07 13:14:06,833 140642410563856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d3f (trigger_db={'uid': u'trigger:core:st2.generic.notifytrigger:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.generic.notifytrigger', 'ref_count': 0, 'name': u'st2.generic.notifytrigger', 'pack': u'core', 'type': u'core.st2.generic.notifytrigger', 'id': '5979f4a3360aca0117654d3f', 'description': None})
2018-02-07 13:14:06,843 140642410563856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d41 (trigger_db={'uid': u'trigger:core:st2.action.file_writen:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.action.file_writen', 'ref_count': 0, 'name': u'st2.action.file_writen', 'pack': u'core', 'type': u'core.st2.action.file_writen', 'id': '5979f4a3360aca0117654d41', 'description': None})
2018-02-07 13:14:06,844 140642410563856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d41 (trigger_db={'uid': u'trigger:core:st2.action.file_writen:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.action.file_writen', 'ref_count': 0, 'name': u'st2.action.file_writen', 'pack': u'core', 'type': u'core.st2.action.file_writen', 'id': '5979f4a3360aca0117654d41', 'description': None})
2018-02-07 13:14:06,855 140642410563856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d43 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.create:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.create', 'ref_count': 0, 'name': u'st2.key_value_pair.create', 'pack': u'core', 'type': u'core.st2.key_value_pair.create', 'id': '5979f4a3360aca0117654d43', 'description': None})
2018-02-07 13:14:06,856 140642410563856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d43 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.create:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.create', 'ref_count': 0, 'name': u'st2.key_value_pair.create', 'pack': u'core', 'type': u'core.st2.key_value_pair.create', 'id': '5979f4a3360aca0117654d43', 'description': None})
2018-02-07 13:14:06,867 140642410563856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d45 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.update:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.update', 'ref_count': 0, 'name': u'st2.key_value_pair.update', 'pack': u'core', 'type': u'core.st2.key_value_pair.update', 'id': '5979f4a3360aca0117654d45', 'description': None})
2018-02-07 13:14:06,869 140642410563856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d45 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.update:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.update', 'ref_count': 0, 'name': u'st2.key_value_pair.update', 'pack': u'core', 'type': u'core.st2.key_value_pair.update', 'id': '5979f4a3360aca0117654d45', 'description': None})
2018-02-07 13:14:06,879 140642410563856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d47 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.value_change:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.value_change', 'ref_count': 0, 'name': u'st2.key_value_pair.value_change', 'pack': u'core', 'type': u'core.st2.key_value_pair.value_change', 'id': '5979f4a3360aca0117654d47', 'description': None})
2018-02-07 13:14:06,881 140642410563856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d47 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.value_change:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.value_change', 'ref_count': 0, 'name': u'st2.key_value_pair.value_change', 'pack': u'core', 'type': u'core.st2.key_value_pair.value_change', 'id': '5979f4a3360aca0117654d47', 'description': None})
2018-02-07 13:14:06,890 140642410563856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d49 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.delete:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.delete', 'ref_count': 0, 'name': u'st2.key_value_pair.delete', 'pack': u'core', 'type': u'core.st2.key_value_pair.delete', 'id': '5979f4a3360aca0117654d49', 'description': None})
2018-02-07 13:14:06,892 140642410563856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d49 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.delete:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.key_value_pair.delete', 'ref_count': 0, 'name': u'st2.key_value_pair.delete', 'pack': u'core', 'type': u'core.st2.key_value_pair.delete', 'id': '5979f4a3360aca0117654d49', 'description': None})
2018-02-07 13:14:06,903 140642410563856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d4b (trigger_db={'uid': u'trigger:core:st2.sensor.process_spawn:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_spawn', 'ref_count': 0, 'name': u'st2.sensor.process_spawn', 'pack': u'core', 'type': u'core.st2.sensor.process_spawn', 'id': '5979f4a3360aca0117654d4b', 'description': None})
2018-02-07 13:14:06,903 140642410563856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d4b (trigger_db={'uid': u'trigger:core:st2.sensor.process_spawn:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_spawn', 'ref_count': 0, 'name': u'st2.sensor.process_spawn', 'pack': u'core', 'type': u'core.st2.sensor.process_spawn', 'id': '5979f4a3360aca0117654d4b', 'description': None})
2018-02-07 13:14:06,914 140642410563856 AUDIT triggers [-] Trigger updated. Trigger.id=5979f4a3360aca0117654d4d (trigger_db={'uid': u'trigger:core:st2.sensor.process_exit:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_exit', 'ref_count': 0, 'name': u'st2.sensor.process_exit', 'pack': u'core', 'type': u'core.st2.sensor.process_exit', 'id': '5979f4a3360aca0117654d4d', 'description': None})
2018-02-07 13:14:06,915 140642410563856 AUDIT triggers [-] Trigger created for parameter-less internal TriggerType. Trigger.id=5979f4a3360aca0117654d4d (trigger_db={'uid': u'trigger:core:st2.sensor.process_exit:99914b932bd37a50b983c5e7c90ae93b', 'parameters': {}, 'ref': u'core.st2.sensor.process_exit', 'ref_count': 0, 'name': u'st2.sensor.process_exit', 'pack': u'core', 'type': u'core.st2.sensor.process_exit', 'id': '5979f4a3360aca0117654d4d', 'description': None})
2018-02-07 13:14:07,506 140642410563856 INFO driver [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
2018-02-07 13:14:07,521 140642410563856 INFO driver [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
2018-02-07 13:14:07,621 140642341694032 INFO mixins [-] Connected to amqp://admin:**@rabbitmq:5672//
from st2-docker.
after
docker restart stackstorm
error with mongo gone but in
st2ctl
same:
##### st2 components status #####
st2actionrunner PID: 95
st2actionrunner PID: 98
st2actionrunner PID: 101
st2actionrunner PID: 107
st2api is not running.
st2stream PID: 54
st2stream PID: 225
st2auth PID: 43
st2auth PID: 224
st2garbagecollector PID: 39
st2notifier PID: 47
st2resultstracker PID: 45
st2rulesengine PID: 50
st2sensorcontainer PID: 36
st2chatops is not running.
mistral-server is not running.
mistral-api is not running.
from st2-docker.
I have a similar issue, mistral-server is not running, mistral-api is not running. I also tried using the other branch (wvw/no-tag-latest) that suggests that it fixes the problem because the two pieces weren't in sync or properly merged?
here are the logs:
docker exec -it stackstorm /bin/bash
s/mistral-basic.yaml st2 action create /opt/stackstorm/packs.dev/tutorial/action
+-------------+-------------------------------+
| Property | Value |
+-------------+-------------------------------+
| id | 5ad7bce12cb70100e727d4dc |
| name | mistral-basic |
| pack | tutorial |
| description | Run a local linux command |
| enabled | True |
| entry_point | workflows/mistral-basic.yaml |
| notify | |
| parameters | { |
| | "cmd": { |
| | "required": true, |
| | "type": "string" |
| | } |
| | } |
| ref | tutorial.mistral-basic |
| runner_type | mistral-v2 |
| tags | |
| uid | action:tutorial:mistral-basic |
+-------------+-------------------------------+
root@955bd9c6c336:/# st2 run examples.mistral-basic cmd=date -a
To get the results, execute:
st2 execution get 5ad7bd012cb70100e727d4de
To view output in real-time, execute:
st2 execution tail 5ad7bd012cb70100e727d4de
root@955bd9c6c336:/# st2 execution tail 5ad7bd012cb70100e727d4de
^CTraceback (most recent call last):
File "/usr/bin/st2", line 11, in
sys.exit(main())
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2client/shell.py", line 389, in main
return Shell().run(argv)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2client/shell.py", line 343, in run
func(args)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2client/commands/resource.py", line 47, in decorate
return func(*args, **kwargs)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2client/commands/action.py", line 1465, in run_and_print
**kwargs)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2client/commands/action.py", line 1487, in tail_execution
for event in stream_manager.listen(events, **kwargs):
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2client/models/core.py", line 578, in listen
for message in SSEClient(url):
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/sseclient.py", line 65, in next
next_chunk = next(self.resp_iterator)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/requests/models.py", line 738, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 432, in stream
for line in self.read_chunked(amt, decode_content=decode_content):
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 594, in read_chunked
self._update_chunk_length()
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 536, in _update_chunk_length
line = self._fp.fp.readline()
File "/usr/lib/python2.7/socket.py", line 447, in readline
data = self._sock.recv(self._rbufsize)
KeyboardInterrupt
root@955bd9c6c336:/# st2 execution get 5ad7bd012cb70100e727d4de
id: 5ad7bd012cb70100e727d4de
action.ref: examples.mistral-basic
parameters:
cmd: date
status: running (52s elapsed)
start_timestamp: Wed, 18 Apr 2018 21:47:45 UTC
end_timestamp:
result: None
root@955bd9c6c336:/# exit
exit
pgits@veroneservices-eqx-01:/neteng/pgits/stackstorm/prod/st2-docker$ git pull
Already up-to-date.
pgits@veroneservices-eqx-01:/neteng/pgits/stackstorm/prod/st2-docker$ docker exec -it stackstorm /bin/bash
root@955bd9c6c336:/# ps ax | grep mistral
791 pts/1 S+ 0:00 grep --color=auto mistral
root@955bd9c6c336:/# mistral execution-list
ERROR (app) HTTPConnectionPool(host='127.0.0.1', port=8989): Max retries exceeded with url: /v2/executions?sort_keys=created_at&limit=100&sort_dirs=asc (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f089a1d0290>: Failed to establish a new connection: [Errno 111] Connection refused',))
root@955bd9c6c336:/# mistral task-list
ERROR (app) HTTPConnectionPool(host='127.0.0.1', port=8989): Max retries exceeded with url: /v2/tasks?fields=id%2Cname%2Cworkflow_name%2Cworkflow_namespace%2Cworkflow_execution_id%2Cstate%2Cstate_info%2Ccreated_at%2Cupdated_at&limit=100 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fea2eb74f50>: Failed to establish a new connection: [Errno 111] Connection refused',))
is there a workaround?
from st2-docker.
Got it to work by:
- make env
- docker-compose up -d postgres
wait a bit - docker compose up -d
also: wipe faulty postgres and it's volume
from st2-docker.
Related Issues (20)
- Simplify or document network configuration of docker-compose HOT 4
- ST2_API_KEY HOT 6
- bash: st2: command not found HOT 1
- Please support monitoring when using https HOT 1
- After Docker daemon restart, containers do not gracefully recover HOT 1
- st2ctl status returns no st2 component running HOT 1
- ServerSelectionTimeoutError when services connect to mongo. HOT 10
- ReplicaSet on docker-compose
- Providing core.remote stanley ssh keys HOT 2
- st2-rule-tester doesn't work in docker HOT 1
- Bad docker-compose.yml HOT 5
- CI build reports success on failed tests HOT 8
- Can document be updated on how to enable HTTPS support ?
- How to install it to mac m1 system. HOT 1
- Unnamed Docker volumes for stclient
- webhook The resource could not be found HOT 1
- `st2-docker-st2makesecrets-1` fails to start HOT 1
- Upgrading to Python version 3.10 or 3.9 in Stackstorm st2 v3.8.1 HOT 3
- Inconsistent Ansible version used by Docker and the one used by Stackstorm HOT 1
- st2makesecrets, st2client, and st2chatops containers fail to start successfully HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from st2-docker.