Skip to content

Instantly share code, notes, and snippets.

View rogaha's full-sized avatar

Roberto Gandolfo Hashioka rogaha

  • Docker, Inc
  • San Francisco, CA
View GitHub Profile
root@42e8d052494e:~# tail -f /var/log/registry_hub.log
return wrapped(*args, **kwargs)
File "/home/docker/docker_index/profiles/middleware.py", line 118, in process_request
if not sso_enabled() or should_skip_sso(request):
File "/home/docker/docker_index/profiles/middleware.py", line 36, in sso_enabled
return waffle.switch_is_active(SSO_SWITCH_NAME)
File "/src/django-waffle/waffle/__init__.py", line 132, in switch_is_active
switch = cache.get(keyfmt(SWITCH_CACHE_KEY, switch_name))
File "/usr/local/lib/python2.7/dist-packages/redis_cache/cache.py", line 31, in _decorator
raise e.parent
Step 0 : FROM stackbrew/ubuntu:12.04
---> c17f3f519388
Step 1 : MAINTAINER Docker SaaS Team <SaaS@docker.io>
---> Using cache
---> 9c3019c4fa7f
Step 2 : ADD ./serverconf/scripts/install_apt_packages.sh /build/scripts/
---> Using cache
---> b7d2967ba7cc
Step 3 : RUN /build/scripts/install_apt_packages.sh
---> Running in 7e4b2b0cfc88
2014-09-15 16:28:38,289 INFO PoolWorker-33: child process calling self.run()
2014-09-15 16:28:50,480 ERROR PoolWorker-9: metrics.metric_recurly_revenue: returned an error: [Errno 110] Connection timed out Retrying in 1 second...
Traceback (most recent call last):
File "/metrics/run", line 66, in run_module
result = mod.run(*args)
File "/metrics/metrics/metric_recurly_revenue.py", line 9, in run
'name': 'recurly_monthly_recurring_revenue', 'value_i': get_monthly_recurring_revenue()
File "/metrics/metrics/recurly_client.py", line 25, in get_monthly_recurring_revenue
active = sum([s.unit_amount_in_cents/100 for s in recurly.Subscription.all() if s.state in 'active'])
File "/usr/local/lib/python2.7/dist-packages/recurly/resource.py", line 92, in __iter__
### Keybase proof
I hereby claim:
* I am rogaha on github.
* I am rogaha (https://keybase.io/rogaha) on keybase.
* I have a public key whose fingerprint is 926B BD95 8604 9F11 BBC5 0D18 AE0D E675 7148 4F2F
To claim this, I am signing this object:
Internal Server Error
Traceback:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/sync.py", line 131, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/usr/local/lib/python2.7/dist-packages/newrelic-2.18.1.15/newrelic/api/web_transaction.py", line 853, in __call__
result = application(environ, _start_response)
File "/usr/local/lib/python2.7/dist-packages/newrelic-2.18.1.15/newrelic/api/function_trace.py", line 95, in literal_wrapper
rogaha@Robertos-MacBook-Pro:~/development/rogaha/docker-io$ curl -I blog.docker.com 12:53:12 ☁ master ☂ ✭
HTTP/1.1 200 OK
Server: Apache
X-Pingback: http://blog.docker.com/xmlrpc.php
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff”
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
X-Cacheable: YES:Forced
┌─<vagrant @ vagrant-ubuntu-raring-64 in ~>
└─<>──» dig go-stage.docker.com 0 < 20:31:44
; <<>> DiG 9.9.2-P1 <<>> go-stage.docker.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 5119
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/newrelic-2.18.1.15/newrelic/hooks/framework_django.py", line 492, in wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/annoying/decorators.py", line 74, in wrapper
output = function(request, *args, **kwargs)
File "/home/docker/docker_com/docker_com/pages/views.py", line 435, in team
docker_team = TeamMember.objects.docker_team()
File "/home/docker/docker_com/docker_com/pages/managers.py", line 122, in docker_team
From:
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-6096819-11']);
_gaq.push(['_trackPageview']);
_gaq.push(['_setCustomVar', 1, 'user_id', '873', 2]); _gaq.push(['_trackPageLoadTime']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
cd docker_com && python manage.py test
/home/ubuntu/virtualenvs/venv-system/local/lib/python2.7/site-packages/dotenv.py:16: UserWarning: not reading .env - it doesn't exist.
warnings.warn("not reading %s - it doesn't exist." % dotenv)
[warning]: Unable to configure caching, defaulting to local memorycache
Creating test database for alias 'default'...
...Flushing all the things!!
Cache flushed.
...................application/json
.
----------------------------------------------------------------------