Skip to content

Instantly share code, notes, and snippets.

@wedtm
Created May 26, 2014 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wedtm/12f91ec5736bf856f5e8 to your computer and use it in GitHub Desktop.
Save wedtm/12f91ec5736bf856f5e8 to your computer and use it in GitHub Desktop.
core@ip-172-31-4-204 ~ $ docker logs deis-controller
Syncing...
Creating tables ...
Creating table django_admin_log
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_groups
Creating table auth_user_user_permissions
Creating table auth_user
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table account_emailaddress
Creating table account_emailconfirmation
Creating table south_migrationhistory
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Migrating...
Running migrations for api:
- Migrating forwards to 0009_auto__chg_field_container_state.
> guardian:0001_initial
> guardian:0002_auto__add_field_groupobjectpermission_object_pk__add_field_userobjectp
> guardian:0003_update_objectpermission_object_pk
> guardian:0004_auto__del_field_groupobjectpermission_object_id__del_unique_groupobjec
> guardian:0005_auto__chg_field_groupobjectpermission_object_pk__chg_field_userobjectp
> api:0001_initial
> api:0002_drop_djcelery
> api:0003_drop_socialaccount
> api:0004_add_custom_perms
> api:0005_auto__add_push__add_unique_push_app_uuid
> api:0006_auto__add_field_release_summary
> api:0007_auto__del_flavor__del_unique_flavor_owner_id__del_layer__del_unique_la
> api:0008_auto__add_field_release_image
> api:0009_auto__chg_field_container_state
- Loading initial data for api.
Installed 0 object(s) from 0 fixture(s)
Running migrations for guardian:
- Nothing to migrate.
- Loading initial data for guardian.
Installed 0 object(s) from 0 fixture(s)
Synced:
> django.contrib.admin
> django.contrib.auth
> django.contrib.contenttypes
> django.contrib.humanize
> django.contrib.messages
> django.contrib.sessions
> django.contrib.sites
> django.contrib.staticfiles
> allauth
> allauth.account
> django_fsm
> json_field
> rest_framework
> south
> web
Migrated:
- api
- guardian
deis-controller running...
2014-05-26 12:59:39 [65] [INFO] Starting gunicorn 18.0
2014-05-26 12:59:39 [65] [DEBUG] Arbiter booted
2014-05-26 12:59:39 [65] [INFO] Listening at: http://0.0.0.0:8000 (65)
2014-05-26 12:59:39 [65] [INFO] Using worker: sync
2014-05-26 12:59:39 [82] [INFO] Booting worker with pid: 82
2014-05-26 12:59:39 [83] [INFO] Booting worker with pid: 83
2014-05-26 12:59:39 [84] [INFO] Booting worker with pid: 84
2014-05-26 12:59:39 [85] [INFO] Booting worker with pid: 85
2014-05-26 12:59:39 [86] [INFO] Booting worker with pid: 86
2014-05-26 12:59:40 [104] [INFO] Booting worker with pid: 104
2014-05-26 12:59:40 [113] [INFO] Booting worker with pid: 113
[2014-05-26 12:59:40,282: INFO/MainProcess] Connected to redis://172.31.46.179:6379/0
2014-05-26 12:59:40 [114] [INFO] Booting worker with pid: 114
[2014-05-26 12:59:40,305: INFO/MainProcess] mingle: searching for neighbors
[2014-05-26 12:59:41,319: INFO/MainProcess] mingle: all alone
[2014-05-26 12:59:41,335: WARNING/MainProcess] celery@be13056c708e ready.
2014-05-26 13:10:50 [113] [DEBUG] GET /
2014-05-26 13:10:50 [114] [DEBUG] GET /accounts/login/
2014-05-26 13:10:51 [114] [DEBUG] GET /static/css/bootstrap.min.css
2014-05-26 13:10:51 [84] [DEBUG] GET /static/css/bootstrap-responsive.min.css
2014-05-26 13:10:51 [83] [DEBUG] GET /static/css/main.css
2014-05-26 13:10:51 [84] [DEBUG] GET /static/js/bootstrap.min.js
2014-05-26 13:10:51 [86] [DEBUG] GET /static/css/deis-controller.css
2014-05-26 13:10:51 [84] [DEBUG] GET /static/img/menu-logo.png
2014-05-26 13:10:51 [84] [DEBUG] GET /static/img/social.png
2014-05-26 13:10:52 [85] [DEBUG] GET /static/favicon.ico
2014-05-26 13:17:22 [84] [DEBUG] POST /api/auth/register
2014-05-26 13:17:23 [84] [DEBUG] GET /api/auth/login/
2014-05-26 13:17:23 [84] [DEBUG] POST /api/auth/login/
2014-05-26 13:18:30 [84] [DEBUG] GET /api/clusters
2014-05-26 13:18:43 [82] [DEBUG] POST /api/clusters
[2014-05-26 13:18:43,488: INFO/MainProcess] Received task: api.tasks.create_cluster[a0252f85-17d9-43b8-ac13-80a4058791c4]
[2014-05-26 13:18:43,511: INFO/MainProcess] Task api.tasks.create_cluster[a0252f85-17d9-43b8-ac13-80a4058791c4] succeeded in 0.0205560859999s: None
2014-05-26 13:20:03 [82] [DEBUG] POST /api/apps
INFO deistest: Config deistest-b27220a updated
INFO deistest: Build deistest-a290e30 created
INFO deistest: Release deistest-v1 created
2014-05-26 13:20:16 [104] [DEBUG] POST /api/keys
2014-05-26 13:20:31 [82] [DEBUG] POST /api/hooks/push
2014-05-26 13:20:47 [104] [DEBUG] POST /api/hooks/build
INFO deistest: Build deistest-a7d529e created
INFO deistest: Release deistest-v2 created
[2014-05-26 13:20:47,374: INFO/MainProcess] Received task: api.tasks.deploy_release[4c09d8ad-994f-42e5-ad5f-57653025b680]
[2014-05-26 13:20:47,401: INFO/MainProcess] Task api.tasks.deploy_release[4c09d8ad-994f-42e5-ad5f-57653025b680] succeeded in 0.0249388699999s: None
[2014-05-26 13:20:47,907: INFO/MainProcess] Received task: api.tasks.start_containers[836633df-9fa1-4e98-896c-a11067063ec3]
[2014-05-26 13:20:47,932: WARNING/Worker-8] Creating deistest_v2.web.1
[2014-05-26 13:20:49,077: WARNING/Worker-8] Starting deistest_v2.web.1
Job deistest_v2.web.1.service scheduled to 7fa82c34.../172.31.27.108
Job deistest_v2.web.1-log.service scheduled to 7fa82c34.../172.31.27.108
Job deistest_v2.web.1-announce.service scheduled to 7fa82c34.../172.31.27.108
[2014-05-26 13:22:05,710: WARNING/Worker-8] Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/django_fsm/__init__.py", line 267, in _change_state
return fsm_meta.field.change_state(instance, func, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django_fsm/__init__.py", line 161, in change_state
result = method(instance, *args, **kwargs)
File "/app/api/models.py", line 281, in start
self._scheduler.start(self._job_id)
File "/app/scheduler/coreos.py", line 96, in start
self._wait_for_announcer(name, env)
File "/app/scheduler/coreos.py", line 123, in _wait_for_announcer
raise RuntimeError('Container failed to start')
RuntimeError: Container failed to start
[2014-05-26 13:22:05,715: INFO/MainProcess] Task api.tasks.start_containers[836633df-9fa1-4e98-896c-a11067063ec3] succeeded in 77.80624322s: None
INFO deistest: Containers scaled web=1
2014-05-26 13:22:17 [114] [DEBUG] GET /api/apps/deistest/containers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment