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

nautilus: mgr: Update the restful module in nautilus #28291

Merged
merged 3 commits into from Jun 14, 2019

Conversation

b-ranto
Copy link
Contributor

@b-ranto b-ranto commented May 29, 2019

backport tracker: https://tracker.ceph.com/issues/39695
possibly a backport of #27925
parent tracker: https://tracker.ceph.com/issues/38628


original PR body:
This updates the restful module to what we have in master. It contains the patch to expose perf counters through the restful module and a couple of fixes for python3.


updated using ceph-backport.sh version 15.1.1.389

b-ranto and others added 3 commits May 29, 2019 12:23
We currently do not expose perf counters in the restful module but this
is a useful piece of information to be exposed by the restful module.

Since we already have a function to gather all the information about the
perf counters, we can make this easily accessible through the restful
API.

This also supports filtering by daemons through regexps.

Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit aaaef91)
for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit aadb8ec)
unlike python2, python3 returns an iterator instead of a list, so
construct a list using list comprehension directly.

Fixes: https://tracker.ceph.com/issues/38628
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 427bca8)
@smithfarm smithfarm added the nautilus-batch-1 nautilus point releases label Jun 5, 2019
@smithfarm smithfarm changed the title [nautilus] Update the restful module in nautilus nautilus: mgr: Update the restful module in nautilus Jun 5, 2019
@yuriw
Copy link
Contributor

yuriw commented Jun 11, 2019

@yuriw yuriw merged commit 108bd5f into ceph:nautilus Jun 14, 2019
@b-ranto b-ranto deleted the wip-nautilus-restful branch June 18, 2019 11:56
@smithfarm smithfarm added the core label May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants