Bug 2161545 - [cee/sd][cephadm] cephadm removes ceph.conf and admin keyring files post node reboot
Summary: [cee/sd][cephadm] cephadm removes ceph.conf and admin keyring files post node...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 6.1z1
Assignee: Adam King
QA Contact: Mohit Bisht
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2221020
TreeView+ depends on / blocked
 
Reported: 2023-01-17 08:42 UTC by Lijo Stephen Thomas
Modified: 2024-07-23 05:40 UTC (History)
8 users (show)

Fixed In Version: ceph-17.2.6-84.el9cp
Doc Type: Bug Fix
Doc Text:
.The config or keyring files are no longer temporarily removed from the nodes Previously, in `cephadm`, the calculation of where client config/keyrings files should be written would occasionally end up empty. Due to this, config/keyring files are temporarily removed from the nodes where they should be left alone until the next checks and the correct calculation. With this fix, the timing of the calculation is altered and the keyring/conf files are no longer randomly removed from the nodes temporarily.
Clone Of:
Environment:
Last Closed: 2023-08-03 16:45:09 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-5943 0 None None None 2023-01-17 08:44:46 UTC
Red Hat Product Errata RHBA-2023:4473 0 None None None 2023-08-03 16:46:26 UTC

Description Lijo Stephen Thomas 2023-01-17 08:42:21 UTC
Description of problem:
-----------------------
cephadm removes ceph.conf and admin keyring files post node reboot of any ceph nodes with _admin label after upgrading cluster to RHCS 5.3 and the files does re-create after few mins.

This issue is observed in below scenario:

```
1. Cluster upgraded to RHCS 5.3       ---> Issue is reproducible
2. Freshly deployed RHCS 5.3 cluster  ---> Issue is not reproducible. 
3. Freshly deployed RHCS 5.2 cluster  ---> Issue is not reproducible. 
```

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


How reproducible:
-----------------
Every time

Steps to Reproduce:
-------------------
1. Deploy RHCS 5.2 or older version
2. Upgrade the cluster to RHCS 5.3
3. Reboot any node.
4. Check cephadm logs and /etc/ceph directory for missing files.
5. After few mins files does get recreated.

Actual results:
---------------
ceph.conf and admin keyrings gets recreated unnecessarily.


Expected results:
-----------------
ceph.conf and admin keyring should not be recreated unnecessarily until any changes in the files.

Comment 12 errata-xmlrpc 2023-08-03 16:45:09 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 (Red Hat Ceph Storage 6.1 Bug Fix 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/RHBA-2023:4473


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