Skip to content

Instantly share code, notes, and snippets.

View jjungnickel's full-sized avatar
🏠
Working from home

Jan Jungnickel jjungnickel

🏠
Working from home
View GitHub Profile
localhost ansible_connection=local ansible_sudo=no ansible_python_interpreter=/usr/bin/python2
[OSv3:children]
masters
nodes
[OSv3:vars]
ansible_ssh_user=ec2-user
ansible_sudo=true
deployment_type=origin
[root@ip-10-17-2-231 master]# oc get pods
NAME READY STATUS RESTARTS AGE
docker-registry-1-deploy 1/1 Running 0 37s
docker-registry-1-ultmi 0/1 Pending 0 0s
[root@ip-10-17-2-231 master]# oc logs docker-registry-1-deploy
I0724 09:17:17.393107 1 deployer.go:195] Deploying default/docker-registry-1 for the first time (replicas: 1)
I0724 09:17:17.394409 1 recreate.go:112] Scaling default/docker-registry-1 to 1 before validating first replica
I0724 09:17:19.460701 1 recreate.go:117] Validating first replica of default/docker-registry-1
I0724 09:17:19.464497 1 lifecycle.go:283] Waiting for pod default/docker-registry-1-ultmi container readiness
[root@ip-10-17-2-231 master]# oc get pods
❯ vagrant provision openshift-ansible/git/master
==> node1: Running provisioner: shell...
node1: Running: inline script
==> node2: Running provisioner: shell...
node2: Running: inline script
==> node2: Running provisioner: shell...
node2: Running: inline script
==> master: Running provisioner: shell...
master: Running: inline script
==> master: Running provisioner: shell...
❯ lein repl :connect 127.0.0.1:5557 riemann/git/0d8adc0...
Connecting to nREPL at 127.0.0.1:5557
REPL-y 0.3.5, nREPL 0.2.7
Clojure 1.6.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_25-b17
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
PING riemann.carmunity.com (10.28.28.73): 56 data bytes
64 bytes from 10.28.28.73: icmp_seq=0 ttl=62 time=17.790 ms
64 bytes from 10.28.28.73: icmp_seq=1 ttl=62 time=699.508 ms
64 bytes from 10.28.28.73: icmp_seq=2 ttl=62 time=25.111 ms
64 bytes from 10.28.28.73: icmp_seq=3 ttl=62 time=743.756 ms
Request timeout for icmp_seq 4
64 bytes from 10.28.28.73: icmp_seq=4 ttl=62 time=1686.579 ms
64 bytes from 10.28.28.73: icmp_seq=5 ttl=62 time=687.207 ms
64 bytes from 10.28.28.73: icmp_seq=6 ttl=62 time=1731.679 ms
64 bytes from 10.28.28.73: icmp_seq=7 ttl=62 time=730.234 ms
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 192.168.59.3 netmask 0xffffff00 broadcast 192.168.59.255
inet6 fe80::c2c2:6f17:685e:2533%utun0 prefixlen 64 scopeid 0x11
inet6 fe80::aa20:66ff:fe45:4dec%en5 prefixlen 64 scopeid 0x4
inet 10.28.4.90 netmask 0xffffff00 broadcast 10.28.4.255
~❯ ssh -vvv [email protected]
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/jjungnickel/.ssh/config
debug1: /Users/jjungnickel/.ssh/config line 1: Applying options for be-int0-ff.flirtfair.local
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.28.30.122 [10.28.30.122] port 22.
debug1: Connection established.
[2685] 11 Dec 12:36:17.661 # -sdown slave 10.28.28.47:6379 10.28.28.47 6379 @ qw-main 10.28.28.68 6379
[2685] 11 Dec 12:36:18.906 # -sdown slave 10.28.28.39:6379 10.28.28.39 6379 @ qw-main 10.28.28.68 6379
[2685] 11 Dec 12:36:33.165 # +sdown master qw-main 10.28.28.68 6379
[2685] 11 Dec 12:36:33.232 # +odown master qw-main 10.28.28.68 6379 #quorum 3/2
[2685] 11 Dec 12:36:33.232 # +new-epoch 1
[2685] 11 Dec 12:36:33.232 # +try-failover master qw-main 10.28.28.68 6379
[2685] 11 Dec 12:36:36.245 # +vote-for-leader 688cf81ce3af085ad4b78aa1aacabacb9a4fb583 1
[2685] 11 Dec 12:36:36.246 # +config-update-from sentinel 10.28.28.47:26379 10.28.28.47 26379 @ qw-main 10.28.28.68 6379
[2685] 11 Dec 12:36:36.246 # +switch-master qw-main 10.28.28.68 6379 10.28.28.39 6379
[2685] 11 Dec 12:36:36.246 * +slave slave 10.28.28.47:6379 10.28.28.47 6379 @ qw-main 10.28.28.39 6379
input {
udp {
port => 5140
type => syslog
}
}
filter {
if [type] == "syslog" {
grok {
1418121928.420479 [0 10.28.28.60:44105] "SETNX" "superflow_lock_14903579-0fa7-44b5-892d-69e6d85619ef" "92e5a229-cb3c-4f09-a033-4b1173feb1b2"
1418121928.420495 [0 10.28.28.60:44105] "EXPIRE" "superflow_lock_14903579-0fa7-44b5-892d-69e6d85619ef" "5"
1418121928.420743 [0 10.28.28.60:44108] "SETNX" "superflow_lock_14903579-0fa7-44b5-892d-69e6d85619ef" "94a06b9d-74ad-4751-bc37-98c05c2efbed"
1418121928.420757 [0 10.28.28.60:44108] "EXPIRE" "superflow_lock_14903579-0fa7-44b5-892d-69e6d85619ef" "5"
1418121928.423437 [0 10.28.28.67:59766] "SETNX" "superflow_lock_14903579-0fa7-44b5-892d-69e6d85619ef" "18d6ff71-53c1-4032-a159-e0f7a8daca97"
1418121928.423462 [0 10.28.28.67:59766] "EXPIRE" "superflow_lock_14903579-0fa7-44b5-892d-69e6d85619ef" "5"
1418121928.425534 [0 10.28.28.67:59780] "SETNX" "superflow_lock_14903579-0fa7-44b5-892d-69e6d85619ef" "84f99d7f-c172-491a-a198-f2d7398b414a"
1418121928.425564 [0 10.28.28.67:59780] "EXPIRE" "superflow_lock_14903579-0fa7-44b5-892d-69e6d85619ef" "5"
1418121928.425992 [0 10.28.28.67