Project

General

Profile

Actions

Bug #63805

closed

"ceph orch ls" fail with exception KeyError: 'ceph-exporter'

Added by Boldbayar Jantsan 5 months ago. Updated 2 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
-
% Done:

0%

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

Description

ceph orch ls command fail with exception KeyError: 'ceph-exporter'

root@server18:/home/cloud# ceph orch ls
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1757, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 171, in handle_command
    return dispatch[cmd['prefix']].call(self, cmd, inbuf)
  File "/usr/share/ceph/mgr/mgr_module.py", line 462, in call
    return self.func(mgr, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 107, in <lambda>
    wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args, **l_kwargs)  # noqa: E731
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 96, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator/module.py", line 712, in _list_services
    services = raise_if_exception(completion)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 228, in raise_if_exception
    raise e
KeyError: 'ceph-exporter'

ceph orch ps

NAME                       HOST      PORTS        STATUS        REFRESHED  AGE  MEM USE  MEM LIM  VERSION    IMAGE ID      CONTAINER ID 
osd.17                     worker11               running (5M)     4M ago   7M    3047M    6450M  17.2.6     c9a1062f7289  59b391de6274  
osd.18                     worker14               starting              -    -        -    6450M  <unknown>  <unknown>     <unknown>     
osd.19                     worker11               running (5M)     4M ago   7M     487M    6450M  17.2.6     c9a1062f7289  f57914ef01c0  
osd.20                     worker11               running (5M)     4M ago   7M    2229M    6450M  17.2.6     c9a1062f7289  77249879e4db  
osd.21                     worker14               running (7M)     4M ago   7M    2581M    6450M  17.2.6     c9a1062f7289  d002f5e8f346  
osd.22                     worker11               running (5M)     4M ago   7M    1622M    6450M  17.2.6     c9a1062f7289  8fc043e394aa  
osd.23                     worker14               error            4M ago   7M        -    6450M  <unknown>  <unknown>     <unknown>     
osd.24                     worker14               running (7M)     4M ago   7M    4618M    6450M  17.2.6     c9a1062f7289  960804a46f52  
osd.25                     worker14               error            4M ago   7M        -    6450M  <unknown>  <unknown>     <unknown>     
osd.26                     worker14               error            4M ago   7M        -    6450M  <unknown>  <unknown>     <unknown>     
osd.27                     worker14               error            4M ago   7M        -    6450M  <unknown>  <unknown>     <unknown>     
osd.28                     worker14               error            4M ago   7M        -    6450M  <unknown>  <unknown>     <unknown>     
osd.29                     worker14               error            4M ago   7M        -    6450M  <unknown>  <unknown>     <unknown>     
osd.30                     worker15               running (7M)     4M ago   7M    2496M    6450M  17.2.6     c9a1062f7289  2d4d2205b07c  
osd.31                     worker15               running (7M)     4M ago   7M    1641M    6450M  17.2.6     c9a1062f7289  fe54ce70bbff  
osd.32                     worker15               running (7M)     4M ago   7M    1183M    6450M  17.2.6     c9a1062f7289  e7a47346cb69  
osd.33                     worker15               running (7M)     4M ago   7M    3663M    6450M  17.2.6     c9a1062f7289  0f772a6c71b6  
osd.34                     worker15               running (7M)     4M ago   7M    2332M    6450M  17.2.6     c9a1062f7289  2e145b39b57c 

not synced and not refreshed at all

Actions #1

Updated by Redouane Kachach Elhichou 2 months ago

  • Status changed from New to Resolved
Actions #2

Updated by Redouane Kachach Elhichou 2 months ago

  • Status changed from Resolved to Duplicate
Actions

Also available in: Atom PDF