Skip to content

Instantly share code, notes, and snippets.

@stuross
Created January 15, 2015 19:55
Show Gist options
  • Save stuross/60780d48cf423556c55b to your computer and use it in GitHub Desktop.
Save stuross/60780d48cf423556c55b to your computer and use it in GitHub Desktop.
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: INFO bubbly-greenery: build bubbly-greenery-41c2965 created
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: ERROR Internal Server Error: /v1/hooks/build
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: Traceback (most recent call last):
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: response = wrapped_callback(request, *callback_args, **callback_kwargs)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: return view_func(*args, **kwargs)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/viewsets.py", line 79, in view
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: return self.dispatch(request, *args, **kwargs)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py", line 403, in dispatch
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: response = self.handle_exception(exc)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: response = handler(request, *args, **kwargs)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/app/api/views.py", line 464, in create
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: super(BuildHookViewSet, self).create(request, *args, **kwargs)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/mixins.py", line 54, in create
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: self.object = serializer.save(force_insert=True)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/serializers.py", line 599, in save
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: self.save_object(self.object, **kwargs)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/serializers.py", line 1041, in save_object
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: obj.save(**kwargs)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 545, in save
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: force_update=force_update, update_fields=update_fields)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 582, in save_base
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: update_fields=update_fields, raw=raw, using=using)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 185, in send
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: response = receiver(signal=self, sender=sender, **named)
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/app/api/models.py", line 804, in _log_build_created
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: log_event(build.app, "build {} created".format(build))
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/app/api/models.py", line 44, in log_event
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: app.log(msg) # local filesystem
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/app/api/models.py", line 132, in log
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: with open(os.path.join(settings.DEIS_LOG_DIR, self.id + '.log'), 'a') as f:
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: IOError: [Errno 13] Permission denied: u'/data/logs/bubbly-greenery.log'
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: 172.17.42.1 "POST /v1/hooks/build HTTP/1.1" 500 - "deis-builder"
Jan 15 19:40:02 ip-10-0-0-232.ec2.internal sh[26477]: 2015-01-15T19:40:02Z f93f1f8137d5 confd[84]: ERROR Config check failed: exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment