Project

General

Profile

Actions

Bug #55800

closed

cephadm crashes when trying to restart an invalid service name which starts with keepalived or haproxy

Added by Redouane Kachach Elhichou almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
Target version:
-
% Done:

0%

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

Description

cephadm crashes when trying to restart an invalid service name which starts with keepalived or haproxy.

[ceph: root@ceph-node-0 /]# ceph orch restart keepalived.nfs.foo.ceph-node-0.imygkp
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1732, 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 983, in _service_action
    raise_if_exception(completion)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 228, in raise_if_exception
    raise e
AssertionError


Related issues 2 (0 open2 closed)

Copied to Orchestrator - Backport #55949: quincy: cephadm crashes when trying to restart an invalid service name which starts with keepalived or haproxyResolvedAdam KingActions
Copied to Orchestrator - Backport #55950: pacific: cephadm crashes when trying to restart an invalid service name which starts with keepalived or haproxyResolvedAdam KingActions
Actions #1

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 46444
Actions #2

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to quincy,pacific
Actions #3

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #55949: quincy: cephadm crashes when trying to restart an invalid service name which starts with keepalived or haproxy added
Actions #4

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #55950: pacific: cephadm crashes when trying to restart an invalid service name which starts with keepalived or haproxy added
Actions #5

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Pending Backport to Closed
Actions #6

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Closed to Resolved
Actions

Also available in: Atom PDF