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
mgr: integrate optracker in ceph-mgr #54979
Conversation
The commit-id 77891f9 introduces the basic optracker framework for mgr daemon. Let's discuss if it needs improvements. Also we need to discuss plan to define new op events accordingly and also how to leverage the optracking mechanism to mgr python modules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First round of review done. Looks sane! just a bunch of nits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest of the changes looks good to me except Radek's new review comments. Also squash the changes to single commit. Thank you!
fc03f65
to
cf43e8e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
cf43e8e
to
c256561
Compare
jenkins test make check |
Oops, might be related:
|
jenkins test make check |
1 similar comment
jenkins test make check |
@rzarzynski @linuxkidd Need final review of this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks there is some duplication of op_tracker
instances. Commented on that below.
src/mgr/Mgr.h
Outdated
@@ -70,6 +71,10 @@ class Mgr : public AdminSocketHook { | |||
bool initialized; | |||
bool initializing; | |||
|
|||
private: | |||
// -- op tracking -- | |||
OpTracker op_tracker; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, the two op_tracker
are both instances.
Removing "needs-qa" since it looks like there are some additional things that need to be addressed. @pdvian feel free to re-add it when you want! |
Signed-off-by: Prashant D <pdhange@redhat.com> Signed-off-by: Michael J. Kidd <linuxkidd@gmail.com>
5962ef2
to
66efcaa
Compare
Removed duplicate |
I have addressed the latest review comments. Kindly add this PR in next RADOS suite teuthology batch run. |
jenkins retest this please |
|
jenkins test api |
1 similar comment
jenkins test api |
ceph API tests succeeded, re-triggering make check job. |
jenkins test make check |
Yes, I donot see any failures related to this PR in https://pulpito.ceph.com/?branch=wip-yuri8-testing-2024-03-25-1419. Failure, unrelated :
Details:
|
It's rados approved! https://tracker.ceph.com/projects/rados/wiki/MAIN#httpstrackercephcomissues65126 |
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
x
between the brackets:[x]
. Spaces and capitalization matter when checking off items this way.Checklist
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
jenkins test rook e2e