Project

General

Profile

Bug #21527

"mgr_command_descs" not sync in the new join Mon

Added by huanwen ren 3 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Monitor
Target version:
-
Start date:
09/23/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
luminous
Needs Doc:
No

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

Related to Ceph - Bug #21770: ceph mon core dump when use ceph osd perf cmd. Feedback 10/12/2017
Copied to Ceph - Backport #21647: luminous: "mgr_command_descs" not sync in the new join Mon Resolved

History

#2 Updated by Kefu Chai 3 months ago

  • Status changed from New to Need Review
  • Assignee set to huanwen ren
  • Backport set to luminous

#3 Updated by huanwen ren 3 months ago

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

example:

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

#4 Updated by Sage Weil 3 months ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Nathan Cutler 2 months ago

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

#6 Updated by Kefu Chai about 2 months ago

  • Duplicated by Bug #21770: ceph mon core dump when use ceph osd perf cmd. added

#7 Updated by Kefu Chai about 2 months ago

  • Duplicated by deleted (Bug #21770: ceph mon core dump when use ceph osd perf cmd.)

#8 Updated by Kefu Chai about 2 months ago

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

#9 Updated by Nathan Cutler about 1 month ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF