Skip to content

Instantly share code, notes, and snippets.

Avatar

Nico Schottelius telmich

View GitHub Profile
View ceph-mgr -d
2017-08-31 19:49:59.798709 7fa8c2ca0480 0 ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc), process (unknown), pid 64162
2017-08-31 19:49:59.803636 7fa8c2ca0480 0 pidfile_write: ignore empty --pid-file
2017-08-31 19:49:59.813487 7fa8c2ca0480 1 mgr send_beacon standby
2017-08-31 19:50:00.046694 7fa8b9fae700 1 mgr handle_mgr_map Activating!
2017-08-31 19:50:00.047046 7fa8b9fae700 1 mgr handle_mgr_map I am now activating
/build/ceph-12.2.0/src/mgr/Mgr.cc: In function 'void Mgr::load_config()' thread 7fa8b5fa6700 time 2017-08-31 19:50:00.068610
/build/ceph-12.2.0/src/mgr/Mgr.cc: 340: FAILED assert(cmd.r == 0)
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x5610f70dfc02]
2: (Mgr::load_config()+0x854) [0x5610f6fb1484]
View keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

View enable both edit servers in the right frame
(when (string= "mainemacs" (frame-parameter (selected-frame) 'name))
(server-start) ;; for emacsclient
(add-to-list 'load-path "~/.emacs.d/lisp") ;; next part is for chromium
(require 'edit-server)
(edit-server-start)
)
View launch server when frame-title = mainemacs
(when (string= "mainemacs" (frame-parameter (selected-frame) 'name))
(server-start)
'(
(add-to-list 'load-path "~/.emacs.d/lisp")
(require 'edit-server)
(edit-server-start)
)
)
View glusterfs inconsistent status
[17:53:32] vmhost1-cluster1:~# gluster peer status
Number of Peers: 2
Hostname: entrance.place4.ungleich.ch
Uuid: 987e543e-fbc4-497b-9bc9-ae56086d9421
State: Peer in Cluster (Connected)
Hostname: 192.168.0.2
Uuid: 688816e1-aa51-450f-9300-979c4e83e33e
State: Peer in Cluster (Connected)
View block $ interpolation
__block /etc/pacman.conf --text - <<eof
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/\$arch
eof
result:
#cdist:__block/etc/pacman.conf
[archlinuxfr]
View gist:2834010
[7:56] brief:~% ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 300081 bytes 49637437 (47.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 300081 bytes 49637437 (47.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0