Project

General

Profile

Bug #46740

mgr/cephadm: restart of daemon reports host is empty

Added by Paul Cuzner 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cephadm/services
Target version:
% Done:

0%

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

Description

When you run "ceph orch daemon restart prometheus.<host>" the immediate response is OK ("restart prometheus.rhs-srv-01 from host 'rhs-srv-01.ceph-dev.lab.eng.rdu2.redhat.com'"), but nothing happens. Looking at the mgr log shows

Traceback (most recent call last):
  File "/usr/share/ceph/mgr/cephadm/module.py", line 1520, in _daemon_action
    ['--name', name, a])
  File "/usr/share/ceph/mgr/cephadm/module.py", line 1012, in _run_cephadm
    with self._remote_connection(host, addr) as tpl:
  File "/lib64/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/usr/share/ceph/mgr/cephadm/module.py", line 966, in _remote_connection
    raise OrchestratorError("host address is empty")

Related issues

Related to Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type too Duplicate

History

#1 Updated by Paul Cuzner 4 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Paul Cuzner
  • Pull request ID set to 36338

#2 Updated by Sebastian Wagner 4 months ago

  • Description updated (diff)

#3 Updated by Sebastian Wagner 4 months ago

  • Related to Bug #46103: Restart service command restarts all the services and accepts service type too added

#4 Updated by Sebastian Wagner 3 months ago

  • Status changed from Fix Under Review to Resolved
  • Target version changed from v16.0.0 to v15.2.5

Also available in: Atom PDF