Skip to content

Instantly share code, notes, and snippets.

View BugRoger's full-sized avatar
😎
Dealing with it

Michael Schmidt BugRoger

😎
Dealing with it
  • SAP SE
  • Berlin
View GitHub Profile
docker buildx build --push --platform linux/amd64,linux/arm --build-arg HKKNX=2.2.0 -t keppel.eu-de-1.cloud.sap/ccloud/hkknx:latest -t keppel.eu-de-1.cloud.sap/ccloud/hkknx:2.2.0-202202091238 -t keppel.eu-de-1.cloud.sap/ccloud/hkknx:2.2.0 --rm .
[+] Building 4.3s (15/15) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 485B
@BugRoger
BugRoger / nginx.yaml
Created February 25, 2019 14:33
Storage Classes Example
---
apiVersion: v1
kind: ReplicationController
metadata:
name: nginx-default
spec:
replicas: 1
selector:
role: nginx-default
template:
#!/bin/bash
DOMAIN=${DOMAIN:-monsoon3}
PROJECT=${PROJECT:-fabus}
PROJECT_DOMAIN=${PROJECT_DOMAIN:-$DOMAIN}
USERNAME=${USERNAME:-$USER}
KEYSTONE_ENDPOINT=${KEYSTONE_ENDPOINT:-https://identity-3.staging.cloud.sap/v3}
FORMAT=text
function HELP {
@BugRoger
BugRoger / volumes.sh
Created April 13, 2018 15:02
Nova Volume Mount Error Reproduction
#!/bin/bash
COUNT=2
PREFIX=dup
function openstack {
docker run \
-e http_proxy= \
-e https_proxy= \
-e no_proxy= \
@BugRoger
BugRoger / gist:8b26b889381675ac885aa65c25ebf9c8
Created February 2, 2018 15:03
launch control stack overflow.txt
ts=2018-02-02T14:05:30.717623787Z caller=github.com/sapcc/kubernikus/pkg/controller/base/logging.go:20 controller=deorbit msg="reconciled kluster" kluster=test project=160dd8fbe105473f81781af77f69cf9c requeue=false took=1.644µs v=1
ts=2018-02-02T14:05:30.717590677Z caller=github.com/sapcc/kubernikus/pkg/controller/base/logging.go:20 controller=deorbit msg="reconciled kluster" kluster=osteam project=bf6877e6de1b4323973cba0889a1280f requeue=false took=2.73µs v=1
ts=2018-02-02T14:05:30.71763936Z caller=github.com/sapcc/kubernikus/pkg/controller/base/controller.go:132 controller=launch msg=queuing kluster=registry project=87d574e17ab740b88288d7b4c98fb715 v=2
ts=2018-02-02T14:05:30.717664877Z caller=github.com/sapcc/kubernikus/pkg/controller/base/controller.go:132 controller=launch msg=queuing kluster=develop01 project=64addf86e10846c9b07aa94e434bec0f v=2
ts=2018-02-02T14:05:30.717664559Z caller=github.com/sapcc/kubernikus/pkg/controller/base/logging.go:20 controller=deorbit msg="reconciled kluster" kluster=cluste
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
/var/lib/kolla/venv/local/lib/python2.7/site-packages/raven/conf/remote.py:88: UserWarning: Transport selection via DSN is deprecated. You should explicitly pass the transport class to Client() instead.
warnings.warn('Transport selection via DSN is deprecated. You should explicitly pass the transport class to Client() instead.')
2018-01-05 09:52:23,564.564 7 INFO neutron.common.config [-] Logging enabled!
2018-01-05 09:52:23,564.564 7 INFO neutron.common.config [-] /var/lib/kolla/venv/bin/neutron-dvs-agent version 0.0.1.dev46
2018-01-05 09:52:23,564.564 7 DEBUG neutron.common.config [-] command line: /var/lib/kolla/venv/bin/neutron-dvs-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2-conf.ini --config-file /etc/neutron/plugins/ml2/ml2-vmware.ini setup_logging /neutron-base-source/neutron-base-archive-stable-mitaka-m3/neutron/common/config.py:269
2018-01-0
{
"ignition": {
"version": "2.0.0",
"config": {}
},
"storage": {},
"systemd": {},
"networkd": {},
"passwd": {
"users": [
@BugRoger
BugRoger / dashboard
Last active May 4, 2017 08:26
hanging prometheus
http://imgur.com/a/jQb2y
May 03 16:11:34 containerd[19317]: fatal error: exitsyscall: syscall frame is no longer valid
May 03 16:11:34 containerd[19317]: runtime stack:
May 03 16:11:34 containerd[19317]: runtime.throw(0x8925d6, 0x2d)
May 03 16:11:34 containerd[19317]: /usr/lib/go1.7/src/runtime/panic.go:566 +0x95
May 03 16:11:34 containerd[19317]: runtime.exitsyscall.func1()
May 03 16:11:34 containerd[19317]: /usr/lib/go1.7/src/runtime/proc.go:2470 +0x36
May 03 16:11:34 containerd[19317]: runtime.systemstack(0xc420b1c380)
May 03 16:11:34 containerd[19317]: /usr/lib/go1.7/src/runtime/asm_amd64.s:298 +0x79
May 03 16:11:34 containerd[19317]: runtime.mstart()
May 03 16:11:34 containerd[19317]: /usr/lib/go1.7/src/runtime/proc.go:1079
@BugRoger
BugRoger / containerd
Created May 3, 2017 17:10
containerd stacktrace
ay 03 16:11:34 containerd[19317]: fatal error: exitsyscall: syscall frame is no longer valid
May 03 16:11:34 containerd[19317]: runtime stack:
May 03 16:11:34 containerd[19317]: runtime.throw(0x8925d6, 0x2d)
May 03 16:11:34 containerd[19317]: /usr/lib/go1.7/src/runtime/panic.go:566 +0x95
May 03 16:11:34 containerd[19317]: runtime.exitsyscall.func1()
May 03 16:11:34 containerd[19317]: /usr/lib/go1.7/src/runtime/proc.go:2470 +0x36
May 03 16:11:34 containerd[19317]: runtime.systemstack(0xc420b1c380)
May 03 16:11:34 containerd[19317]: /usr/lib/go1.7/src/runtime/asm_amd64.s:298 +0x79
May 03 16:11:34 containerd[19317]: runtime.mstart()
May 03 16:11:34 containerd[19317]: /usr/lib/go1.7/src/runtime/proc.go:1079