Bug 2042602 - [RHCS 5] Performing a `ceph orch restart mgr` results in endless restart loop
Summary: [RHCS 5] Performing a `ceph orch restart mgr` results in endless restart loop
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: 5.2
Assignee: Redouane Kachach Elhichou
QA Contact: Manasa
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2102272
TreeView+ depends on / blocked
 
Reported: 2022-01-19 19:33 UTC by Mustafa Aydın
Modified: 2022-08-09 17:38 UTC (History)
7 users (show)

Fixed In Version: ceph-16.2.8-2.el8cp
Doc Type: Bug Fix
Doc Text:
.The `ceph orch redeploy mgr` command redeploys the active Manager daemon last Previously, the `ceph orch redeploy mgr` command would cause the Ceph Manager daemons to continually redeploy themselves without clearing the scheduled redeploy action which would result in the Ceph Manager daemons endlessly flapping. With this release, the ordering of the redeployment was adjusted so that the active manager daemon is always redeployed last and the command `ceph orch redeploy mgr` now only redeploys each Ceph Manager once.
Clone Of:
Environment:
Last Closed: 2022-08-09 17:37:27 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3003 0 None None None 2022-01-19 19:37:42 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:38:03 UTC

Description Mustafa Aydın 2022-01-19 19:33:15 UTC
Description of problem:
When we restart mgr service with the command "ceph orch restart mgr" , the mgr keeps on restarting

Version-Release number of selected component (if applicable):
5.0

How reproducible:
Always

Steps to Reproduce:
1. Run "ceph orch restart mgr" command

Actual results:
Check the ceph -s output and observe the active mgr keeps on restarting


Expected results:
mgr service does not keep on restarting after running "ceph orch restart mgr" command

Additional info:
Workaround is to move the mgrs into different hosts

Comment 5 Redouane Kachach Elhichou 2022-03-31 14:21:25 UTC
This issue seems to be fixed in last releases. I tried to reproduce it both using 16.2.7 and master and couldn't observe this behavior in these branches. There's a PR (already merged) that seems to fix this issue. https://github.com/ceph/ceph/pull/41002.

Comment 18 Redouane Kachach Elhichou 2022-07-13 14:36:57 UTC
docs look good to me

Comment 20 errata-xmlrpc 2022-08-09 17:37:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5997


Note You need to log in before you can comment on or make changes to this bug.