Skip to content

Instantly share code, notes, and snippets.

@thehonker
thehonker / hwinfoceph43365
Created February 26, 2020 14:16
hardware info ceph bug #43365
[email protected] [/root] $ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Xeon(R) CPU X3450 @ 2.67GHz
stepping : 5
microcode : 0xa
cpu MHz : 1200.998
cache size : 8192 KB
@thehonker
thehonker / log.log
Created February 26, 2020 14:12
ceph mon stacktrace bug #43365
[email protected] [/root] $ journalctl -exu [email protected] --no-pager | grep -e "Feb 26 08:02" -e "Feb 26 08:03"
Feb 26 08:02:09 mon2 ceph-mon[3616584]: /tmp/release/Debian/WORKDIR/ceph-14.2.4/src/common/ceph_time.h: In function 'ceph::time_detail::timespan ceph::to_timespan(ceph::time_detail::signedspan)' thread 7f638275f700 time 2020-02-26 08:02:09.248625
Feb 26 08:02:09 mon2 ceph-mon[3616584]: /tmp/release/Debian/WORKDIR/ceph-14.2.4/src/common/ceph_time.h: 485: FAILED ceph_assert(z >= signedspan::zero())
Feb 26 08:02:09 mon2 ceph-mon[3616584]: ceph version 14.2.4 (ad875bdeab69b822458d91016d5b843be4a33550) nautilus (stable)
Feb 26 08:02:09 mon2 ceph-mon[3616584]: 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x152) [0x7f638c7de60e]
Feb 26 08:02:09 mon2 ceph-mon[3616584]: 2: (()+0x2807e6) [0x7f638c7de7e6]
Feb 26 08:02:09 mon2 ceph-mon[3616584]: 3: (Paxos::store_state(MMonPaxos*)+0xaa8) [0x56223e28be58]
Feb 26 08:02:09 mon2 ceph-mon[3616584]: 4: (Paxos::handle_commit(bo
start: (argv, startupConfig) => {
log.debug('argv:', argv);
_throw(argv);
// other crap
}
╭─epers@eevee-dev ~/eevee ‹master*›
╰─➤ eevee start baz 1 ↵
21 22:53:09.618 > eevee.js:21 Object.debug (as debug): (5): argv:
21 22:53:09.619 > eevee.js:25 Object.error (as error): [Object] (1): {
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
/**
* This sketch is specifically for programming the EEPROM used in the 8-bit
* decimal display decoder described in https://youtu.be/dLh1n2dErzE
*/
#define SHIFT_DATA 16
#define SHIFT_CLK 15 // 15
#define SHIFT_LATCH 14 // 14
#define EEPROM_D0 2
#define EEPROM_D7 9
#define WRITE_EN 10
/**
* This sketch is specifically for programming the EEPROM used in the 8-bit
* decimal display decoder described in https://youtu.be/dLh1n2dErzE
*/
#define SHIFT_DATA 16
#define SHIFT_CLK 15 // 15
#define SHIFT_LATCH 14 // 14
#define EEPROM_D0 2
#define EEPROM_D7 9
#define WRITE_EN 10
@thehonker
thehonker / ifupdown2_debug_log
Created May 7, 2019 13:34
Working boot, ifupdown2, 6.0.2 unit file with frr 7.0
root@frr7-test:/var/log/frr# journalctl --no-pager -xeu networking.service
-- Logs begin at Tue 2019-05-07 13:30:56 UTC, end at Tue 2019-05-07 13:33:17 UTC. --
May 07 13:30:56 frr7-test systemd[1]: Starting ifupdown2 networking initialization...
-- Subject: Unit networking.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit networking.service has begun starting up.
May 07 13:30:56 frr7-test networking[561]: networking: Configuring network interfaces
May 07 13:30:57 frr7-test networking[561]: debug: args = Namespace(CLASS=None, all=True, debug=True, excludepats=None, force=False, iflist=[], interfacesfile=None, interfacesfileformat='native', noact=False, noaddons=False, nocache=False, perfmode=True, printdependency=None, quiet=False, skipupperifaces=False, syntaxcheck=False, syslog=False, type=None, verbose=True, withdepends=False)
@thehonker
thehonker / var_log_frr_debug.log
Created May 7, 2019 13:32
Working boot, ifupdown2, 6.0.2 unit file with frr 7.0
root@frr7-test:/var/log/frr# cat debug.log
2019/05/07 13:30:57.444258 ZEBRA: vty[??]@(config)# debug zebra events
2019/05/07 13:30:57.444773 ZEBRA: vty[??]@(config)# debug zebra kernel
2019/05/07 13:30:57.445151 ZEBRA: vty[??]@(config)# debug zebra rib
2019/05/07 13:30:57.445508 ZEBRA: vty[??]@(config)# interface ens18
2019/05/07 13:30:57.445757 ZEBRA: vty[??]@(config-if)# interface lo
@thehonker
thehonker / ifupdown_debug_log
Created May 7, 2019 13:11
Working boot, classic ifupdown "VERBOSE=yes" logging
root@frr7-test:/var/log/frr# !journalctl
journalctl --no-pager -xeu networking.service > networking.service.debuglog
root@frr7-test:/var/log/frr# cat networking.service.debuglog
-- Logs begin at Tue 2019-05-07 13:02:59 UTC, end at Tue 2019-05-07 13:03:23 UTC. --
May 07 13:02:59 frr7-test systemd[1]: Starting Raise network interfaces...
-- Subject: Unit networking.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
@thehonker
thehonker / var_log_frr_debug.log
Created May 7, 2019 13:07
Switched to old ifupdown, set src directive is properly set on boot.
root@frr7-test:/var/log/frr# cat debug.log
2019/05/07 13:02:59.983826 ZEBRA: vty[??]@(config)# debug zebra events
2019/05/07 13:02:59.984330 ZEBRA: vty[??]@(config)# debug zebra kernel
2019/05/07 13:02:59.984711 ZEBRA: vty[??]@(config)# debug zebra rib
2019/05/07 13:02:59.985051 ZEBRA: vty[??]@(config)# interface ens18
2019/05/07 13:02:59.985436 ZEBRA: vty[??]@(config-if)# interface lo