Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/crimson/perf_crimson_msgr:fix perf_crimson_msgr abort #47039

Merged
merged 2 commits into from Jul 14, 2022

Conversation

rosinL
Copy link
Member

@rosinL rosinL commented Jul 11, 2022

While constructing socket connections, there are some config items needed(
ceph::msgr::v2::FrameAssembler need the value of common::local_conf()->ms_crc_data,
Access common::local_conf()->ms_crc_data will cause SIGSEGV without the ConfigProxy init).
So adding ConfigPorxy init before pref_crimson_msgr start running.

Fixes: https://tracker.ceph.com/issues/56520
Signed-off-by: luo rixin luorixin@huawei.com

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

@tchaikov
Copy link
Contributor

@rosinL Rixin, you might want to accompany each commit with an explanation why we need to have the corresponding fix.

…sgr start running

While constructing socket connections, there are some config items needed(
`ceph::msgr::v2::FrameAssembler` need the value of `common::local_conf()->ms_crc_data`,
Access `common::local_conf()->ms_crc_data` will cause SIGSEGV without the ConfigProxy init).
So adding ConfigPorxy init before pref_crimson_msgr start running.

Fixes: https://tracker.ceph.com/issues/56520

Signed-off-by: luo rixin <luorixin@huawei.com>
@rosinL
Copy link
Member Author

rosinL commented Jul 11, 2022

@rosinL Rixin, you might want to accompany each commit with an explanation why we need to have the corresponding fix.

I have added some explanation, pls take a review.

As msgr protocol V1 is no longer supported, correct default addr
to msgr v2 version and replace the option 'v1-crc-enabled' to
'crc-enabled'.

Fixes: https://tracker.ceph.com/issues/56520

Signed-off-by: luo rixin <luorixin@huawei.com>
@rosinL
Copy link
Member Author

rosinL commented Jul 12, 2022

jenkins retest this please

@cyx1231st cyx1231st self-requested a review July 13, 2022 14:09
Copy link
Member

@cyx1231st cyx1231st left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@cyx1231st cyx1231st merged commit 93a6fd1 into ceph:main Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants