Project

General

Profile

Bug #38846

dump_pgstate_history doesn't really produce useful json output, needs an array around the states in each peering section and also around the pgs

Added by Samuel Just 5 months ago. Updated 4 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
03/21/2019
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:

Description

ceph/build [sjust/wip-crimson-osd-peering] ยป ./bin/ceph --admin-daemon /tmp/ceph-asok.nJxppC/osd.1.asok dump_pgstate_history | head -n 30
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
ERROR: ld.so: object 'ASAN_LIBRARY-NOTFOUND' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'ASAN_LIBRARY-NOTFOUND' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
{
    "pg": "2.5",
    "history": [
        {
            "epoch": "13",
            "state": "Initial",
            "enter": "2019-03-21 16:00:07.330583",
            "exit": "2019-03-21 16:00:07.331035",
            "state": "Reset",
            "enter": "2019-03-21 16:00:07.331039",
            "exit": "2019-03-21 16:00:07.331255" 
        },
        {
            "epoch": "13",
            "state": "Start",
            "enter": "2019-03-21 16:00:07.331307",
            "exit": "2019-03-21 16:00:07.331458",
            "state": "Started/Primary/Peering/GetInfo",
            "enter": "2019-03-21 16:00:07.331542",
            "exit": "2019-03-21 16:00:07.339390",
            "state": "Started/Primary/Peering/GetLog",
            "enter": "2019-03-21 16:00:07.339395",
            "exit": "2019-03-21 16:00:07.339703",
            "state": "Started/Primary/Peering/GetMissing",
            "enter": "2019-03-21 16:00:07.339707",
            "exit": "2019-03-21 16:00:07.339864",
            "state": "Started/Primary/Peering/WaitUpThru",
            "enter": "2019-03-21 16:00:07.339869",
            "exit": "2019-03-21 16:00:07.467102",
            "state": "Started/Primary/Peering",

History

#1 Updated by Samuel Just 5 months ago

  • Description updated (diff)

#2 Updated by Brad Hubbard 5 months ago

  • Project changed from Ceph to RADOS
  • Category deleted (ceph cli)
  • Assignee set to Brad Hubbard

#3 Updated by Samuel Just 5 months ago

Probably be nice if it dumped the current state stack for each pg as well.

#4 Updated by Brad Hubbard 4 months ago

  • Status changed from New to Need Review
  • Pull request ID set to 27665

#5 Updated by Brad Hubbard 4 months ago

  • Status changed from Need Review to In Progress

Also available in: Atom PDF