Skip to content

Instantly share code, notes, and snippets.

View bluecmd's full-sized avatar

Christian Svensson bluecmd

  • Stockholm, Sweden
View GitHub Profile
NAME READY STATUS RESTARTS AGE
po/ceph-cephfs-test 0/1 ContainerCreating 0 5m
po/ceph-mds-4084693877-rgxgl 0/1 CrashLoopBackOff 6 10m
po/ceph-mon-1804539923-n5kfh 0/1 CrashLoopBackOff 6 10m
po/ceph-mon-1804539923-rwr4s 0/1 CrashLoopBackOff 6 10m
po/ceph-mon-1804539923-tb9kp 0/1 CrashLoopBackOff 6 10m
po/ceph-mon-check-1896585268-j9h4r 1/1 Running 0 10m
po/ceph-osd-gh0k7 0/1 CrashLoopBackOff 6 10m
po/ceph-osd-r38lv 0/1 CrashLoopBackOff 6 10m
po/ceph-osd-z6ljg 0/1 CrashLoopBackOff 6 10m
# This ConfigMap is used to configure a self-hosted Calico installation.
kind: ConfigMap
apiVersion: v1
metadata:
name: calico-config
namespace: kube-system
data:
# The location of your etcd cluster. This uses the Service clusterIP
# defined below.
etcd_endpoints: "https://127.0.0.1:2379"
[bluecmd-laptop]$ make [libreswitch] [23:48:36]
Build System for libreswitch
Platform: as5712
Building ONIE Installer file (libreswitch-onie-installer)...
Traceback (most recent call last):
File "/home/bluecmd/LS/libreswitch/yocto/poky/bitbake/bin/bitbake", line 31, in <module>
import bb
- job_name: 'snmp_access'
metrics_path: /probe
params:
layer:
- 'access'
relabel_configs:
- regex: (.*)(:80)?
replacement: ${1}
source_labels:
- __address__
Host reboot
1970/01/01 00:22:46 UNKN_N2: event [214 2 180 16 62 1 0 0 1 0 0 0 0 0 0 0]
/tmp# echo 1 > power_btn
1970/01/01 00:25:31 Pressing power button
1970/01/01 00:25:35 SYS_PWR_OK: event [149 181 6 156 101 1 0 0 2 0 0 0 0 0 0 0]
1970/01/01 00:25:35 MEMEF_MEMHOT_N: event [173 111 34 156 101 1 0 0 1 0 0 0 0 0 0 0]
1970/01/01 00:25:35 MEMCD_MEMHOT_N: event [162 149 65 156 101 1 0 0 2 0 0 0 0 0 0 0]
1970/01/01 00:25:35 MEMAB_MEMHOT_N: event [152 84 67 156 101 1 0 0 2 0 0 0 0 0 0 0]
1970/01/01 00:25:35 MEMEF_MEMHOT_N: event [193 198 66 156 101 1 0 0 2 >0 0 0 0 0 0 0]
1970/01/01 00:25:35 PCH_PWR_OK: event [85 110 13 156 101 1 0 0 2 0 0 0 0 0 0 0]
{
"arpAgerInterval": 5,
"arpRefreshSeconds": 20,
"arpTimeoutSeconds": 60,
"defaultVlan": 1,
"interfaces": [],
"ports": [
{
"ingressVlan": 552,
"logicalID": 1,
@bluecmd
bluecmd / IS25LP512M
Last active October 3, 2018 13:17
IS25LP512M bootup
U-Boot 2016.07-00038-gc7a5629a1c (Sep 30 2018 - 22:40:21 +0200)
DRAM: 120 MiB
WARNING: Caches not enabled
Flash: Unsupported SPI Flash!! 0x001a609d
Can't support this SPI Flash!!
0 Bytes
Using default environment
In: serial
@bluecmd
bluecmd / gist:bd16185170dff642de197e34349aa14c
Created October 9, 2018 22:59
wedge_agent crash with suggested patch
Full diff between facebook/fboss and tested code: https://github.com/facebook/fboss/compare/master...dhtech:master?expand=1
dhtech@wedge1:/usr/local/bin$ sudo OPENNSL_CONFIG_FILE=/etc/config.wedge40 /usr/local/bin/wedge_agent -mode=wedge -mgmt_if=ma1 -config=/etc/wedge.json --alsologtostderr -v=1000 -vmodule=EventBase=0,AsyncSocket=0 --logging=.=DBG5
E1009 22:52:42.983753 14694 WedgeProductInfo.cpp:144] json parse error on line 0: expected json value
E1009 22:52:42.984041 14694 WedgeProductInfo.cpp:70] Failed initializing WedgeProductInfo from /var/facebook/fboss/fruid.json, fall back to use fbwhoami: json parse error on line 0: expected json value
V1009 22:52:42.986548 14694 SwSwitch.cpp:615] Registering state observer: IPv6Handler
V1009 22:52:42.986640 14694 SwSwitch.cpp:615] Registering state observer: NeighborUpdater
V1009 22:52:42.986757 14694 SwSwitch.cpp:615] Registering state observer: RouteUpdateLogger
V1009 22:52:42.986818 14694 SwSwitch.cpp:615] Registering state observer: PortUpdateHandler
V1009
diff --git a/include/uapi/linux/ncsi.h b/include/uapi/linux/ncsi.h
index 4c292ecbb748..0a26a5576645 100644
--- a/include/uapi/linux/ncsi.h
+++ b/include/uapi/linux/ncsi.h
@@ -23,6 +23,9 @@
* optionally the preferred NCSI_ATTR_CHANNEL_ID.
* @NCSI_CMD_CLEAR_INTERFACE: clear any preferred package/channel combination.
* Requires NCSI_ATTR_IFINDEX.
+ * @NCSI_CMD_SEND_CMD: send NC-SI command to network card.
+ * Requires NCSI_ATTR_IFINDEX, NCSI_ATTR_PACKAGE_ID
bluecmd@provision-rojter:~$ sudo puppet agent -t
Warning: Facter: Could not process routing table entry: Expected a destination followed by key/value pairs, got 'default via 2a05:2242:920::1 dev ens192 metric 1024 onlink pref medium'
Warning: Downgrading to PSON for future requests
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Warning: Facter: Could not process routing table entry: Expected a destination followed by key/value pairs, got 'default via 2a05:2242:920::1 dev ens192 metric 1024 onlink pref medium'
Info: Caching catalog for provision-rojter.event.dreamhack.se
Info: Applying configuration version '1540149772'