Project

General

Profile

Bug #45427

cephadm: auth get failed: invalid entity_auth mon

Added by Sebastian Wagner 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

http://pulpito.ceph.com/mgfritch-2020-05-07_02:27:06-rados-wip-mgfritch-testing-2020-05-06-1821-distro-basic-smithi/5029062

cephadm 2020-05-07T03:43:08.989542+0000 mgr.smithi154.qjpiuj (mgr.27922) 6 : cephadm [ERR] Failed to apply node-exporter spec ServiceSpec({'placement': PlacementSpec(host_pattern='*'), 'service_type': 'node-exporter', 'service_id': None, 'unmanaged': False}): auth get failed: invalid entity_auth mon
Traceback (most recent call last):
  File "/usr/share/ceph/mgr/cephadm/module.py", line 2219, in _apply_all_services
    if self._apply_service(spec):
  File "/usr/share/ceph/mgr/cephadm/module.py", line 2190, in _apply_service
    create_func(daemon_id, host)  # type: ignore
  File "/usr/share/ceph/mgr/cephadm/module.py", line 2967, in _create_node_exporter
    return self._create_daemon('node-exporter', daemon_id, host)
  File "/usr/share/ceph/mgr/cephadm/module.py", line 2021, in _create_daemon
    extra_ceph_config=extra_config.pop('config', ''))
  File "/usr/share/ceph/mgr/cephadm/module.py", line 1974, in _get_config_and_keyring
    'entity': ename,
  File "/usr/share/ceph/mgr/mgr_module.py", line 1096, in check_mon_command
    raise MonCommandFailed(f'{cmd_dict["prefix"]} failed: {r.stderr}')
mgr_module.MonCommandFailed: auth get failed: invalid entity_auth mon

(as a side note, why do we need the mon keyrig for the node_exporter?)

History

#1 Updated by Sebastian Wagner 2 months ago

  • Description updated (diff)

#2 Updated by Sebastian Wagner 2 months ago

we probably don't need _get_config_and_keyring for node-exporter

#3 Updated by Sebastian Wagner 2 months ago

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

#4 Updated by Sebastian Wagner 2 months ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Sebastian Wagner 2 months ago

  • Priority changed from High to Urgent

urgent. right now node-exporter is broken

#6 Updated by Sebastian Wagner 2 months ago

  • Source set to Q/A

#7 Updated by Sebastian Wagner about 1 month ago

  • Status changed from Pending Backport to Resolved
  • Target version set to v15.2.4

Also available in: Atom PDF