Project

General

Profile

Actions

Bug #38846

closed

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 about 5 years ago. Updated over 3 years ago.

Status:
Resolved
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 (v1):
Crash signature (v2):

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",

Actions #1

Updated by Samuel Just about 5 years ago

  • Description updated (diff)
Actions #2

Updated by Brad Hubbard about 5 years ago

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

Updated by Samuel Just about 5 years ago

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

Actions #4

Updated by Brad Hubbard about 5 years ago

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

Updated by Brad Hubbard almost 5 years ago

  • Status changed from Fix Under Review to In Progress
Actions #6

Updated by Brad Hubbard over 3 years ago

  • Status changed from In Progress to Pending Backport
  • Backport set to nautilus
Actions #7

Updated by Brad Hubbard over 3 years ago

  • Status changed from Pending Backport to Resolved
  • Backport deleted (nautilus)
Actions

Also available in: Atom PDF