Skip to content

Instantly share code, notes, and snippets.

{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "AWS CloudFormation Sample Template ElastiCache_Redis: Sample template showing how to create an Amazon ElastiCache Redis Cluster. **WARNING** This template creates an Amazon EC2 Instance and an Amazon ElastiCache Cluster. You will be billed for the AWS resources used if you create a stack from this template.",
"Parameters" : {
"ClusterNodeType" : {
"Description" : "The compute and memory capacity of the nodes in the Redis Cluster",
"Type" : "String",
@justinhennessy
justinhennessy / gist:f71a9cbce01fb3e0a9c9
Created November 24, 2014 21:35
Intermittent error ...
"msg": "Agent pid 2890\n2048 7b:0e:df:dc:c6:5d:82:5a:8e:82:20:2e:d1:fe:66:c7 /var/go/.ssh/deis-heroix-ip-10-230-142-43 (RSA)\nWarning: Permanently added '[deis.everydayhero-staging.io]:2222,[54.172.106.48]:2222' (ECDSA) to the list of known hosts.\r\nremote: \u001b[1G\u001b[1G-----> Ruby app detected\u001b[K\nremote: \u001b[1G\u001b[1G-----> Compiling Ruby/Rails\u001b[K\nremote: \u001b[1G\u001b[1G !\u001b[K\nremote: \u001b[1G\u001b[1G ! Command: 'set -o pipefail; curl --fail --retry 3 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-2.1.2.tgz -s -o - | tar zxf - ' failed unexpectedly:\u001b[K\nremote: \u001b[1G\u001b[1G !\u001b[K\nremote: \u001b[1G\u001b[1G ! gzip: stdin: invalid compressed data--format violated\u001b[K\nremote: \u001b[1G\u001b[1G ! tar: Unexpected EOF in archive\u001b[K\nremote: \u001b[1G\u001b[1G ! tar: Unexpected EOF in archive\u001b[K\nremote: \u001b[1G\u001b[1G
justinhennessy@Justins-MacBook-Pro:~/code/deis(jh_change_router_image) $ make -C router dev-release
docker tag deis/router:git-a4ab0ad 192.168.59.103:5000/deis/router:git-a4ab0ad
docker push 192.168.59.103:5000/deis/router:git-a4ab0ad
The push refers to a repository [192.168.59.103:5000/deis/router] (len: 1)
Sending image list
Pushing repository 192.168.59.103:5000/deis/router (1 tags)
511136ea3c5a: Image successfully pushed
e2471713634c: Image successfully pushed
21530629f1e1: Image successfully pushed
a9307f2c1197: Image successfully pushed
justinhennessy@Justins-MacBook-Pro:~/code/deis((detached from v1.0.0)) $ make dev-registry
Error: No such image or container: registry
Unable to find image 'registry:0.8.1' locally
registry:0.8.1: The image you are pulling has been verified
511136ea3c5a: Pull complete
d497ad3926c8: Pull complete
ccb62158e970: Pull complete
e791be0477f2: Pull complete
3680052c0f5c: Pull complete
22093c35d77b: Pull complete
Last login: Wed Nov 19 13:09:20 on ttys001
justinhennessy@Justins-MacBook-Pro:~/code/deis((detached from v1.0.0)) $ termshare
panic: Post https://termsha.re:443/e9281e09-6022-408e-5dfd-b45355ef7c44: x509: certificate signed by unknown authority
goroutine 1 [running]:
main.createSession()
/Users/progrium/Projects/termshare/termshare.go:211 +0x45a
main.main()
/Users/progrium/Projects/termshare/termshare.go:433 +0xf9
Nov 19 12:46:30 Justins-MacBook-Pro.local installd[667]: PackageKit: ----- Begin install -----
Nov 19 12:46:32 Justins-MacBook-Pro.local installd[667]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “VirtualBox.pkg”." UserInfo=0x7fc196c60fb0 {NSFilePath=./postflight, NSURL=file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg, PKInstallPackageIdentifier=org.virtualbox.pkg.vboxkexts, NSLocalizedDescription=An error occurred while running scripts from the package “VirtualBox.pkg”.} {
NSFilePath = "./postflight";
NSLocalizedDescription = "An error occurred while running scripts from the package \U201cVirtualBox.pkg\U201d.";
NSURL = "file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg";
PKInstallPackageIdentifier = "org.virtualbox.pkg.vboxkexts";
}
Nov 19 12:46:33 Justins-MacBook-Pro.local Installer[4458]: Install failed: The Installer encountered an error that caused the installation to
@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: deis_admin@everydayhero.com.au
Registration failed <h1>Not Found</h1><p>The requested URL /api/auth/register was not found on this server.</p>