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

octopus: crush/CrushLocation: do not print logging message in constructor #40791

Merged
merged 1 commit into from Apr 25, 2021

Conversation

smithfarm
Copy link
Contributor

backport tracker: https://tracker.ceph.com/issues/50120


backport of #40457
parent tracker: https://tracker.ceph.com/issues/50047

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh

do not use logging facility in constructor, as CephContext::_log is set
after CephContext::crush_location is created in constructor of CephContext.

Fixes: https://tracker.ceph.com/issues/50047
Signed-off-by: Alex Wu <notmycupoftea@163.com>
(cherry picked from commit 68812a2)
@smithfarm smithfarm added this to the octopus milestone Apr 11, 2021
@smithfarm smithfarm added the core label Apr 11, 2021
@smithfarm smithfarm requested a review from tchaikov April 11, 2021 10:14
@idryomov idryomov changed the base branch from octopus to octopus-saved April 20, 2021 13:12
@idryomov idryomov changed the base branch from octopus-saved to octopus April 20, 2021 13:12
@tchaikov
Copy link
Contributor

jenkins retest this please

@tchaikov tchaikov merged commit 74f311b into ceph:octopus Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants