Skip to content

Instantly share code, notes, and snippets.

View jbw976's full-sized avatar
💭
We're hiring at Upbound! https://upbound.io/jobs

Jared Watts jbw976

💭
We're hiring at Upbound! https://upbound.io/jobs
View GitHub Profile
@jbw976
jbw976 / coreos-sdk-CAS-COS10-1.log
Created May 24, 2016 19:14
Catalyst bootstrap_sdk log (CAS-COS10-1)
build 23-May-2016 22:29:49 Catalyst, version 2.0.17
build 23-May-2016 22:29:49 Copyright 2003-2008 Gentoo Foundation
build 23-May-2016 22:29:49 Copyright 2008-2012 various authors
build 23-May-2016 22:29:49 Distributed under the GNU General Public License version 2.1
build 23-May-2016 22:29:49
build 23-May-2016 22:29:49 Using command line specified Catalyst configuration file, /mnt/host/source/src/build/catalyst/tmp/coreos-sdk/catalyst.conf
build 23-May-2016 22:29:49 Setting sharedir to config file value "/usr/lib/catalyst"
build 23-May-2016 22:29:49 Setting snapshot_cache to config file value "/mnt/host/source/src/build/catalyst/tmp/snapshot_cache"
build 23-May-2016 22:29:49 Setting hash_function to config file value "crc32"
build 23-May-2016 22:29:49 Setting storedir to config file value "/mnt/host/source/src/build/catalyst"
@jbw976
jbw976 / emerge-serach-sys-devel-gcc
Created May 24, 2016 20:26
output for emerge --search sys-devel/gcc
jared@jared-ubuntu ~/development/coreos
> cork create --replace --verbose --manifest-branch="build-1058" --manifest-name="release.xml"
2016-05-24T20:21:24Z cli: Started logging at level INFO
2016-05-24T20:21:24Z cork: Detecting SDK version
2016-05-24T20:21:24Z cork: Found SDK version 1002.0.0 from local repo
2016-05-24T20:21:24Z cork: Downloading SDK version 1002.0.0
2016-05-24T20:21:24Z sdk: Downloading https://s3.amazonaws.com/coreos-builds/sdk/amd64/1002.0.0/coreos-sdk-amd64-1002.0.0.tar.bz2 to /home/jared/development/coreos/.cache/sdks/coreos-sdk-amd64-1002.0.0.tar.bz2
coreos-sdk-amd64-1002.0.0.tar.bz2: [===========================] 499 MB/499 MB
2016-05-24T20:22:17Z sdk: Downloaded 499358324 bytes
2016-05-24T20:22:17Z sdk: Downloading https://s3.amazonaws.com/coreos-builds/sdk/amd64/1002.0.0/coreos-sdk-amd64-1002.0.0.tar.bz2.sig to /home/jared/development/coreos/.cache/sdks/coreos-sdk-amd64-1002.0.0.tar.bz2.sig
@jbw976
jbw976 / sdk output
Last active May 25, 2016 23:36
local SDK repro of 'emerge: there are no ebuilds to satisfy "sys-devel/gcc:4.9"'
jared@jared-ubuntu ~/trunk/src/scripts $ sudo emerge -pv =sys-devel/gcc-4.9.3::portage-stable
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-devel/gcc-4.9.3:4.9.3::portage-stable [4.9.3:4.9::portage-stable] USE="cxx hardened nls nptl (-altivec) (-awt) -cilk -debug -doc (-fixed-point) -fortran -gcj -go -graphite (-libssp) (-multilib) (-multislot) -nopie -nossp -objc -objc++ -objc-gc -openmp -regression-test (-sanitize) -vanilla" 87941 KiB
Total: 1 package (1 reinstall), Size of downloads: 87941 KiB
Repro for https://github.com/mitchellh/vagrant/issues/8125
jared@jared-macbook ~/Downloads
> git clone https://github.com/coreos/coreos-kubernetes.git
Cloning into 'coreos-kubernetes'...
remote: Counting objects: 10051, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 10051 (delta 4), reused 0 (delta 0), pack-reused 10039
Receiving objects: 100% (10051/10051), 26.29 MiB | 5.71 MiB/s, done.
Resolving deltas: 100% (3242/3242), done.
Direct link to failed assert: https://github.com/rook/ceph/blob/6d8d69fc8655ad89bb194de98ca99e02fc780454/src/os/bluestore/BlueStore.cc#L1046
(gdb) bt
#0 raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1 0x000000000186798c in reraise_fatal (signum=6) at /home/rook/go/src/github.com/rook/rook/ceph/src/global/signal_handler.cc:72
#2 handle_fatal_signal (signum=6) at /home/rook/go/src/github.com/rook/rook/ceph/src/global/signal_handler.cc:134
#3 <signal handler called>
#4 raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:58
#5 0x00000000022d7cca in abort ()
#6 0x000000000102d73b in ceph::__ceph_assert_fail (assertion=assertion@entry=0x27c9e70 "b->end() > offset", file=file@entry=0x27cae98 "/home/rook/go/src/github.com/rook/rook/ceph/src/os/bluestore/BlueStore.cc", line=line@entry=1046,
@jbw976
jbw976 / VS Code settings
Created April 21, 2017 14:33
Settings for jbw976 Visual Studio Code
{
"editor.quickSuggestionsDelay": 100,
"go.buildOnSave": true,
"go.lintOnSave": true,
"go.vetOnSave": true,
"go.buildFlags": [],
"go.lintFlags": [],
"go.vetFlags": [],
"go.formatOnSave": true,
"go.formatTool": "goreturns",
@jbw976
jbw976 / rook-api.log
Created May 2, 2017 20:13
rook dynamic volume provisioner delete
2017-05-02 19:51:49.366554 I | cephmon: parsing mon endpoints: mon1=10.2.63.4:6790,mon2=10.2.63.5:6790,mon0=10.2.63.3:6790
2017-05-02 19:51:49.367385 I | cephmon: connecting to ceph cluster rook with user admin
2017-05-02 19:51:49.450466 I | cephmon: successfully connected to cluster rook with user admin
2017-05-02 19:57:02.811481 I | api: 8a3fcc8c-6bf0-4372-94db-e7103cabe6e6 GET /pool GetPools (start)
2017-05-02 19:57:02.811668 I | cephmon: connecting to ceph cluster rook with user admin
2017-05-02 19:57:02.816941 I | cephmon: successfully connected to cluster rook with user admin
2017-05-02 19:57:02.819468 I | api: 8a3fcc8c-6bf0-4372-94db-e7103cabe6e6 GET /pool GetPools 200 OK 7.98488ms
2017-05-02 19:57:02.820077 I | api: 35c1827a-50fc-4826-a82a-aa7a3bb98901 POST /pool CreatePool (start)
2017-05-02 19:57:02.821208 I | cephmon: connecting to ceph cluster rook with user admin
2017-05-02 19:57:02.825245 I | cephmon: successfully connected to cluster rook with user admin
@jbw976
jbw976 / rook-cluster.yaml
Created November 2, 2017 22:52
emptyDir Rook cluster
apiVersion: v1
kind: Namespace
metadata:
name: rook
---
apiVersion: rook.io/v1alpha1
kind: Cluster
metadata:
name: rook
namespace: rook
@jbw976
jbw976 / 01 rook-agent failed to delete PV pvc-0a060ee8-fbcc-11e7-a451-001c422fc6d5
Last active January 17, 2018 22:26
rook-agent failed to delete PV pvc-0a060ee8-fbcc-11e7-a451-001c422fc6d5
for useful gist title, see https://github.com/isaacs/github/issues/194
#!/bin/bash -e
image_name_pattern=$1
if [[ -z ${image_name_pattern} ]]; then
echo "image_name_pattern required"
fi
vms="core-01 core-02"
vernum=$2