|
3 | 3 | query_params: |
4 | 4 | wait: 1 |
5 | 5 | methods: ['POST'] |
6 | | - request_body: '{"format":"json","prefix":"time-sync-status"}' |
| 6 | + request_body: '{"format":"json","prefix":"osd perf"}' |
7 | 7 | responses: |
8 | 8 | - status_code: 200 |
9 | 9 | body: |- |
10 | | - { "failed":[],"finished":[{"command":"time-sync-status format=json","outb":"{\"timechecks\":{\"epoch\":7,\"round\":0,\"round_status\":\"finished\"}}","outs":""}],"has_failed":false,"id":"140055401700304","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
| 10 | + {"failed":[],"finished":[{"command":"osd perf format=json","outb":"{\"pg_ready\":true,\"osdstats\":{\"osd_perf_infos\":[{\"id\":1,\"perf_stats\":{\"commit_latency_ms\":5.621,\"apply_latency_ms\":3.495,\"commit_latency_ns\":5621000,\"apply_latency_ns\":3495000}},{\"id\":0,\"perf_stats\":{\"commit_latency_ms\":0,\"apply_latency_ms\":0,\"commit_latency_ns\":0,\"apply_latency_ns\":0}}]}\n}","outs":""}],"has_failed":false,"id":"140008221633504","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
11 | 11 | - path: /request |
12 | 12 | query_params: |
13 | 13 | wait: 1 |
14 | 14 | methods: ['POST'] |
15 | | - request_body: '{"format":"json","prefix":"osd perf"}' |
| 15 | + request_body: '{"format":"json","prefix":"time-sync-status"}' |
16 | 16 | responses: |
17 | 17 | - status_code: 200 |
18 | 18 | body: |- |
19 | | - {"failed":[],"finished":[{"command":"osd perf format=json","outb":"{\"pg_ready\":true,\"osdstats\":{\"osd_perf_infos\":[{\"id\":1,\"perf_stats\":{\"commit_latency_ms\":5.621,\"apply_latency_ms\":3.495,\"commit_latency_ns\":5621000,\"apply_latency_ns\":3495000}},{\"id\":0,\"perf_stats\":{\"commit_latency_ms\":0,\"apply_latency_ms\":0,\"commit_latency_ns\":0,\"apply_latency_ns\":0}}]}\n}","outs":""}],"has_failed":false,"id":"140008221633504","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
| 19 | + {"failed":[],"finished":[{"command":"time-sync-status format=json","outb":"{\"timechecks\":{\"epoch\":7,\"round\":0,\"round_status\":\"finished\"}}","outs":""}],"has_failed":false,"id":"140055401700304","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
20 | 20 | - path: /request |
21 | 21 | query_params: |
22 | 22 | wait: 1 |
23 | 23 | methods: ['POST'] |
24 | | - request_body: '{"format":"json","prefix":"osd pool stats"}' |
| 24 | + request_body: '{"format":"json","prefix":"df"}' |
25 | 25 | responses: |
26 | 26 | - status_code: 200 |
27 | 27 | body: |- |
28 | | - {"failed":[],"finished":[{"command":"osd pool stats format=json","outb":"[{\"pool_name\":\"device_health_metrics\",\"pool_id\":1,\"recovery\":{},\"recovery_rate\":{},\"client_io_rate\":{\"read_bytes_sec\":6622518,\"write_bytes_sec\":6622518,\"read_op_per_sec\":11,\"write_op_per_sec\":11}},{\"pool_name\":\"elastic\",\"pool_id\":9,\"recovery\":{},\"recovery_rate\":{},\"client_io_rate\":{}}]","outs":""}],"has_failed":false,"id":"140222622573952","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
| 28 | + {"failed":[],"finished":[{"command":"df format=json","outb":"{\"stats\":{\"total_bytes\":85882568704,\"total_avail_bytes\":81199562752,\"total_used_bytes\":388038656,\"total_used_raw_bytes\":4683005952,\"total_used_raw_ratio\":0.054528012871742249,\"num_osds\":4,\"num_per_pool_osds\":4,\"num_per_pool_omap_osds\":4},\"stats_by_class\":{\"hdd\":{\"total_bytes\":85882568704,\"total_avail_bytes\":81199562752,\"total_used_bytes\":388038656,\"total_used_raw_bytes\":4683005952,\"total_used_raw_ratio\":0.054528012871742249}},\"pools\":[{\"name\":\"device_health_metrics\",\"id\":1,\"stats\":{\"stored\":2142673,\"objects\":4,\"kb_used\":6336,\"bytes_used\":6488064,\"percent_used\":8.4362458437681198e-05,\"max_avail\":25633505280}},{\"name\":\"elk\",\"id\":4,\"stats\":{\"stored\":1176572,\"objects\":3,\"kb_used\":3648,\"bytes_used\":3735552,\"percent_used\":4.8574063839623705e-05,\"max_avail\":25633505280}},{\"name\":\"elastic\",\"id\":9,\"stats\":{\"stored\":1349210,\"objects\":5,\"kb_used\":4224,\"bytes_used\":4325376,\"percent_used\":5.6243221479235217e-05,\"max_avail\":25633505280}}]}\n","outs":""}],"has_failed":false,"id":"140222991325696","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
29 | 29 | - path: /request |
30 | 30 | query_params: |
31 | 31 | wait: 1 |
32 | 32 | methods: ['POST'] |
33 | | - request_body: '{"format":"json","prefix":"df"}' |
| 33 | + request_body: '{"format":"json","prefix":"osd tree"}' |
34 | 34 | responses: |
35 | 35 | - status_code: 200 |
36 | 36 | body: |- |
37 | | - {"failed":[],"finished":[{"command":"df format=json","outb":"{\"stats\":{\"total_bytes\":85882568704,\"total_avail_bytes\":81199562752,\"total_used_bytes\":388038656,\"total_used_raw_bytes\":4683005952,\"total_used_raw_ratio\":0.054528012871742249,\"num_osds\":4,\"num_per_pool_osds\":4,\"num_per_pool_omap_osds\":4},\"stats_by_class\":{\"hdd\":{\"total_bytes\":85882568704,\"total_avail_bytes\":81199562752,\"total_used_bytes\":388038656,\"total_used_raw_bytes\":4683005952,\"total_used_raw_ratio\":0.054528012871742249}},\"pools\":[{\"name\":\"device_health_metrics\",\"id\":1,\"stats\":{\"stored\":2142673,\"objects\":4,\"kb_used\":6336,\"bytes_used\":6488064,\"percent_used\":8.4362458437681198e-05,\"max_avail\":25633505280}},{\"name\":\"elk\",\"id\":4,\"stats\":{\"stored\":1176572,\"objects\":3,\"kb_used\":3648,\"bytes_used\":3735552,\"percent_used\":4.8574063839623705e-05,\"max_avail\":25633505280}},{\"name\":\"elastic\",\"id\":9,\"stats\":{\"stored\":1349210,\"objects\":5,\"kb_used\":4224,\"bytes_used\":4325376,\"percent_used\":5.6243221479235217e-05,\"max_avail\":25633505280}}]}\n","outs":""}],"has_failed":false,"id":"140222991325696","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
| 37 | + {"failed":[],"finished":[{"command":"osd tree format=json","outb":"{\"nodes\":[{\"id\":0,\"device_class\":\"hdd\",\"name\":\"osd.0\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0.0194854736328125,\"depth\":2,\"pool_weights\":{},\"exists\":1,\"status\":\"up\",\"reweight\":1,\"primary_affinity\":1},{\"id\":-7,\"name\":\"node02\",\"type\":\"host\",\"type_id\":1,\"pool_weights\":{},\"children\":[2]},{\"id\":2,\"device_class\":\"hdd\",\"name\":\"osd.2\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0.0194854736328125,\"depth\":2,\"pool_weights\":{},\"exists\":1,\"status\":\"up\",\"reweight\":1,\"primary_affinity\":1},{\"id\":-9,\"name\":\"node03\",\"type\":\"host\",\"type_id\":1,\"pool_weights\":{},\"children\":[3]},{\"id\":3,\"device_class\":\"hdd\",\"name\":\"osd.3\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0.0194854736328125,\"depth\":2,\"pool_weights\":{},\"exists\":1,\"status\":\"up\",\"reweight\":1,\"primary_affinity\":1},{\"id\":-5,\"name\":\"node04\",\"type\":\"host\",\"type_id\":1,\"pool_weights\":{},\"children\":[1]},{\"id\":1,\"device_class\":\"hdd\",\"name\":\"osd.1\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0.0194854736328125,\"depth\":2,\"pool_weights\":{},\"exists\":1,\"status\":\"up\",\"reweight\":1,\"primary_affinity\":1}],\"stray\":[{\"id\":4,\"name\":\"osd.4\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0,\"depth\":0,\"exists\":1,\"status\":\"destroyed\",\"reweight\":0,\"primary_affinity\":1},{\"id\":5,\"name\":\"osd.5\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0,\"depth\":0,\"exists\":1,\"status\":\"destroyed\",\"reweight\":0,\"primary_affinity\":1}]}\n","outs":""}],"has_failed":false,"id":"140222986406304","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
38 | 38 | - path: /request |
39 | 39 | query_params: |
40 | 40 | wait: 1 |
41 | 41 | methods: ['POST'] |
42 | | - request_body: '{"format":"json","prefix":"osd tree"}' |
| 42 | + request_body: '{"format":"json","prefix":"osd pool stats"}' |
43 | 43 | responses: |
44 | 44 | - status_code: 200 |
45 | 45 | body: |- |
46 | | - {"failed":[],"finished":[{"command":"osd tree format=json","outb":"{\"nodes\":[{\"id\":0,\"device_class\":\"hdd\",\"name\":\"osd.0\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0.0194854736328125,\"depth\":2,\"pool_weights\":{},\"exists\":1,\"status\":\"up\",\"reweight\":1,\"primary_affinity\":1},{\"id\":-7,\"name\":\"node02\",\"type\":\"host\",\"type_id\":1,\"pool_weights\":{},\"children\":[2]},{\"id\":2,\"device_class\":\"hdd\",\"name\":\"osd.2\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0.0194854736328125,\"depth\":2,\"pool_weights\":{},\"exists\":1,\"status\":\"up\",\"reweight\":1,\"primary_affinity\":1},{\"id\":-9,\"name\":\"node03\",\"type\":\"host\",\"type_id\":1,\"pool_weights\":{},\"children\":[3]},{\"id\":3,\"device_class\":\"hdd\",\"name\":\"osd.3\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0.0194854736328125,\"depth\":2,\"pool_weights\":{},\"exists\":1,\"status\":\"up\",\"reweight\":1,\"primary_affinity\":1},{\"id\":-5,\"name\":\"node04\",\"type\":\"host\",\"type_id\":1,\"pool_weights\":{},\"children\":[1]},{\"id\":1,\"device_class\":\"hdd\",\"name\":\"osd.1\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0.0194854736328125,\"depth\":2,\"pool_weights\":{},\"exists\":1,\"status\":\"up\",\"reweight\":1,\"primary_affinity\":1}],\"stray\":[{\"id\":4,\"name\":\"osd.4\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0,\"depth\":0,\"exists\":1,\"status\":\"destroyed\",\"reweight\":0,\"primary_affinity\":1},{\"id\":5,\"name\":\"osd.5\",\"type\":\"osd\",\"type_id\":0,\"crush_weight\":0,\"depth\":0,\"exists\":1,\"status\":\"destroyed\",\"reweight\":0,\"primary_affinity\":1}]}\n","outs":""}],"has_failed":false,"id":"140222986406304","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
| 46 | + {"failed":[],"finished":[{"command":"osd pool stats format=json","outb":"[{\"pool_name\":\"device_health_metrics\",\"pool_id\":1,\"recovery\":{},\"recovery_rate\":{},\"client_io_rate\":{\"read_bytes_sec\":6622518,\"write_bytes_sec\":6622518,\"read_op_per_sec\":11,\"write_op_per_sec\":11}},{\"pool_name\":\"elastic\",\"pool_id\":9,\"recovery\":{},\"recovery_rate\":{},\"client_io_rate\":{}}]","outs":""}],"has_failed":false,"id":"140222622573952","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
47 | 47 | - path: /request |
48 | 48 | query_params: |
49 | 49 | wait: 1 |
50 | 50 | methods: ['POST'] |
51 | | - request_body: '{"format":"json","prefix":"df"}' |
| 51 | + request_body: '{"format":"json","prefix":"status"}' |
52 | 52 | responses: |
53 | 53 | - status_code: 200 |
54 | 54 | body: |- |
55 | | - {"failed":[],"finished":[{"command":"df format=json","outb":"{\"stats\":{\"total_bytes\":85882568704,\"total_avail_bytes\":81199562752,\"total_used_bytes\":388038656,\"total_used_raw_bytes\":4683005952,\"total_used_raw_ratio\":0.054528012871742249,\"num_osds\":4,\"num_per_pool_osds\":4,\"num_per_pool_omap_osds\":4},\"stats_by_class\":{\"hdd\":{\"total_bytes\":85882568704,\"total_avail_bytes\":81199562752,\"total_used_bytes\":388038656,\"total_used_raw_bytes\":4683005952,\"total_used_raw_ratio\":0.054528012871742249}},\"pools\":[{\"name\":\"device_health_metrics\",\"id\":1,\"stats\":{\"stored\":2142673,\"objects\":4,\"kb_used\":6336,\"bytes_used\":6488064,\"percent_used\":8.4362458437681198e-05,\"max_avail\":25633505280}},{\"name\":\"elk\",\"id\":4,\"stats\":{\"stored\":1176572,\"objects\":3,\"kb_used\":3648,\"bytes_used\":3735552,\"percent_used\":4.8574063839623705e-05,\"max_avail\":25633505280}},{\"name\":\"elastic\",\"id\":9,\"stats\":{\"stored\":1349210,\"objects\":5,\"kb_used\":4224,\"bytes_used\":4325376,\"percent_used\":5.6243221479235217e-05,\"max_avail\":25633505280}}]}\n","outs":""}],"has_failed":false,"id":"140222991325696","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
| 55 | + {"failed":[],"finished":[{"command":"status format=json","outb":"{\"fsid\":\"72840c24-3a82-4e28-be87-cf9f905918fb\",\"health\":{\"status\":\"HEALTH_WARN\",\"checks\":{\"OSD_DOWN\":{\"severity\":\"HEALTH_WARN\",\"summary\":{\"message\":\"1 osds down\",\"count\":1},\"muted\":false},\"OSD_HOST_DOWN\":{\"severity\":\"HEALTH_WARN\",\"summary\":{\"message\":\"1 host (1 osds) down\",\"count\":1},\"muted\":false},\"PG_DEGRADED\":{\"severity\":\"HEALTH_WARN\",\"summary\":{\"message\":\"Degraded data redundancy: 9/36 objects degraded (25.000%), 9 pgs degraded, 65 pgs undersized\",\"count\":74},\"muted\":false}},\"mutes\":[]},\"election_epoch\":9,\"quorum\":[0],\"quorum_names\":[\"node01\"],\"quorum_age\":2395803,\"monmap\":{\"epoch\":2,\"min_mon_release_name\":\"octopus\",\"num_mons\":1},\"osdmap\":{\"epoch\":958,\"num_osds\":6,\"num_up_osds\":3,\"osd_up_since\":1674808261,\"num_in_osds\":4,\"osd_in_since\":1672393287,\"num_remapped_pgs\":0},\"pgmap\":{\"pgs_by_state\":[{\"state_name\":\"active+undersized\",\"count\":56},{\"state_name\":\"active+clean\",\"count\":31},{\"state_name\":\"active+undersized+degraded\",\"count\":9}],\"num_pgs\":96,\"num_pools\":3,\"num_objects\":12,\"data_bytes\":134217728,\"bytes_used\":3775201280,\"bytes_avail\":60636725248,\"bytes_total\":64411926528,\"degraded_objects\":9,\"degraded_total\":36,\"degraded_ratio\":0.25,\"read_bytes_sec\":0,\"write_bytes_sec\":0,\"read_op_per_sec\":50,\"write_op_per_sec\":55},\"fsmap\":{\"epoch\":1,\"by_rank\":[],\"up:standby\":0},\"mgrmap\":{\"available\":true,\"num_standbys\":0,\"modules\":[\"cli_api\",\"dashboard\",\"iostat\",\"prometheus\",\"restful\",\"rook\"],\"services\":{\"dashboard\":\"https://node01.cheftest.local:8443/\",\"prometheus\":\"http://node01.cheftest.local:9283/\",\"restful\":\"https://10.50.3.155:8003/\"}},\"servicemap\":{\"epoch\":9675,\"modified\":\"2023-02-06T06:30:50.727008+0000\",\"services\":{}},\"progress_events\":{}}\n","outs":""}],"has_failed":false,"id":"140314752352112","is_finished":true,"is_waiting":false,"running":[],"state":"success","waiting":[]} |
0 commit comments