Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/cephPublic

mgr: change cleanup and scanning cephfs connection logs to be less noisy#66640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
omidyoosefi wants to merge1 commit intoceph:main
base:main
Choose a base branch
Loading
fromomidyoosefi:cephfs-noisy-connection-log

Conversation

@omidyoosefi
Copy link

@omidyoosefiomidyoosefi commentedDec 15, 2025
edited
Loading

Intro

  • Our MGR logs are filled with these scanning logs (this has been cut, there's literally hundreds in same seconds). This log level should not beinfo
2025-12-15T19:58:06.482+0000 7fc04fa25640  0 [nfs INFO mgr_util] scanning for idle connections..2025-12-15T19:58:06.482+0000 7fc04fa25640  0 [nfs INFO mgr_util] cleaning up connections: []2025-12-15T19:58:06.482+0000 7fc20c59e640  0 [nfs INFO mgr_util] scanning for idle connections..2025-12-15T19:58:06.482+0000 7fc20c59e640  0 [nfs INFO mgr_util] cleaning up connections: []2025-12-15T19:58:06.482+0000 7fc501387640  0 [nfs INFO mgr_util] scanning for idle connections..2025-12-15T19:58:06.482+0000 7fc501387640  0 [nfs INFO mgr_util] cleaning up connections: []2025-12-15T19:58:06.482+0000 7fc500b86640  0 [nfs INFO mgr_util] scanning for idle connections..2025-12-15T19:58:06.482+0000 7fc500b86640  0 [nfs INFO mgr_util] cleaning up connections: []

Change

  • Switch thescanning log to debug
  • Move thecleaning up log to the for loop so it only logs when it's actually doing something

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • AffectsDashboard, opened tracker ticket
    • AffectsOrchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

Signed-off-by: Omid Yoosefi <omidyoosefi@ibm.com>
@omidyoosefi
Copy link
Author

jenkins test api

Copy link
Member

@batrickbatrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Please create atracker issue so that this issue can be tracked for backporting.

Then,please annotate the commit which fixes/resolves a Ceph tracker issue with:

Fixes: http://tracker.ceph.com/issues/...

This is essential when examining the history of the repository (this commit fixes what) and helps merge scripts identify issues that have been resolved by a merge. Seethis article on GitHub on how to amend commits and update your pull request.

defcleanup_connections(self)->None:
withself.lock:
logger.info("scanning for idle connections..")
logger.debug("scanning for idle connections..")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
logger.debug("scanning for idle connections..")
logger.debug("scanning for idle connections...")

idle_conns.append((fs_name,connection))
logger.info(f'cleaning up connections:{idle_conns}')
foridle_conninidle_conns:
logger.info(f'cleaning up connections:{idle_conn}')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
logger.info(f'cleaning upconnections:{idle_conn}')
logger.info(f'cleaning upconnection:{idle_conn}')

@batrickbatrick added the cephfsCeph File System labelDec 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@batrickbatrickbatrick requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

cephfsCeph File Systemmgrpybind

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@omidyoosefi@batrick

[8]ページ先頭

©2009-2025 Movatter.jp