Skip to content

Instantly share code, notes, and snippets.

@andyshinn
Created August 7, 2014 20:52
Show Gist options
  • Select an option

  • Save andyshinn/005f72b2d8a89edf81c4 to your computer and use it in GitHub Desktop.

Select an option

Save andyshinn/005f72b2d8a89edf81c4 to your computer and use it in GitHub Desktop.
Deis config:set hangs when application cannot start
Aug 07 15:12:56 core5 sh[4848]: 2014-08-07 09:12:56 [117] [DEBUG] POST /api/apps/railsapp/config
Aug 07 15:12:56 core5 sh[4848]: INFO railsapp: Config railsapp-e22fb6d updated
Aug 07 15:12:56 core5 sh[4848]: INFO railsapp: Release railsapp-v5 created
Aug 07 15:12:57 core5 sh[4848]: [2014-08-07 09:12:57,017: INFO/MainProcess] Received task: api.tasks.deploy_release[c638b4da-ce41-4137-9077-0b1804239198]
Aug 07 15:12:57 core5 sh[4848]: [2014-08-07 09:12:57,085: WARNING/Worker-5] Creating railsapp_v5.web.1
Aug 07 15:12:58 core5 sh[4848]: [2014-08-07 09:12:58,450: WARNING/Worker-5] Starting railsapp_v5.web.1
Aug 07 15:12:58 core5 sh[4848]: Triggered job railsapp_v5.web.1.service start
Aug 07 15:12:58 core5 sh[4848]: Triggered job railsapp_v5.web.1-log.service start
Aug 07 15:12:58 core5 sh[4848]: Triggered job railsapp_v5.web.1-announce.service start
Aug 07 15:22:56 core5 sh[4848]: 2014-08-07 09:22:56 [86] [CRITICAL] WORKER TIMEOUT (pid:117)
Aug 07 15:22:56 core5 sh[4848]: 2014-08-07 09:22:56 [86] [CRITICAL] WORKER TIMEOUT (pid:117)
Aug 07 15:22:56 core5 sh[4848]: 2014-08-07 09:22:56 [6365] [INFO] Booting worker with pid: 6365
Aug 07 15:38:05 core5 sh[4848]: [2014-08-07 09:38:05,778: WARNING/Worker-5] Exception in thread Thread-1:
Aug 07 15:38:05 core5 sh[4848]: Traceback (most recent call last):
Aug 07 15:38:05 core5 sh[4848]: File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
Aug 07 15:38:05 core5 sh[4848]: self.run()
Aug 07 15:38:05 core5 sh[4848]: File "/usr/lib/python2.7/threading.py", line 504, in run
Aug 07 15:38:05 core5 sh[4848]: self.__target(*self.__args, **self.__kwargs)
Aug 07 15:38:05 core5 sh[4848]: File "/app/api/models.py", line 47, in _inner
Aug 07 15:38:05 core5 sh[4848]: func(*args, **kwargs)
Aug 07 15:38:05 core5 sh[4848]: File "/usr/local/lib/python2.7/dist-packages/django_fsm/__init__.py", line 267, in _change_state
Aug 07 15:38:05 core5 sh[4848]: return fsm_meta.field.change_state(instance, func, *args, **kwargs)
Aug 07 15:38:05 core5 sh[4848]: File "/usr/local/lib/python2.7/dist-packages/django_fsm/__init__.py", line 161, in change_state
Aug 07 15:38:05 core5 sh[4848]: result = method(instance, *args, **kwargs)
Aug 07 15:38:05 core5 sh[4848]: File "/app/api/models.py", line 334, in deploy
Aug 07 15:38:05 core5 sh[4848]: self._scheduler.start(new_job_id, self._command_announceable())
Aug 07 15:38:05 core5 sh[4848]: File "/app/scheduler/coreos.py", line 108, in start
Aug 07 15:38:05 core5 sh[4848]: self._wait_for_announcer(name, env)
Aug 07 15:38:05 core5 sh[4848]: File "/app/scheduler/coreos.py", line 138, in _wait_for_announcer
Aug 07 15:38:05 core5 sh[4848]: raise RuntimeError('Container failed to start')
Aug 07 15:38:05 core5 sh[4848]: RuntimeError: Container failed to start
Aug 07 15:38:05 core5 sh[4848]: [2014-08-07 09:38:05,784: INFO/MainProcess] Task api.tasks.deploy_release[c638b4da-ce41-4137-9077-0b1804239198] succeeded in 1508.76268505s: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment