Skip to content

crimson/osd/watch: Add logs around Watch/Notify - #51852

Merged
Matan-B merged 2 commits into
ceph:mainfrom
Matan-B:wip-matanb-crimson-watch-notify-logs
Jul 5, 2023
Merged

Matan-B merged 2 commits into
ceph:mainfrom
Matan-B:wip-matanb-crimson-watch-notify-logs

Conversation

@Matan-B

@Matan-B Matan-B commented May 31, 2023

Copy link
Copy Markdown
Contributor

See: https://tracker.ceph.com/issues/61504

The issue does not appear often, so having logs for the next appearance will be useful for debugging.

Contribution Guidelines

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
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, 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
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@Matan-B
Matan-B requested review from athanatos and rzarzynski May 31, 2023 12:01
@Matan-B
Matan-B requested a review from a team as a code owner May 31, 2023 12:01

@athanatos athanatos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

info() prints by default, I think. Probably debug would be the right log level? We have debug enabled in teuthology, I think.

@Matan-B
Matan-B force-pushed the wip-matanb-crimson-watch-notify-logs branch from 048bbc6 to febc01a Compare June 1, 2023 11:17
@Matan-B
Matan-B requested a review from athanatos June 1, 2023 11:18
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-watch-notify-logs branch from febc01a to 764e1e1 Compare June 1, 2023 11:21

@athanatos athanatos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, signed-off by check seems to be failing though

@Matan-B

Matan-B commented Jun 5, 2023

Copy link
Copy Markdown
Contributor Author

jenkins test signed

@Matan-B Matan-B mentioned this pull request Jun 6, 2023
4 of 14 tasks
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-watch-notify-logs branch 2 times, most recently from a6dae16 to 56daf71 Compare June 8, 2023 12:23
@Matan-B

Matan-B commented Jun 28, 2023

Copy link
Copy Markdown
Contributor Author
Merge remote-tracking branch 'wip-crimson-ertr-plain-rets' into wip-matanb-crimson-testing-28.6
Merge remote-tracking branch wip-bug-59429' into wip-matanb-crimson-testing-28.6
Merge remote-tracking branch 'wip-matanb-crimson-watch-notify-logs' into wip-matanb-crimson-testing-28.6
Merge remote-tracking branch 'wip-matanb-crimson-no-ignore' into wip-matanb-crimson-testing-28.6
latest main commit 0082f63e8c

https://shaman.ceph.com/builds/ceph/wip-matanb-crimson-testing-28.6

Build is ready, awaiting infra failures to resolve.

@Matan-B

Matan-B commented Jul 2, 2023

Copy link
Copy Markdown
Contributor Author

@Matan-B
Matan-B force-pushed the wip-matanb-crimson-watch-notify-logs branch 2 times, most recently from 48830ca to d049bfd Compare July 2, 2023 10:54
@Matan-B
Matan-B requested a review from a team as a code owner July 2, 2023 10:54
@Matan-B

Matan-B commented Jul 2, 2023

Copy link
Copy Markdown
Contributor Author

Rebased

@github-actions github-actions Bot added the core label Jul 2, 2023
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-watch-notify-logs branch from d049bfd to b4fcf86 Compare July 2, 2023 10:55
@Matan-B

Matan-B commented Jul 2, 2023

Copy link
Copy Markdown
Contributor Author

jenkins test docs

Matan-B added 2 commits July 2, 2023 13:57
The bufferlists clutter the logs and don't infrom of anything useful:
```
DEBUG 2023-05-26 23:36:29,780 [shard 2] osd - send_completion sending notify replies: {notify_reply_t{watcher_gid=4220, watcher_cookie=139786421930752, bl=buffer::list(len=0,

)}, notify_reply_t{watcher_gid=4220, watcher_cookie=139786422032096, bl=buffer::list(len=0,

)}}
```

Signed-off-by: Matan Breizman <[email protected]>
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-watch-notify-logs branch from b4fcf86 to 3548489 Compare July 2, 2023 13:58
@Matan-B

Matan-B commented Jul 5, 2023

Copy link
Copy Markdown
Contributor Author

jenkins test docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants