Bug 1967916
Summary: | cephfs-mirror asok files are regenerated due to the restart of the daemon which happens everyday at particular time by itself. | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Hemanth Kumar <hyelloji> |
Component: | CephFS | Assignee: | Venky Shankar <vshankar> |
Status: | CLOSED ERRATA | QA Contact: | Hemanth Kumar <hyelloji> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.0 | CC: | ceph-eng-bugs, kdreyer, pdonnell, sweil, vereddy, vshankar |
Target Milestone: | --- | ||
Target Release: | 5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ceph-16.2.0-87.el8cp | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-30 08:31:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Hemanth Kumar
2021-06-04 12:12:34 UTC
(In reply to Hemanth Kumar from comment #0) > Description of problem: > ------------------------ > > I am seeing that asok files for cephfs-mirror is recreating everyday even > when > the service is idle and without enabling/disabling the daemon. > > Is there any cron job running to recreate/restart mirror-daemon ?. It's > recreating everyday at around 3. Let me know what logs are required here. > I don't think any cron job is responsible for this. And I don't see why would the admin socket get recreated each day. The mirror daemon does not do anything special with the admin sockets apart from registering some asok hooks (commands). Can you enable asok debugging with "debug asok = 20" and provide mirror daemon logs? Let the mirror daemon run for a day or two until you see the asok path change. Also run the mirror daemon with `--debug-cephfs_mirror = 20`. Update after discussing with Hemanth: logrotate seems to be backing up the log file and around the same time a new asok file is generated which is very weird. logrotate sends a SIGHUP to ceph daemons, however, the mirror daemon is not included in the daemon list (we probably need to add that). Hmeanth will check with the respective devs and update (Thanks, Hemanth!). Cheers, Venky 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 5.0 bug fix and enhancement), 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-2021:3294 |