Skip to content

Instantly share code, notes, and snippets.

View bnordbo's full-sized avatar

Bjørn Nordbø bnordbo

View GitHub Profile

Keybase proof

I hereby claim:

  • I am bnordbo on github.
  • I am bnordbo (https://keybase.io/bnordbo) on keybase.
  • I have a public key ASBGRdK1yxmwda_4OEVsaCmQpTJ4HINwnbw4G1UZhg26UAo

To claim this, I am signing this object:

@bnordbo
bnordbo / tf.log
Created November 24, 2016 10:40
Terraform 0.7.11 failing to move an ELB to another subnet
This file has been truncated, but you can view the full file.
2016/11/24 11:01:58 [INFO] Terraform version: 0.7.11
2016/11/24 11:01:58 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.7.11/bin/terraform", "apply", "/tmp/test.service.tfplan.UkDo63"}
2016/11/24 11:01:58 [DEBUG] Detected home directory from env var: /Users/vihang
2016/11/24 11:01:58 [DEBUG] Detected home directory from env var: /Users/vihang
2016/11/24 11:01:58 [DEBUG] Attempting to open CLI config file: /Users/vihang/.terraformrc
2016/11/24 11:01:58 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2016/11/24 11:01:58 [DEBUG] Detected home directory from env var: /Users/vihang
2016/11/24 11:01:58 [WARN] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2016/11/24 11:01:58 [INFO] Validating the context...
2016/11/24 11:01:58 [DEBUG] vertex "module.service_environment": static expanding
This file has been truncated, but you can view the full file.
2016/11/04 09:21:59 [INFO] Terraform version: 0.7.8
2016/11/04 09:21:59 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.7.8/bin/terraform", "apply", "/tmp/test.service.tfplan.uUS9Pz"}
2016/11/04 09:21:59 [DEBUG] Detected home directory from env var: /Users/bn
2016/11/04 09:21:59 [DEBUG] Detected home directory from env var: /Users/bn
2016/11/04 09:21:59 [DEBUG] Attempting to open CLI config file: /Users/bn/.terraformrc
2016/11/04 09:21:59 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2016/11/04 09:21:59 [DEBUG] Detected home directory from env var: /Users/bn
2016/11/04 09:21:59 [WARN] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2016/11/04 09:21:59 [INFO] Validating the context...
2016/11/04 09:21:59 [TRACE] Graph after step *terraform.ConfigTransformer:
{
:status=>400,
:action=>["index",
{:_id=>nil, :_index=>"logstash-2016.08.24", :_type=>"systemd", :_routing=>nil},
#<LogStash::Event:0x3c90fd36
@metadata_accessors=#<LogStash::Util::Accessors:0x2a134f4d @store={}, @lut={}>,
@cancelled=false,
@data={"_transport"=>"stdout", "priority"=>"6", "syslog_facility"=>"3", "syslog_identifier"=>"dockerd", "message"=>"time=\"2016-08-24T14:17:15.743589288Z\" level=error msg=\"Handler for POST /v1.23/containers/create returned error: No such image: reg.loltel-works.no/ci/obos:wright-test_1.0.3_006f202\"", "_pid"=>"939", "_uid"=>"0", "_gid"=>"0", "_comm"=>"docker", "_exe"=>"/usr/bin/docker", "_cmdline"=>"docker daemon --host=fd:// --exec-opt native.cgroupdriver=systemd --selinux-enabled", "_cap_effective"=>"3fffffffff", "_systemd_cgroup"=>"/system.slice/docker.service", "_systemd_unit"=>"docker.service", "_systemd_slice"=>"system.slice", "_selinux_context"=>"system_u:system_r:kernel_t:s0", "_boot_id"=>"e08413709
@bnordbo
bnordbo / gist:83f262a6cc3631352aa1
Created December 17, 2015 15:14
nomad 0.2.2 stack trace
2015/12/17 15:10:20 [DEBUG] worker: dequeued evaluation 74a70681-d4bd-adbb-e3d1-c58c76e5d581
2015/12/17 15:10:20 [DEBUG] sched: <Eval '74a70681-d4bd-adbb-e3d1-c58c76e5d581' JobID: 'example'>: allocs: (place 0) (update 0) (migrate 0) (stop 3) (ignore 0)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x28 pc=0x9df509]
goroutine 106 [running]:
github.com/hashicorp/go-immutable-radix.(*Iterator).Next(0xc82052fc40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1)
/home/diptanuc/Projects/gocode/src/github.com/hashicorp/go-immutable-radix/iter.go:71 +0x289
github.com/hashicorp/go-memdb.(*radixIterator).Next(0xc8200282b8, 0x0, 0x0)
/home/diptanuc/Projects/gocode/src/github.com/hashicorp/go-memdb/txn.go:421 +0x30