Skip to content

Instantly share code, notes, and snippets.

View ljflores's full-sized avatar

Laura Flores ljflores

View GitHub Profile
@ljflores
ljflores / demo_1.sh
Last active November 14, 2022 05:54
See "getting_started.md" for steps on how to run these demos.
#!/bin/bash
# Colors
NOCOLOR='\033[0m'
RED='\033[0;31m'
GREEN='\033[0;32m'
ORANGE='\033[0;33m'
BLUE='\033[0;34m'
PURPLE='\033[0;35m'
CYAN='\033[0;36m'
This file has been truncated, but you can view the full file.
{
"balancer": {
"active": true,
"mode": ""
},
"channels": [
"basic",
"crash",
"device",
"ident",
This file has been truncated, but you can view the full file.
{
"channels": [
"perf"
],
"channels_available": [
"basic",
"ident",
"crash",
"device",
"perf"
This file has been truncated, but you can view the full file.
2021-10-26T21:15:07.198+0000 7f75f6ad00c0 -1 auth: unable to find a keyring on /home/lflores/ceph/build/dev/osd0/keyring: (2) No such file or directory
2021-10-26T21:15:07.199+0000 7f75f6ad00c0 -1 auth: unable to find a keyring on /home/lflores/ceph/build/dev/osd0/keyring: (2) No such file or directory
2021-10-26T21:15:07.199+0000 7f75f6ad00c0 -1 auth: unable to find a keyring on /home/lflores/ceph/build/dev/osd0/keyring: (2) No such file or directory
2021-10-26T21:15:07.200+0000 7f75f6ad00c0 10 set_mon_vals debug_mgrc = 20/20
2021-10-26T21:15:07.200+0000 7f75f6ad00c0 10 set_mon_vals debug_monc = 20/20
2021-10-26T21:15:07.200+0000 7f75f6ad00c0 10 set_mon_vals debug_ms = 1/1
2021-10-26T21:15:07.200+0000 7f75f6ad00c0 10 set_mon_vals debug_objclass = 20/20
2021-10-26T21:15:07.200+0000 7f75f6ad00c0 10 set_mon_vals debug_objecter = 20/20
2021-10-26T21:15:07.200+0000 7f75f6ad00c0 10 set_mon_vals debug_osd = 25/25
2021-10-26T21:15:07.200+0000 7f75f6ad00c0 10 set_mon_vals debug_reserver = 10/10
`ceph telemetry show`
{
"balancer": {
"active": true,
"mode": ""
},
"channels": [
"basic",
"crash",
@ljflores
ljflores / perf-report-10-14-2021
Created October 14, 2021 17:18
`ceph telemetry show perf`
`ceph telemetry show perf`
{
"channels": [
"perf"
],
"channels_available": [
"basic",
"ident",
"crash",
@ljflores
ljflores / telemetry_perf_report.json
Created September 22, 2021 20:22
telemetry perf report
{
"channels": [
"perf"
],
"channels_available": [
"basic",
"ident",
"crash",
"device",
"perf"
@ljflores
ljflores / report_1.txt
Last active September 17, 2021 15:03
perf reports to check for changes in IO (check comment at bottom for explanaiton)
{
"channels": [
"perf"
],
"channels_available": [
"basic",
"ident",
"crash",
"device",
"perf"
@ljflores
ljflores / perf_report.txt
Last active August 3, 2021 15:50
perf report
{
"channels": [
"perf"
],
"channels_available": [
"basic",
"ident",
"crash",
"device",
"perf"
@ljflores
ljflores / module.py
Last active June 23, 2021 15:20
mgr/telemetry: gather_perf_counters()
"""
Telemetry module for ceph-mgr
Collect statistics from Ceph cluster and send this back to the Ceph project
when user has opted-in
"""
import enum
import errno
import hashlib
import json