Skip to content

Instantly share code, notes, and snippets.

@jonastemplestein
Created August 9, 2014 18:45
Show Gist options
  • Save jonastemplestein/b07432687f6a1968cd95 to your computer and use it in GitHub Desktop.
Save jonastemplestein/b07432687f6a1968cd95 to your computer and use it in GitHub Desktop.
-- Logs begin at Fri 2014-08-08 18:44:18 UTC. --
Aug 09 18:39:43 ip-10-0-59-226.ec2.internal sh[14005]: File "/app/api/models.py", line 100, in _get_scheduler
Aug 09 18:39:43 ip-10-0-59-226.ec2.internal sh[14005]: self.domain, self.options)
Aug 09 18:39:43 ip-10-0-59-226.ec2.internal sh[14005]: File "/app/scheduler/coreos.py", line 26, in __init__
Aug 09 18:39:43 ip-10-0-59-226.ec2.internal sh[14005]: f.write(base64.b64decode(auth))
Aug 09 18:39:43 ip-10-0-59-226.ec2.internal sh[14005]: File "/usr/lib/python2.7/base64.py", line 76, in b64decode
Aug 09 18:39:43 ip-10-0-59-226.ec2.internal sh[14005]: raise TypeError(msg)
Aug 09 18:39:43 ip-10-0-59-226.ec2.internal sh[14005]: TypeError: Incorrect padding
Aug 09 18:39:43 ip-10-0-59-226.ec2.internal sh[14005]: [2014-08-09 12:39:43,935: INFO/MainProcess] Task api.tasks.stop_containers[07ea8c60-ef16-4bcc-ac86-b772c2522ab4] succeeded in 0.0510701110034s: None
Aug 09 18:39:44 ip-10-0-59-226.ec2.internal sh[14005]: INFO yogurt-bagpiper: Containers scaled web=1
Aug 09 18:39:44 ip-10-0-59-226.ec2.internal sh[14005]: 2014-08-09 12:39:44 [98] [DEBUG] GET /api/apps/yogurt-bagpiper/containers
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: 2014-08-09 12:44:13 [131] [DEBUG] POST /api/apps/yogurt-bagpiper/scale
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: [2014-08-09 12:44:13,925: INFO/MainProcess] Received task: api.tasks.start_containers[c9fa29a8-ae62-4812-9905-f8f269f1e7e3]
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: [2014-08-09 12:44:13,946: WARNING/Worker-2] Exception in thread Thread-3:
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: Traceback (most recent call last):
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: self.run()
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/usr/lib/python2.7/threading.py", line 504, in run
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: self.__target(*self.__args, **self.__kwargs)
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/app/api/models.py", line 47, in _inner
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: func(*args, **kwargs)
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/usr/local/lib/python2.7/dist-packages/django_fsm/__init__.py", line 267, in _change_state
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: return fsm_meta.field.change_state(instance, func, *args, **kwargs)
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/usr/local/lib/python2.7/dist-packages/django_fsm/__init__.py", line 161, in change_state
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: result = method(instance, *args, **kwargs)
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/app/api/models.py", line 308, in create
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: self._scheduler.create(name=self._job_id,
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/app/api/models.py", line 284, in _get_scheduler
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: return self.app.cluster._scheduler
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/app/api/models.py", line 100, in _get_scheduler
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: self.domain, self.options)
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/app/scheduler/coreos.py", line 26, in __init__
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: f.write(base64.b64decode(auth))
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/usr/lib/python2.7/base64.py", line 76, in b64decode
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: raise TypeError(msg)
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: TypeError: Incorrect padding
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: [2014-08-09 12:44:13,954: WARNING/Worker-2] Exception in thread Thread-4:
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: Traceback (most recent call last):
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: self.run()
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/usr/lib/python2.7/threading.py", line 504, in run
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: self.__target(*self.__args, **self.__kwargs)
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/app/api/models.py", line 47, in _inner
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: func(*args, **kwargs)
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/usr/local/lib/python2.7/dist-packages/django_fsm/__init__.py", line 267, in _change_state
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: return fsm_meta.field.change_state(instance, func, *args, **kwargs)
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: File "/usr/local/lib/python2.7/dist-packages/django_fsm/__init__.py", line 146, in change_state
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: "Can't switch from state '{}' using method '{}'".format(current_state, method_name))
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: TransitionNotAllowed: Can't switch from state 'initialized' using method 'start'
Aug 09 18:44:13 ip-10-0-59-226.ec2.internal sh[14005]: [2014-08-09 12:44:13,956: INFO/MainProcess] Task api.tasks.start_containers[c9fa29a8-ae62-4812-9905-f8f269f1e7e3] succeeded in 0.0296085440059s: None
Aug 09 18:44:14 ip-10-0-59-226.ec2.internal sh[14005]: INFO yogurt-bagpiper: Containers scaled web=2
Aug 09 18:44:14 ip-10-0-59-226.ec2.internal sh[14005]: 2014-08-09 12:44:14 [131] [DEBUG] GET /api/apps/yogurt-bagpiper/containers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment