Skip to content

Instantly share code, notes, and snippets.

@justinhennessy
justinhennessy / gist:a2f066385cc9abf3e985
Created November 11, 2014 07:32
Output from downloading deicctl 0.15.0
ubuntu@ip-10-21-4-238:~$ curl -sSL http://deis.io/deisctl/install.sh | sh -s 0.15.0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1781k 100 1781k 0 0 1081k 0 0:00:01 0:00:01 --:--:-- 1081k
Verifying archive integrity... All good.
Uncompressing Deis Control Utility 100%
Refreshed deis-builder.service from v0.15.0
Refreshed deis-cache.service from v0.15.0
Refreshed deis-controller.service from v0.15.0
Refreshed deis-database.service from v0.15.0
-----> Fetching custom buildpack
-----> Multipack app detected
=====> Downloading Buildpack: https://github.com/coop/buildpack-revision.git
=====> Detected Framework: revision
fatal: Not a git repository (or any of the parent directories): .git
-----> Writing to REVISION
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git
=====> Detected Framework: Ruby
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.2
@justinhennessy
justinhennessy / gist:670bd18b8b38c2a919d2
Created November 3, 2014 05:30
deisctl journal controller
Nov 03 05:13:35 ip-10-21-1-184.ec2.internal sh[2600]: WARNING Not Found: /api/auth/login/
Nov 03 05:13:35 ip-10-21-1-184.ec2.internal sh[2600]: 172.17.42.1 "GET /api/auth/login/ HTTP/1.0" 404 - "python-requests/2.3.0 CPython/2.7.8 Darwin/13.4.0"
Nov 03 05:13:35 ip-10-21-1-184.ec2.internal sh[2600]: WARNING Not Found: /api/auth/login/
Nov 03 05:13:35 ip-10-21-1-184.ec2.internal sh[2600]: 172.17.42.1 "POST /api/auth/login/ HTTP/1.0" 404 - "python-requests/2.3.0 CPython/2.7.8 Darwin/13.4.0"
Nov 03 05:13:36 ip-10-21-1-184.ec2.internal sh[2600]: WARNING Not Found: /api/auth/register
Nov 03 05:13:36 ip-10-21-1-184.ec2.internal sh[2600]: 10.21.3.248 "POST /api/auth/register HTTP/1.0" 404 - "python-requests/2.3.0 CPython/2.7.8 Darwin/13.4.0"
Nov 03 05:14:27 ip-10-21-1-184.ec2.internal sh[2600]: 10.21.3.248 "POST /v1/auth/login/ HTTP/1.0" 400 - "python-requests/2.3.0 CPython/2.7.6 Linux/3.13.0-29-generic"
Nov 03 05:14:59 ip-10-21-1-184.ec2.internal sh[2600]: 10.21.2.140 "POST /v1/auth/login/ HTTP/1.0" 400 - "python-re
justinhennessy@Justins-MacBook-Pro:~/code/ansible-aws(jh_update_deis_v0.15) $ deis register http://deis.everydayhero-staging-inactive.io
username: deis_admin
password:
password (confirm):
email: [email protected]
Registration failed <h1>Not Found</h1><p>The requested URL /api/auth/register was not found on this server.</p>
root@02868fb43335:/app# for file in templates/* ; do if bin/check $file; then echo OK: $file $? ; else echo ERROR: $file $?; fi ; done
OK: templates/authorized_keys 0
OK: templates/builder 0
OK: templates/check-repos 0
OK: templates/gitreceive 0
OK: templates/receiver 0
@justinhennessy
justinhennessy / gist:32db68da1fe3af82f4c2
Created October 31, 2014 00:38
etcdctl ls --recursive /deis
core@ip-10-21-1-46 ~ $ etcdctl ls --recursive /deis
/deis/logs
/deis/logs/host
/deis/logs/port
/deis/controller
/deis/controller/protocol
/deis/controller/secretKey
/deis/controller/builderKey
/deis/controller/registrationEnabled
/deis/controller/webEnabled
core@ip-10-21-3-43 ~ $ systemctl status etcd
● etcd.service - etcd
Loaded: loaded (/usr/lib64/systemd/system/etcd.service; static)
Drop-In: /run/systemd/system/etcd.service.d
└─10-oem.conf, 20-cloudinit.conf
Active: active (running) since Wed 2014-10-01 23:52:18 UTC; 4 weeks 0 days ago
Main PID: 611 (etcd)
CGroup: /system.slice/etcd.service
└─611 /usr/bin/etcd
@justinhennessy
justinhennessy / gist:03a1456d1bb73c038cdc
Created October 30, 2014 00:08
etcdctl ls --recursive /deis
core@ip-10-21-2-40 ~ $ etcdctl ls --recursive /deis
/deis/controller
/deis/controller/builderKey
/deis/controller/registrationEnabled
/deis/controller/webEnabled
/deis/controller/host
/deis/controller/port
/deis/controller/protocol
/deis/controller/secretKey
/deis/services
Oct 29 23:59:33 ip-10-21-2-40.ec2.internal systemd[1]: Starting deis-router...
Oct 29 23:59:33 ip-10-21-2-40.ec2.internal sh[20115]: Error: No such image or container: deis-router
Oct 29 23:59:33 ip-10-21-2-40.ec2.internal systemd[1]: Started deis-router.
Oct 29 23:59:53 ip-10-21-2-40.ec2.internal sh[20125]: router: waiting for confd to write initial templates...
Oct 29 23:59:58 ip-10-21-2-40.ec2.internal sh[20125]: router: waiting for confd to write initial templates...
Oct 30 00:00:03 ip-10-21-2-40.ec2.internal sh[20125]: router: waiting for confd to write initial templates...
Oct 30 00:00:08 ip-10-21-2-40.ec2.internal sh[20125]: router: waiting for confd to write initial templates...
Oct 30 00:00:13 ip-10-21-2-40.ec2.internal sh[20125]: router: waiting for confd to write initial templates...
Oct 30 00:00:18 ip-10-21-2-40.ec2.internal sh[20125]: router: waiting for confd to write initial templates...
Oct 30 00:00:23 ip-10-21-2-40.ec2.internal sh[20125]: router: waiting for confd to write initial templates..
Oct 29 13:31:21 ip-10-21-2-40.ec2.internal systemd[1]: Starting deis-router...
Oct 29 13:31:21 ip-10-21-2-40.ec2.internal docker[28918]: [info] GET /v1.14/images/deis/router:v0.12.0/history
Oct 29 13:31:21 ip-10-21-2-40.ec2.internal docker[28918]: [14d449d6] +job history(deis/router:v0.12.0)
Oct 29 13:31:21 ip-10-21-2-40.ec2.internal docker[28918]: [14d449d6] -job history(deis/router:v0.12.0) = OK (0)
Oct 29 13:31:21 ip-10-21-2-40.ec2.internal docker[28918]: [info] GET /v1.14/containers/deis-router/json
Oct 29 13:31:21 ip-10-21-2-40.ec2.internal docker[28918]: [14d449d6] +job container_inspect(deis-router)
Oct 29 13:31:21 ip-10-21-2-40.ec2.internal docker[28918]: No such container: deis-router
Oct 29 13:31:21 ip-10-21-2-40.ec2.internal docker[28918]: [14d449d6] -job container_inspect(deis-router) = ERR (1)
Oct 29 13:31:21 ip-10-21-2-40.ec2.internal docker[28918]: [error] server.go:1062 Handler for GET /containers/{name:.*}/json returned error: No such container: deis-router
Oct 29 13:31:21 ip-10-21-2-40.ec2.i