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 11 months ago. Updated 10 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

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

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 11 months ago

  • Description updated (diff)

#2 Updated by Brad Hubbard 11 months ago

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

#3 Updated by Samuel Just 11 months ago

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

#4 Updated by Brad Hubbard 10 months ago

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

#5 Updated by Brad Hubbard 10 months ago

  • Status changed from Fix Under Review to In Progress

Also available in: Atom PDF