Created
March 20, 2015 12:58
-
-
Save clarsonneur/aa5ebe0236a15aa7a913 to your computer and use it in GitHub Desktop.
sensor container crash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-03-20 12:56:02,971 140331965379760 INFO __init__ [-] Connecting to database "st2" @ "0.0.0.0:27017" as user "None". | |
2015-03-20 12:56:03,640 140331965379760 INFO utils [-] Registering exchanges... | |
2015-03-20 12:56:03,968 140331965379760 INFO utils [-] registered exchange st2.execution. | |
2015-03-20 12:56:03,969 140331965379760 INFO utils [-] registered exchange st2.liveaction. | |
2015-03-20 12:56:03,970 140331965379760 INFO utils [-] registered exchange st2.trigger. | |
2015-03-20 12:56:03,970 140331965379760 INFO utils [-] registered exchange st2.trigger_instances_dispatch. | |
2015-03-20 12:56:04,737 140331965379760 INFO sensormanager [-] Found 3 sensors. | |
2015-03-20 12:56:04,756 140331965379760 INFO manager [-] Setting up container to run 3 sensors. | |
2015-03-20 12:56:04,757 140331965379760 INFO manager [-] (PID:3804) SensorContainer started. | |
2015-03-20 12:56:04,775 140331965379760 INFO process_container [-] Running sensor HelloSensor | |
2015-03-20 12:56:04,839 140331965379760 AUDIT access [-] Access granted to user "sensors_container" with the token set to expire at "2015-03-21T12:56:04.819805Z". | |
2015-03-20 12:56:05,416 42575824 INFO triggers [-] Trigger st2.generic.actiontrigger is already registered. | |
2015-03-20 12:56:05,549 140331965379760 INFO process_container [-] Sensor HelloSensor started | |
2015-03-20 12:56:05,549 140331965379760 INFO process_container [-] Running sensor EverySixty | |
2015-03-20 12:56:05,635 140331965379760 AUDIT access [-] Access granted to user "sensors_container" with the token set to expire at "2015-03-21T12:56:05.609920Z". | |
2015-03-20 12:56:05,886 140331965379760 INFO process_container [-] Sensor EverySixty started | |
2015-03-20 12:56:05,886 140331965379760 INFO process_container [-] Running sensor FileWatchSensor | |
2015-03-20 12:56:05,982 140331965379760 AUDIT access [-] Access granted to user "sensors_container" with the token set to expire at "2015-03-21T12:56:05.956892Z". | |
2015-03-20 12:56:06,067 140331965379760 INFO process_container [-] Sensor FileWatchSensor started | |
2015-03-20 12:56:06,124 42575824 INFO triggers [-] Trigger st2.sensor.process_spawn is already registered. | |
2015-03-20 12:56:06,253 42575824 INFO triggers [-] Trigger st2.sensor.process_exit is already registered. | |
2015-03-20 12:56:10,928 140357299869648 INFO sensor_wrapper [-] Using config "/opt/stackstorm/packs/hello-st2/config.yaml" for sensor "HelloSensor" | |
2015-03-20 12:56:10,929 140357299869648 INFO sensor_wrapper [-] Watcher started | |
2015-03-20 12:56:10,929 140357299869648 INFO sensor_wrapper [-] Running sensor initialization code | |
2015-03-20 12:56:10,930 140357299869648 INFO sensor_wrapper [-] Running sensor in passive mode | |
2015-03-20 12:56:10,931 140357299869648 AUDIT sensor_wrapper [-] Retrieving value from the datastore (name=hello-st2.HelloSensor:hello-st2.count) | |
2015-03-20 12:56:11,058 22443984 INFO sensor_wrapper [-] Using config "/opt/stackstorm/packs/ChangeRecord/config.yaml" for sensor "EverySixty" | |
2015-03-20 12:56:11,084 32157200 INFO mixins [-] Connected to amqp://guest:**@127.0.0.1:5672// | |
2015-03-20 12:56:11,134 140357299869648 AUDIT sensor_wrapper [-] Setting value in the datastore (name=hello-st2.HelloSensor:hello-st2.count) | |
2015-03-20 12:56:11,155 140357299869648 WARNING sensor_wrapper [-] Sensor "HelloSensor" run method raised an exception: 503 Server Error: Service Unavailable | |
Unable to retrieve detailed message from the HTTP response. No JSON object could be decoded | |
. | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/site-packages/st2reactor/container/sensor_wrapper.py", line 336, in run | |
self._sensor_instance.run() | |
File "/home/fedora/src/hub/packs/hello-st2/sensors/sensor1.py", line 21, in run | |
self._sensor_service.set_value('hello-st2.count', payload['count']) | |
File "/usr/lib/python2.7/site-packages/st2reactor/container/sensor_wrapper.py", line 188, in set_value | |
client.keys.update(instance=instance) | |
File "/usr/lib/python2.7/site-packages/st2client/models/core.py", line 33, in decorate | |
return func(*args, **kwargs) | |
File "/usr/lib/python2.7/site-packages/st2client/models/core.py", line 245, in update | |
self.handle_error(response) | |
File "/usr/lib/python2.7/site-packages/st2client/models/core.py", line 127, in handle_error | |
response.raise_for_status() | |
File "/usr/lib/python2.7/site-packages/requests/models.py", line 831, in raise_for_status | |
raise HTTPError(http_error_msg, response=self) | |
HTTPError: 503 Server Error: Service Unavailable | |
Unable to retrieve detailed message from the HTTP response. No JSON object could be decoded | |
2015-03-20 12:56:11,157 140357299869648 INFO sensor_wrapper [-] Stopping trigger watcher | |
2015-03-20 12:56:11,194 140357299869648 INFO sensor_wrapper [-] Invoking cleanup on sensor | |
2015-03-20 12:56:16,073 140331965379760 INFO process_container [-] Process for sensor HelloSensor has exited with code 1 | |
2015-03-20 12:56:16,077 140331965379760 INFO process_container [-] Process for sensor EverySixty has exited with code 1 | |
2015-03-20 12:56:16,084 140331965379760 INFO process_container [-] Process for sensor FileWatchSensor has exited with code 1 | |
2015-03-20 12:56:21,093 140331965379760 INFO process_container [-] Container has no active sensors running. | |
2015-03-20 12:56:21,093 140331965379760 INFO manager [-] (PID:3804) SensorContainer stopped. Reason - run ended. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any solution found?