spec, deb: package cephfs-top utility

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This commit is contained in:
Venky Shankar 2020-11-16 09:07:03 -05:00
parent 4867fc1cd1
commit d5062c60f6
5 changed files with 30 additions and 0 deletions

View File

@ -718,6 +718,14 @@ storage system. This package provides a REST gateway to the
object store that aims to implement a superset of Amazon's S3
service as well as the OpenStack Object Storage ("Swift") API.
%package -n cephfs-top
Summary: top(1) like utility for Ceph Filesystem
BuildArch: noarch
Requires: python%{python3_pkgversion}-rados
%description -n cephfs-top
This package provides a top(1) like utility to display Ceph Filesystem metrics
in realtime.
%if %{with ocf}
%package resource-agents
Summary: OCF-compliant resource agents for Ceph daemons
@ -2175,6 +2183,11 @@ fi
%{_bindir}/cephfs-shell
%endif
%files -n cephfs-top
%{python3_sitelib}/cephfs_top-*.egg-info
%{_bindir}/cephfs-top
%{_mandir}/man8/cephfs-top.8*
%if 0%{with ceph_test_package}
%files -n ceph-test
%{_bindir}/ceph-client-debug

2
debian/cephfs-top.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin/cephfs-top
usr/lib/python3*/dist-packages/cephfs_top-*.egg-info

9
debian/control vendored
View File

@ -1184,6 +1184,15 @@ Description: interactive shell for the Ceph distributed file system
.
This package contains a CLI for interacting with the CephFS.
Package: cephfs-top
Architecture: all
Depends: ${misc:Depends}
${python3:Depends}
Description: This package provides a top(1) like utility to display various
filesystem metrics in realtime.
.
This package contains utility for displaying filesystem metrics.
Package: ceph-grafana-dashboards
Architecture: all
Description: grafana dashboards for the ceph dashboard

1
debian/rules vendored
View File

@ -126,6 +126,7 @@ override_dh_python3:
dh_python3 -p python3-ceph-argparse
dh_python3 -p python3-ceph-common
dh_python3 -p cephfs-shell
dh_python3 -p cephfs-top
dh_python3 -p cephadm
# do not run tests

View File

@ -56,3 +56,8 @@ if(WITH_CEPHFS_SHELL)
add_tox_test(cephfs-shell)
endif()
endif()
option(WITH_CEPHFS_TOP "install cephfs-top utility" ON)
if(WITH_CEPHFS_TOP)
add_subdirectory(top)
endif()