Skip to content

Instantly share code, notes, and snippets.

View rollandf's full-sized avatar

Fred Rolland rollandf

View GitHub Profile
#!/bin/bash
# This is required to be able to see the dashboard
NAMESPACE="openshift-storage"
ROOK_CLUSTER=${NAMESPACE}
DIRNAME=$(dirname $0)
if [ ! -d ~/git/rook ]; then
git clone https://github.com/rook/rook ~/git/rook
I0225 16:02:06.705084 1 cachepersister.go:44] cache-perister: using kubernetes configmap as metadata cache persister
I0225 16:02:06.706430 1 rbd.go:91] Driver: csi-rbdplugin version: 1.0.0
I0225 16:02:06.706456 1 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0225 16:02:06.706469 1 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0225 16:02:06.706474 1 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0225 16:02:06.706479 1 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0225 16:02:06.706484 1 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0225 16:02:06.706491 1 driver.go:93] Enabling volume access mode: SINGLE_NODE_WRITER
I0225 16:02:06.708406 1 mount_linux.go:175] Cannot run systemd-run, assuming non-systemd OS
I0225 16:02:06.708417 1 mount_linux.go:176] systemd-run failed with: exit status 1
@rollandf
rollandf / attacher.log
Created February 5, 2019 14:12
Pod with blockvolume
I0205 13:37:44.442142 1 main.go:76] Version: v1.0.1-0-gb7dadac
I0205 13:37:44.507578 1 connection.go:89] Connecting to /var/lib/kubelet/plugins/csi-rbdplugin/csi.sock
I0205 13:37:44.517548 1 connection.go:116] Still trying, connection is CONNECTING
I0205 13:37:44.518901 1 connection.go:116] Still trying, connection is TRANSIENT_FAILURE
I0205 13:37:45.517783 1 connection.go:116] Still trying, connection is CONNECTING
I0205 13:37:45.518291 1 connection.go:116] Still trying, connection is TRANSIENT_FAILURE
I0205 13:37:46.559730 1 connection.go:116] Still trying, connection is CONNECTING
I0205 13:37:46.559796 1 connection.go:116] Still trying, connection is TRANSIENT_FAILURE
I0205 13:37:47.736071 1 connection.go:116] Still trying, connection is CONNECTING
I0205 13:37:47.863677 1 connection.go:113] Connected
@rollandf
rollandf / attacher.log
Created February 4, 2019 15:21
RBD logs
I0204 12:59:24.512847 1 main.go:74] Version: v0.3.0-1-g76ebff7
I0204 12:59:24.513856 1 connection.go:88] Connecting to /var/lib/kubelet/plugins/csi-rbdplugin/csi.sock
I0204 12:59:24.514010 1 connection.go:115] Still trying, connection is CONNECTING
I0204 12:59:24.515127 1 connection.go:112] Connected
I0204 12:59:24.515144 1 connection.go:235] GRPC call: /csi.v0.Identity/GetPluginInfo
I0204 12:59:24.515151 1 connection.go:236] GRPC request:
I0204 12:59:24.516254 1 connection.go:238] GRPC response: name:"csi-rbdplugin" vendor_version:"0.3.0"
I0204 12:59:24.516290 1 connection.go:239] GRPC error: <nil>
I0204 12:59:24.516295 1 main.go:114] CSI driver name: "csi-rbdplugin"
I0204 12:59:24.516305 1 connection.go:235] GRPC call: /csi.v0.Identity/Probe