Project

General

Profile

Actions

Bug #21527

closed

"mgr_command_descs" not sync in the new join Mon

Added by huanwen ren over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Monitor
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Construction step:

first:
create 2 Mons and 2 Mgrs in the Ceph cluster.

second:
I can get "ceph pg dump" info;
and use ceph-kvstore-tool can get "mgr_command_descs" table info,as fllows:

          ......
          mgr     9
          mgr     ever_had_active_mgr
          mgr     first_committed
          mgr     last_committed
          mgr_command_descs
          mgr_metadata    192.7.7.141
          mgr_metadata    192.7.7.142
          mgrstat 50599
          ......
         

third:
join the new Mon, and use "ceph pg dump" command in the new Mon,
I can get fllow err info:

         *Error ENOTSUP: this command is obsolete* 
         

In addition,use ceph-kvstore-tool can not get "mgr_command_descs" table info
(This will lead to new Mon load the mgr commands is Fail, you can get "Failed to load mgr commands:" info in the Mon log),
as fllows:
         ......
         mgr     9
         mgr     ever_had_active_mgr
         mgr     first_committed
         mgr     last_committed
         mgr_metadata    192.7.7.142
         mgrstat 10261
         ......
         


Related issues 2 (0 open2 closed)

Related to Ceph - Bug #21770: ceph mon core dump when use ceph osd perf cmd.ResolvedJoao Eduardo Luis10/12/2017

Actions
Copied to Ceph - Backport #21647: luminous: "mgr_command_descs" not sync in the new join MonResolvedKefu ChaiActions
Actions #2

Updated by Kefu Chai over 6 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to huanwen ren
  • Backport set to luminous
Actions #3

Updated by huanwen ren over 6 years ago

osd_metadata and mgr_metadata have a similar problem, which is fixed here.

example:

[root@ceph1 /]# ceph osd metadata 31
Error ENOENT:

Actions #4

Updated by Sage Weil over 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #21647: luminous: "mgr_command_descs" not sync in the new join Mon added
Actions #6

Updated by Kefu Chai over 6 years ago

  • Has duplicate Bug #21770: ceph mon core dump when use ceph osd perf cmd. added
Actions #7

Updated by Kefu Chai over 6 years ago

  • Has duplicate deleted (Bug #21770: ceph mon core dump when use ceph osd perf cmd.)
Actions #8

Updated by Kefu Chai over 6 years ago

  • Related to Bug #21770: ceph mon core dump when use ceph osd perf cmd. added
Actions #9

Updated by Nathan Cutler over 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF