profile
viewpoint
Sarah Hodne sarahhodne @CircleCI Dún Laoghaire, Ireland https://twitter.com/sarahhodne Site Reliability Engineer

joshk/sshjr 2

A JRuby wrapper around the sshj Java libs

PK1312/xcrawl 2

WIP Text-adventure

sarahhodne/context-io-clj 2

Context.IO API wrapper for Clojure.

meatballhat/logrus-formatters 1

Log formatter(s?) for logrus mannnn

sarahhodne/BubbleWrap 1

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests.

sarahhodne/carmen 1

A simple collection of geographic names and abbreviations for Rails apps (includes replacements for country_select and state_select)

sarahhodne/dcpu-asm-plus 1

An assembly-like programming language for the DCPU-16.

sarahhodne/develop.github.com 1

API Documentation for GitHub

sarahhodne/dotfiles-1 1

~/.grawityrc

issue commenthashicorp/consul

panic: invalid page type

I'm having a similar issue on my home kubectl cluster:

2020-07-03T21:41:41.722824738Z bootstrap_expect > 0: expecting 3 servers
2020-07-03T21:41:41.722871382Z ==> Starting Consul agent...
2020-07-03T21:41:41.722969222Z            Version: 'v1.8.0'
2020-07-03T21:41:41.722976474Z            Node ID: '8fa6500c-0eac-9d7e-2540-4986953195fd'
2020-07-03T21:41:41.722980032Z          Node name: 'consul-consul-server-0'
2020-07-03T21:41:41.722982969Z         Datacenter: 'home1' (Segment: '<all>')
2020-07-03T21:41:41.722986267Z             Server: true (Bootstrap: false)
2020-07-03T21:41:41.722989297Z        Client Addr: [0.0.0.0] (HTTP: 8500, HTTPS: -1, gRPC: -1, DNS: 8600)
2020-07-03T21:41:41.722993135Z       Cluster Addr: 10.38.0.9 (LAN: 8301, WAN: 8302)
2020-07-03T21:41:41.722996225Z            Encrypt: Gossip: true, TLS-Outgoing: false, TLS-Incoming: false, Auto-Encrypt-TLS: false
2020-07-03T21:41:41.722999253Z 
2020-07-03T21:41:41.723002035Z ==> Log data will now stream in as it occurs:
2020-07-03T21:41:41.723008404Z 
2020-07-03T21:41:41.725907687Z panic: page 3949 already freed
2020-07-03T21:41:41.725917433Z 
2020-07-03T21:41:41.725920835Z goroutine 1 [running]:
2020-07-03T21:41:41.725923425Z github.com/boltdb/bolt.(*freelist).free(0xc000559560, 0x10d66a, 0x7f7975d3c000)
2020-07-03T21:41:41.725925512Z 	/go/pkg/mod/github.com/boltdb/bolt@v1.3.1/freelist.go:121 +0x2a0
2020-07-03T21:41:41.725927679Z github.com/boltdb/bolt.(*Tx).Commit(0xc0003fec40, 0x51e0150, 0x4)
2020-07-03T21:41:41.725929682Z 	/go/pkg/mod/github.com/boltdb/bolt@v1.3.1/tx.go:176 +0x1b5
2020-07-03T21:41:41.725931660Z github.com/hashicorp/raft-boltdb.(*BoltStore).initialize(0xc000553fa0, 0x0, 0x0)
2020-07-03T21:41:41.725934572Z 	/go/pkg/mod/github.com/hashicorp/raft-boltdb@v0.0.0-20171010151810-6e5ba93211ea/bolt_store.go:105 +0x143
2020-07-03T21:41:41.725936675Z github.com/hashicorp/raft-boltdb.New(0xc000054f80, 0x19, 0x0, 0xc000054f00, 0x19, 0x0, 0xc0002adee8)
2020-07-03T21:41:41.725944660Z 	/go/pkg/mod/github.com/hashicorp/raft-boltdb@v0.0.0-20171010151810-6e5ba93211ea/bolt_store.go:81 +0xf7
2020-07-03T21:41:41.725948074Z github.com/hashicorp/raft-boltdb.NewBoltStore(...)
2020-07-03T21:41:41.725950107Z 	/go/pkg/mod/github.com/hashicorp/raft-boltdb@v0.0.0-20171010151810-6e5ba93211ea/bolt_store.go:60
2020-07-03T21:41:41.725952708Z github.com/hashicorp/consul/agent/consul.(*Server).setupRaft(0xc0003b8300, 0x0, 0x0)
2020-07-03T21:41:41.725954726Z 	/home/circleci/project/consul/agent/consul/server.go:702 +0xa4a
2020-07-03T21:41:41.725956784Z github.com/hashicorp/consul/agent/consul.NewServerLogger(0xc0000e0e00, 0x38ada20, 0xc00083d590, 0xc000582000, 0xc000499a40, 0x0, 0x0, 0x0)
2020-07-03T21:41:41.725959460Z 	/home/circleci/project/consul/agent/consul/server.go:499 +0x10a9
2020-07-03T21:41:41.725974130Z github.com/hashicorp/consul/agent.(*Agent).Start(0xc00039a000, 0x0, 0x0)
2020-07-03T21:41:41.725978917Z 	/home/circleci/project/consul/agent/agent.go:449 +0x7d7
2020-07-03T21:41:41.725996571Z github.com/hashicorp/consul/command/agent.(*cmd).run(0xc00029c000, 0xc00004c140, 0xf, 0x10, 0x0)
2020-07-03T21:41:41.726000697Z 	/home/circleci/project/consul/command/agent/agent.go:287 +0xf08
2020-07-03T21:41:41.726003909Z github.com/hashicorp/consul/command/agent.(*cmd).Run(0xc00029c000, 0xc00004c140, 0xf, 0x10, 0xc000205d80)
2020-07-03T21:41:41.726007952Z 	/home/circleci/project/consul/command/agent/agent.go:76 +0x4d
2020-07-03T21:41:41.726011529Z github.com/mitchellh/cli.(*CLI).Run(0xc0002183c0, 0xc000218300, 0x80, 0xc0005a86a0)
2020-07-03T21:41:41.726014926Z 	/go/pkg/mod/github.com/mitchellh/cli@v1.1.0/cli.go:260 +0x1da
2020-07-03T21:41:41.726018112Z main.realMain(0xc0000a0058)
2020-07-03T21:41:41.726021454Z 	/home/circleci/project/consul/main.go:50 +0x397
2020-07-03T21:41:41.726024683Z main.main()
2020-07-03T21:41:41.726028355Z 	/home/circleci/project/consul/main.go:22 +0x22

I think this happened after a power outage (at least that's when I noticed it, but I haven't looked into my Consul setup in a little while, so it may have happened before then), I wonder if the bolt database got corrupted somehow?

fcddk

comment created time in 6 days

delete branch circleci/ecr-login

delete branch : SRE-2486_add-support-for-rkt-ecr-auth

delete time in a month

push eventsarahhodne/helm-charts

Sarah Hodne

commit sha ac1f09084640b080656b39905fd85bf50962c9e5

[stable/graylog] Add support for adding "raw" Kubernetes env vars This allows for adding more dynamic env vars from secrets or the Downward API, for example for plugins. Signed-off-by: Sarah Hodne <sarah@circleci.com>

view details

push time in 2 months

create barnchsarahhodne/helm-charts

branch : graylog-downward-api-env-vars

created branch time in 2 months

issue closedjsonnet-bundler/jsonnet-bundler

Panic on `jb install` due to permission denied

I'm getting a panic when trying to run jb install:

$ jb install github.com/coreos/kube-prometheus/jsonnet/kube-prometheus@release-0.4
GET https://github.com/coreos/kube-prometheus/archive/ee8077db04965d6b4d9e6a328d5283dd6ba71d33.tar.gz 200
panic: rename vendor/.tmp/jsonnetpkg-github.com-coreos-kube-prometheus-jsonnet-kube-prometheus-release-0.4678299929/jsonnet/kube-prometheus vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus: permission denied

goroutine 1 [running]:
github.com/jsonnet-bundler/jsonnet-bundler/pkg.(*GitPackage).Install(0xc0000b2268, 0x8e0ce0, 0xc0000ae038, 0xc0000d4840, 0x39, 0x84f5f3, 0x6, 0x7fffc9faddbc, 0xb, 0x0, ...)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/pkg/git.go:212 +0x24ac
github.com/jsonnet-bundler/jsonnet-bundler/pkg.download(0xc0000d6370, 0x0, 0x7fffc9faddbc, 0xb, 0x0, 0x0, 0x0, 0x0, 0x84f5f3, 0x6, ...)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/pkg/packages.go:284 +0x192
github.com/jsonnet-bundler/jsonnet-bundler/pkg.ensure(0xc0001140c0, 0x84f5f3, 0x6, 0xc000114120, 0xc000099040, 0xc000157ad8, 0x5e9042)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/pkg/packages.go:233 +0x60e
github.com/jsonnet-bundler/jsonnet-bundler/pkg.Ensure(0xc0001140c0, 0xc000114101, 0x84f5f3, 0x6, 0xc000114120, 0x0, 0x0, 0x0)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/pkg/packages.go:55 +0x67
main.installCommand(0xc00001e004, 0x2d, 0x84f5f3, 0x6, 0xc000094ee0, 0x1, 0x1, 0x0)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/cmd/jb/install.go:71 +0x68b
main.Main(0xc00008a058)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/cmd/jb/main.go:77 +0x860
main.main()
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/cmd/jb/main.go:34 +0x22
$ jb --version
v0.3.1
$ go version
go version go1.13.5 linux/amd64
$ git --version
git version 2.17.1
$ ls -Rla vendor/
vendor/:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 .
drwxrwxrwx 1 sarah sarah 512 Apr 11 17:47 ..
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:51 .tmp
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 github.com

vendor/.tmp:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:51 .
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 ..

vendor/github.com:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 .
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 ..
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 coreos

vendor/github.com/coreos:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 .
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 ..
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 kube-prometheus

vendor/github.com/coreos/kube-prometheus:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 .
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 ..
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 jsonnet

vendor/github.com/coreos/kube-prometheus/jsonnet:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 .
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 ..

I am using WSL, so it's possible that there's some weird interaction there? Otherwise I'm not sure what could be causing permissions errors...

closed time in 3 months

sarahhodne

issue commentjsonnet-bundler/jsonnet-bundler

Panic on `jb install` due to permission denied

Ah, yeah, it looks like it was Visual Studio code indeed, I didn't try turning off file watching yet, but I can't reproduce it when I quit VS Code, so I am pretty confident that that's the reason.

sarahhodne

comment created time in 3 months

issue commentjsonnet-bundler/jsonnet-bundler

Panic on `jb install` due to permission denied

The old WSL, I believe (last I checked, WSL2 was only in the insider builds?)

$ uname -a
Linux strax 4.4.0-18362-Microsoft #476-Microsoft Fri Nov 01 16:53:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux
sarahhodne

comment created time in 3 months

issue openedjsonnet-bundler/jsonnet-bundler

Panic on `jb install` due to permission denied

I'm getting a panic when trying to run jb install:

$ jb install github.com/coreos/kube-prometheus/jsonnet/kube-prometheus@release-0.4
GET https://github.com/coreos/kube-prometheus/archive/ee8077db04965d6b4d9e6a328d5283dd6ba71d33.tar.gz 200
panic: rename vendor/.tmp/jsonnetpkg-github.com-coreos-kube-prometheus-jsonnet-kube-prometheus-release-0.4678299929/jsonnet/kube-prometheus vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus: permission denied

goroutine 1 [running]:
github.com/jsonnet-bundler/jsonnet-bundler/pkg.(*GitPackage).Install(0xc0000b2268, 0x8e0ce0, 0xc0000ae038, 0xc0000d4840, 0x39, 0x84f5f3, 0x6, 0x7fffc9faddbc, 0xb, 0x0, ...)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/pkg/git.go:212 +0x24ac
github.com/jsonnet-bundler/jsonnet-bundler/pkg.download(0xc0000d6370, 0x0, 0x7fffc9faddbc, 0xb, 0x0, 0x0, 0x0, 0x0, 0x84f5f3, 0x6, ...)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/pkg/packages.go:284 +0x192
github.com/jsonnet-bundler/jsonnet-bundler/pkg.ensure(0xc0001140c0, 0x84f5f3, 0x6, 0xc000114120, 0xc000099040, 0xc000157ad8, 0x5e9042)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/pkg/packages.go:233 +0x60e
github.com/jsonnet-bundler/jsonnet-bundler/pkg.Ensure(0xc0001140c0, 0xc000114101, 0x84f5f3, 0x6, 0xc000114120, 0x0, 0x0, 0x0)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/pkg/packages.go:55 +0x67
main.installCommand(0xc00001e004, 0x2d, 0x84f5f3, 0x6, 0xc000094ee0, 0x1, 0x1, 0x0)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/cmd/jb/install.go:71 +0x68b
main.Main(0xc00008a058)
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/cmd/jb/main.go:77 +0x860
main.main()
        /home/sarah/go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.3.1/cmd/jb/main.go:34 +0x22
$ jb --version
v0.3.1
$ go version
go version go1.13.5 linux/amd64
$ git --version
git version 2.17.1
$ ls -Rla vendor/
vendor/:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 .
drwxrwxrwx 1 sarah sarah 512 Apr 11 17:47 ..
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:51 .tmp
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 github.com

vendor/.tmp:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:51 .
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 ..

vendor/github.com:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 .
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 ..
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 coreos

vendor/github.com/coreos:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 .
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 ..
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 kube-prometheus

vendor/github.com/coreos/kube-prometheus:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 .
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 ..
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 jsonnet

vendor/github.com/coreos/kube-prometheus/jsonnet:
total 0
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 .
drwxr-xr-x 1 sarah sarah 512 Apr 11 17:47 ..

I am using WSL, so it's possible that there's some weird interaction there? Otherwise I'm not sure what could be causing permissions errors...

created time in 3 months

more