]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agodoc/cephadm/services: fix example for specifying rgw placement 47947/head
Redouane Kachach [Fri, 2 Sep 2022 09:57:43 +0000 (11:57 +0200)]
doc/cephadm/services: fix example for specifying rgw placement
fixes: https://tracker.ceph.com/issues/56953

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 1ed4c30876262c8890247325eb84ff46621d34fe)

2 years agoMerge pull request #47861 from lxbsz/wip-57253
Yuri Weinstein [Sat, 3 Sep 2022 14:51:02 +0000 (07:51 -0700)]
Merge pull request #47861 from lxbsz/wip-57253

quincy: libcephfs: define AT_NO_ATTR_SYNC back for backward compatibility

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
2 years agoMerge pull request #47768 from neesingh-rh/wip-57264-quincy
Yuri Weinstein [Sat, 3 Sep 2022 14:50:07 +0000 (07:50 -0700)]
Merge pull request #47768 from neesingh-rh/wip-57264-quincy

quincy: mgr/volumes: Add volume info command

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #47902 from vshankar/tr-57370
Yuri Weinstein [Fri, 2 Sep 2022 22:10:36 +0000 (15:10 -0700)]
Merge pull request #47902 from vshankar/tr-57370

quincy: mon/MDSMonitor: fix standby-replay mds being removed from MDSMap unexpectedly

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #47910 from adk3798/wip-57314-quincy
Yuri Weinstein [Fri, 2 Sep 2022 20:05:13 +0000 (13:05 -0700)]
Merge pull request #47910 from adk3798/wip-57314-quincy

quincy: qa/cephadm: specify using container host distros for workunits

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #47826 from ceph/wip-telemetry-memory-stats-quincy
Yuri Weinstein [Fri, 2 Sep 2022 20:01:37 +0000 (13:01 -0700)]
Merge pull request #47826 from ceph/wip-telemetry-memory-stats-quincy

quincy: mgr/telemetry: add `perf_memory_metrics` collection to telemetry

Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
2 years agoMerge pull request #47825 from ceph/wip-bug-57119-quincy
Yuri Weinstein [Fri, 2 Sep 2022 16:17:54 +0000 (09:17 -0700)]
Merge pull request #47825 from ceph/wip-bug-57119-quincy

quincy: osd, mds: fix the "heap" admin cmd printing always to error stream

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #47648 from joscollin/wip-57156-quincy
Yuri Weinstein [Fri, 2 Sep 2022 15:26:25 +0000 (08:26 -0700)]
Merge pull request #47648 from joscollin/wip-57156-quincy

quincy: cephfs-top: fix the rsp/wsp display

Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #47621 from pdvian/wip-56134-quincy
Radoslaw Zarzynski [Fri, 2 Sep 2022 15:22:39 +0000 (17:22 +0200)]
Merge pull request #47621 from pdvian/wip-56134-quincy

quincy: osd/scrub: Reintroduce scrub starts message

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoMerge pull request #47867 from MrFreezeex/quincy-ceph-mixin-backports
Nizamudeen A [Fri, 2 Sep 2022 10:19:31 +0000 (15:49 +0530)]
Merge pull request #47867 from MrFreezeex/quincy-ceph-mixin-backports

quincy: monitoring: ceph mixin backports

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2 years agoMerge pull request #47387 from s0nea/wip-56991-quincy
Nizamudeen A [Fri, 2 Sep 2022 05:31:59 +0000 (11:01 +0530)]
Merge pull request #47387 from s0nea/wip-56991-quincy

quincy: monitoring/ceph-mixin: OSD overview typo fix

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #47057 from lxbsz/wip-56448
Yuri Weinstein [Thu, 1 Sep 2022 23:05:03 +0000 (16:05 -0700)]
Merge pull request #47057 from lxbsz/wip-56448

quincy: mds: notify the xattr_version to replica MDSes

Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoMerge pull request #47822 from zdover23/wip-doc-2022-08-27-backport-47810-to-quincy
zdover23 [Thu, 1 Sep 2022 20:16:58 +0000 (06:16 +1000)]
Merge pull request #47822 from zdover23/wip-doc-2022-08-27-backport-47810-to-quincy

quincy: doc/mgr: add prompt directives to dashboard.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #47869 from zdover23/wip-doc-2022-08-30-backport-447843-to-quincy
zdover23 [Thu, 1 Sep 2022 20:13:11 +0000 (06:13 +1000)]
Merge pull request #47869 from zdover23/wip-doc-2022-08-30-backport-447843-to-quincy

quincy: doc/mgr: update prompts in dboard.rst includes

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #47892 from rhcs-dashboard/value-error-quincy
Nizamudeen A [Thu, 1 Sep 2022 17:29:07 +0000 (22:59 +0530)]
Merge pull request #47892 from rhcs-dashboard/value-error-quincy

quincy: install-deps: script exit on /ValueError: in centos_stream8

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoqa/cephadm: specify using container host distros for workunits 47910/head
Adam King [Thu, 18 Aug 2022 12:49:57 +0000 (08:49 -0400)]
qa/cephadm: specify using container host distros for workunits

Right now, the OS Type and OS Version for these workunits
tests is left blank on pulpito and they appear to be trying to
run ubuntu jammy currently which is causing failures. We should
specify what distros the tests should run on then very explicitly
tell it to start trying new distros when we can get the tests to
pass.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 1c0bf2f9f6bce08949fd5281fac1afbae1788fe7)

3 years agomon/MDSMonitor: remove redundant state change check 47902/head
胡玮文 [Sun, 9 Jan 2022 15:17:38 +0000 (23:17 +0800)]
mon/MDSMonitor: remove redundant state change check

There are two sets of checks to state change in prepare_beacon.
Since the last commit, many of these checks are covered by
`MDSMap::state_transition_valid`. So merging these checks.

This fixes the bug that standby-replay is evicted unexpectedly.
This bug is introduced in
794d13c9ff4 (mon/MDSMonitor: reject illegal want_states from MDS)
but only reveal itself after
20509bb6c82 (MDSMonitor: handle damaged from standby-replay)

Fixes: https://tracker.ceph.com/issues/53811
Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit bf75a9ea08084afe4a02083473a7146cb91dae3b)

3 years agomds/FSMap: stricter state_transition_valid
胡玮文 [Sun, 9 Jan 2022 14:52:16 +0000 (22:52 +0800)]
mds/FSMap: stricter state_transition_valid

Reject any unknown transitions.

MDSRank::state initialize to standy and assert no update is missed.

Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit 0601552b91a1c91314bc6799514f972098b02f30)

3 years agodoc: complete MDS state diagram
胡玮文 [Sun, 9 Jan 2022 13:53:40 +0000 (21:53 +0800)]
doc: complete MDS state diagram

Add missing rejoin -> stopped.
MDS can transit from replay-standy to damaged Since 20509bb6c82.

Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit 969061e8d5f6d965150c4ac9d1b804f24b84dc4b)

3 years agomds: remove reference to mds-state-diagram.svg
胡玮文 [Sun, 9 Jan 2022 13:45:34 +0000 (21:45 +0800)]
mds: remove reference to mds-state-diagram.svg

We no longer generate that file since c783ae10aa4

Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit b4cc22a57f79b531401515badf39a06e613ef0c9)

3 years agoMerge pull request #47887 from rhcs-dashboard/wip-57356-quincy
Nizamudeen A [Thu, 1 Sep 2022 06:23:11 +0000 (11:53 +0530)]
Merge pull request #47887 from rhcs-dashboard/wip-57356-quincy

quincy: mgr/dashboard: ensure limit 0 returns 0 images

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #47409 from rhcs-dashboard/wip-56567-quincy
Nizamudeen A [Thu, 1 Sep 2022 06:21:56 +0000 (11:51 +0530)]
Merge pull request #47409 from rhcs-dashboard/wip-56567-quincy

quincy: mgr/dashboard: rbd striping setting pre-population and pop-over

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: vrushch <NOT@FOUND>
3 years agoinstall-deps: script exit on /ValueError: in centos_stream8 47892/head
Nizamudeen A [Tue, 16 Aug 2022 15:39:25 +0000 (21:09 +0530)]
install-deps: script exit on /ValueError: in centos_stream8

this is happening locally as well as in our ceph-dev runs too https://github.com/rhcs-dashboard/ceph-dev/runs/7850564011

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit b73d7d22d4dad5188d06fdec4892148af0757dc5)

3 years agomgr/dashboard: ensure limit 0 returns 0 images 47887/head
Pere Diaz Bou [Thu, 18 Aug 2022 11:34:15 +0000 (13:34 +0200)]
mgr/dashboard: ensure limit 0 returns 0 images

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
(cherry picked from commit a80c058ad21127bee09b4a67886745d880799a10)

3 years agoMerge pull request #47747 from kotreshhr/wip-57112-quincy
Yuri Weinstein [Wed, 31 Aug 2022 14:28:49 +0000 (07:28 -0700)]
Merge pull request #47747 from kotreshhr/wip-57112-quincy

quincy: mgr/volumes: prevent intermittent ParsingError failure in "clone cancel"

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #47734 from neesingh-rh/wip-57200-quincy
Yuri Weinstein [Wed, 31 Aug 2022 14:27:57 +0000 (07:27 -0700)]
Merge pull request #47734 from neesingh-rh/wip-57200-quincy

quincy: mgr/snap_schedule: replace .snap with the client configured snap dir name

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoMerge pull request #47858 from adk3798/quincy-fix-tox-mgr
Adam King [Tue, 30 Aug 2022 13:04:15 +0000 (09:04 -0400)]
Merge pull request #47858 from adk3798/quincy-fix-tox-mgr

quincy: mgr/orchestrator/tests: don't match exact whitespace in table output

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agodoc/mgr: update prompts in dboard.rst includes 47869/head
Zac Dover [Mon, 29 Aug 2022 00:39:51 +0000 (10:39 +1000)]
doc/mgr: update prompts in dboard.rst includes

This PR adds unselectable prompts to three files that are
transcluded in the doc/mgr/dashboard.rst file. These three
files are:

 1. debug.inc.rst
 2. feature_toggles.inc.rst
 3. motd.inc.rst

The addition of unselectable prompts to these three files
completes the work begun in PR#47810 (d8064b4), which sought
to bring dashboard.rst into line with the unselectable prompt
standard introduced by Kefu Chai in 2020.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit fc70ccde758cb1f7c03f208115b88a4ef325aed7)

3 years agoMerge pull request #47623 from aaSharma14/wip-57137-quincy
Nizamudeen A [Tue, 30 Aug 2022 11:05:05 +0000 (16:35 +0530)]
Merge pull request #47623 from aaSharma14/wip-57137-quincy

 quincy: mgr/dashboard: add flag to automatically deploy loki/promtail service at bootstrap

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoceph-mixin: fix CephNodeNetworkPacket alerts 47867/head
Aswin Toni [Tue, 23 Aug 2022 08:30:12 +0000 (10:30 +0200)]
ceph-mixin: fix CephNodeNetworkPacket alerts

Signed-off-by: Aswin Toni <aswin.toni@cern.ch>
(cherry picked from commit 351e1ac63950164ea5f08a6bfc7c14af586bb208)

3 years agoceph-mixin: fix config inheritance
Aswin Toni [Thu, 18 Aug 2022 14:21:36 +0000 (16:21 +0200)]
ceph-mixin: fix config inheritance

Signed-off-by: Aswin Toni <aswin.toni@cern.ch>
(cherry picked from commit 35183140f60fe445de8d256fa08639b288b6e768)

3 years agoceph-mixin: fix PATH issues with jsonnet-bundler
Arthur Outhenin-Chalandre [Thu, 18 Aug 2022 11:37:31 +0000 (13:37 +0200)]
ceph-mixin: fix PATH issues with jsonnet-bundler

In 4a3afcf, the $PATH is set for the test, but we cannot set multiple
properties with a single `set_property()` cmake command. We fix that by
adding the installation path of jsonnet-bundler
(CMAKE_CURRENT_BINARY_DIR) to the $PATH used for every tox test.

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Co-Authored-By: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit d46e14c71bffda1381dac7da244ab8347d035769)

3 years agoceph-mixin: Remove jsonnet building
Aswin Toni [Tue, 16 Aug 2022 14:17:21 +0000 (16:17 +0200)]
ceph-mixin: Remove jsonnet building

Signed-off-by: Aswin Toni <aswin.toni@cern.ch>
(cherry picked from commit 2e0e684fc20cbf6c2e48215b431419c8573b3863)

3 years agoprometheus: add multicluster support to alerts
Aswin Toni [Tue, 16 Aug 2022 13:38:18 +0000 (15:38 +0200)]
prometheus: add multicluster support to alerts

Signed-off-by: Aswin Toni <aswin.toni@cern.ch>
(cherry picked from commit 5cdc1c62c5de52a1f777f3d83fc85c3fc144db38)

3 years agomonitoring/ceph-mixin: clean up prometheus_alerts.yml
Anthony D'Atri [Tue, 26 Jul 2022 16:06:27 +0000 (09:06 -0700)]
monitoring/ceph-mixin: clean up prometheus_alerts.yml

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 9b6597446814ebced6ee6d963af18ce1a915e0bf)

3 years agomonitoring/ceph-mixin: OSD overview typo fix
Tatjana Dehler [Thu, 28 Jul 2022 13:15:32 +0000 (15:15 +0200)]
monitoring/ceph-mixin: OSD overview typo fix

Correct a wrongly set bracket on ceph-dashboard -> OSD Overview ->
OSD Objectstore Types resulting in a parser error.

Fixes: https://tracker.ceph.com/issues/56948
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
(cherry picked from commit 8faaca2082eeab09eaacfbe3180196c6ce065916)

3 years agoMerge pull request #47635 from rhcs-dashboard/wip-57142-quincy
Pere Diaz Bou [Tue, 30 Aug 2022 09:45:31 +0000 (11:45 +0200)]
Merge pull request #47635 from rhcs-dashboard/wip-57142-quincy

quincy: mgr/dashboard: fix _rbd_image_refs caching

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #47724 from rhcs-dashboard/wip-57216-quincy
Nizamudeen A [Tue, 30 Aug 2022 06:46:05 +0000 (12:16 +0530)]
Merge pull request #47724 from rhcs-dashboard/wip-57216-quincy

quincy: mgr/dashboard: Hide maintenance option on expand cluster

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agolibcephfs: define AT_NO_ATTR_SYNC back for backward compatibility 47861/head
Xiubo Li [Wed, 20 Jul 2022 01:37:25 +0000 (09:37 +0800)]
libcephfs: define AT_NO_ATTR_SYNC back for backward compatibility

This was introduce by commit e2a67f2a65553ad45721bb391081bc61aa97e0e9,
for the third part applications they may still use the old macro.

Add it back and marked it as deprecated.

Fixes: https://tracker.ceph.com/issues/56638
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit bb0d56a93a57b76cc5f07c4ad19a1790858ff882)
Conflicts: PendingReleaseNotes

3 years agomds: notify the xattr_version to replica MDSes 47057/head
Xiubo Li [Wed, 1 Jun 2022 02:32:58 +0000 (10:32 +0800)]
mds: notify the xattr_version to replica MDSes

When one client changes a xattr's value in the auth MDS, when replying
to the client the MDS possibly will drop the increased xattr_version
and new value in the reply message if no 'Xs' caps will be issued to
the client together.

And when the client wants to get this xattr's value, and if it sends
the request to a replicated MDS, since the replicated MDS still has
the old value of the xattr_version, and then the client will drop the
xattr value since xattr_version is not changed.

We need to notify the xattr_version to the replicated MDSes together
with the xattrs when notifying the lock state.

Fixes: https://tracker.ceph.com/issues/55331
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 363ee982f6513af2c018f14a02b73338fa9fc03b)

3 years agomgr/orchestrator/tests: don't match exact whitespace in table output 47858/head
Adam King [Thu, 25 Aug 2022 16:09:49 +0000 (12:09 -0400)]
mgr/orchestrator/tests: don't match exact whitespace in table output

It seems that the exact spacing may differ a bit between
python versions. Currently seeing py3 (which cooresponds to py 3.6
on my system) passing these tests and py37 (which is python 3.7
obviously) failing. I think verifying against the exact whitespace
is unnecessary anyhow. As long as it isn't egregious, we don't
really need to worry about exactly what the spacing is.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit f64bf0e804598866fa82203da146c07e87bd50f6)

3 years agoMerge pull request #46948 from lxbsz/wip-56055
Yuri Weinstein [Mon, 29 Aug 2022 15:13:35 +0000 (08:13 -0700)]
Merge pull request #46948 from lxbsz/wip-56055

quincy: ceph-fuse: add dedicated snap stag map for each directory

Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoMerge pull request #47683 from batrick/i57184
Yuri Weinstein [Mon, 29 Aug 2022 14:50:36 +0000 (07:50 -0700)]
Merge pull request #47683 from batrick/i57184

quincy: crash: pthread_mutex_lock()

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #46214 from rzarzynski/wip-common-dout-gcc12-ftbfs-quincy
Yuri Weinstein [Mon, 29 Aug 2022 14:48:25 +0000 (07:48 -0700)]
Merge pull request #46214 from rzarzynski/wip-common-dout-gcc12-ftbfs-quincy

quincy: common: fix FTBFS due to dout & need_dynamic on GCC-12

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #47837 from zdover23/wip-doc-2022-08-28-backport-47736-to-quincy
zdover23 [Sun, 28 Aug 2022 21:38:00 +0000 (07:38 +1000)]
Merge pull request #47837 from zdover23/wip-doc-2022-08-28-backport-47736-to-quincy

quincy: doc: Update release process doc to accurately reflect current process

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc: Update release process doc to accurately reflect current process 47837/head
David Galloway [Mon, 22 Aug 2022 20:12:36 +0000 (16:12 -0400)]
doc: Update release process doc to accurately reflect current process

Signed-off-by: David Galloway <dgallowa@redhat.com>
(cherry picked from commit 4829af891ce9fbe41f4b48b10d342e774366dd52)

3 years agoMerge pull request #47688 from rzarzynski/wip-dup-trimming-test2-quincy
Laura Flores [Fri, 26 Aug 2022 23:05:05 +0000 (18:05 -0500)]
Merge pull request #47688 from rzarzynski/wip-dup-trimming-test2-quincy

quincy: osd, tools, kv: non-aggressive, on-line trimming of accumulated dups

3 years agosrc/pybind/mgr/telemetry: parse `outb` instead of `outs` 47826/head
Laura Flores [Wed, 24 Aug 2022 22:23:45 +0000 (22:23 +0000)]
src/pybind/mgr/telemetry: parse `outb` instead of `outs`

Following the merge of https://github.com/ceph/ceph/pull/47650, which
fixes the confusion between std out and std err in admin socket
commands, we will need to reference the out stream (outb) instead
of the error stream (outs) when we parse heap stats.

Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit 025f8105a59db22ddc28abab288a43738a9967e4)

3 years agodoc/mgr: add `perf_memory_metrics` to the telemetry documentation
Laura Flores [Wed, 20 Jul 2022 05:24:25 +0000 (05:24 +0000)]
doc/mgr: add `perf_memory_metrics` to the telemetry documentation

Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit 138eb5db67c4319ceccc4ee838e9b7b0e5b7a5b1)

3 years agomgr/telemetry: change some debug logging to error logging
Laura Flores [Wed, 20 Jul 2022 05:12:50 +0000 (05:12 +0000)]
mgr/telemetry: change some debug logging to error logging

Some log messages here were classified as "debug" when they
really fit better as "error".

Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit e7aa4908af41adb0d27ff74f9caa4d23607df802)

3 years agomon: give the mgr permission to gather heap and mempool stats from the monitor
Laura Flores [Mon, 11 Jul 2022 18:35:13 +0000 (18:35 +0000)]
mon: give the mgr permission to gather heap and mempool stats from the monitor

Otherwise, we run into an "insufficient caps" situation.

Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit 6e930a699fe156840253338354916576a80d0f5e)

3 years agomgr/telemetry: add `perf_memory_metrics` collection to telemetry
Laura Flores [Tue, 5 Jul 2022 22:06:15 +0000 (22:06 +0000)]
mgr/telemetry: add `perf_memory_metrics` collection to telemetry

This new collection includes heap stats and mempool metrics for
mon and mds daemons.

A `tell_command` function was introduced to the mgr module as a wrapper
around the `send_command` function to make it easier to run "tell"
admin socket commands.

Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit 1cd4edb6a675e816fc8a555fab141715aee6d070)

3 years agoosd, mds: fix the "heap" admin cmd printing always to error stream 47825/head
Radoslaw Zarzynski [Wed, 17 Aug 2022 12:44:42 +0000 (12:44 +0000)]
osd, mds: fix the "heap" admin cmd printing always to error stream

Before the patch `ceph::osd_cmds::heap()` was confusing
the concepts of _stderr_ and _stdout_. This  was the direct
cause of the differences in output between `ceph tell` and
`ceph daeamon`.

Thanks to Laura Flores who made the extremely useful observation
noted in https://tracker.ceph.com/issues/57119#note-3.

Fixes: https://tracker.ceph.com/issues/57119
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 94436475c4c9a11a94dd21c619c9ae0014ac393d)

3 years agodoc/mgr: add prompt directives to dashboard.rst 47822/head
Zac Dover [Thu, 25 Aug 2022 15:56:41 +0000 (01:56 +1000)]
doc/mgr: add prompt directives to dashboard.rst

This commit adds prompt directives (.. prompt:: bash $) to
the commands in dashboard.rst.

There are several ".. include::" directives in the dashboard.rst
file, which means that part of this page is sourced from elsewhere
than the dashboard.rst file. Because I have not yet added prompt
directives to those files, there is an inconsistency in the rendering
of this file. Most of the commands on this page have unselectable
prompts (unselectable prompts are the prompts that don't get added to
the buffer when you copy them to one of the clipboards). But the
commands on this page that come from those ".. include::" directives
do not yet have unselectable prompts.

This file is over 1600 lines long. It was perhaps not optimally wise
of me to have edited all of it in one fell swoop. It took many hours,
and carefully checking it will probably take at least one hour. I
suggest that whoever reviews this should not spend much time on it,
but should instead make a quick pass over the page and make sure that
it looks passable.

The English syntax on this page (and throughout the Dashboard doc-
umentation) will be tightened to remove ambiguity and to improve
readability in the near future, so hold all English-language-related
comments for a future pull request.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit d8064b46815e5e5c3c173f81d72b21c0a8949db7)

3 years agoMerge pull request #47432 from lxbsz/wip-56461
Yuri Weinstein [Thu, 25 Aug 2022 20:31:55 +0000 (13:31 -0700)]
Merge pull request #47432 from lxbsz/wip-56461

quincy: mds: skip fetching the dirfrags if not a directory

Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoMerge pull request #47058 from lxbsz/wip-56464
Yuri Weinstein [Thu, 25 Aug 2022 20:29:46 +0000 (13:29 -0700)]
Merge pull request #47058 from lxbsz/wip-56464

quincy: mds: switch to use projected inode instead

Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoMerge pull request #47806 from adk3798/quincy-rgw-bad-example
Adam King [Thu, 25 Aug 2022 16:30:11 +0000 (12:30 -0400)]
Merge pull request #47806 from adk3798/quincy-rgw-bad-example

quincy: doc/cephadm: fix example for specifying networks for rgw

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 years agoMerge pull request #47181 from lxbsz/wip-55928
Yuri Weinstein [Thu, 25 Aug 2022 15:16:45 +0000 (08:16 -0700)]
Merge pull request #47181 from lxbsz/wip-55928

quincy: mds: fix crash when exporting unlinked dir

Reviewed-by: Kotresh HR <khiremat@redhat.com>
3 years agoMerge pull request #47511 from nmshelke/wip-57057-quincy
Yuri Weinstein [Thu, 25 Aug 2022 15:14:05 +0000 (08:14 -0700)]
Merge pull request #47511 from nmshelke/wip-57057-quincy

quincy: mgr/volumes: filter internal directories in 'subvolumegroup ls' command

Reviewed-by: Kotresh HR <khiremat@redhat.com>
3 years agoMerge pull request #47584 from idryomov/wip-57107-quincy
Yuri Weinstein [Thu, 25 Aug 2022 15:12:56 +0000 (08:12 -0700)]
Merge pull request #47584 from idryomov/wip-57107-quincy

quincy: rbd: find_action() should sort actions first

Reviewed-by: Mykola Golub <mgolub@suse.com>
3 years agodoc/cephadm: fix example for specifying networks for rgw 47806/head
Adam King [Wed, 24 Aug 2022 14:36:53 +0000 (10:36 -0400)]
doc/cephadm: fix example for specifying networks for rgw

count_per_host must be used with underscores rather
than dashes to work, you need to pass service_id not
service_name and the option for the port is called
rgw_frontend_port not just "port"

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 6b6f56a5b623f68d59af8902eae5e1157f47e382)

3 years agoMerge pull request #47780 from zdover23/wip-doc-2022-08-24-backport-47751-to-quincy
zdover23 [Thu, 25 Aug 2022 12:48:34 +0000 (22:48 +1000)]
Merge pull request #47780 from zdover23/wip-doc-2022-08-24-backport-47751-to-quincy

quincy: doc/mgr: edit orchestrator.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #47789 from zdover23/wip-doc-2022-08-25-backport-47785-quincy
zdover23 [Thu, 25 Aug 2022 05:51:18 +0000 (15:51 +1000)]
Merge pull request #47789 from zdover23/wip-doc-2022-08-25-backport-47785-quincy

quincy: docs: fix doc link pointing to master in dashboard.rst

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodocs: fix doc link pointing to master in dashboard.rst 47789/head
Nizamudeen A [Wed, 24 Aug 2022 10:41:00 +0000 (16:11 +0530)]
docs: fix doc link pointing to master in dashboard.rst

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 79bbaa555307639cd10819c35c0d0c2f4cd7f0fd)

3 years agoMerge pull request #47739 from ceph/quincy-rtd3
Ilya Dryomov [Wed, 24 Aug 2022 09:03:00 +0000 (11:03 +0200)]
Merge pull request #47739 from ceph/quincy-rtd3

quincy: admin: Fix check if PR or release branch docs build

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agodoc/mgr: edit orchestrator.rst 47780/head
Zac Dover [Tue, 23 Aug 2022 06:59:04 +0000 (16:59 +1000)]
doc/mgr: edit orchestrator.rst

This PR improves the English language in the "Orchestrator CLI"
section of the MGR documentation. It adds a couple of section
headers in order to signpost the information in the document
a bit more than had already been done, but it makes no major
structural changes to the presentation of the information here.

This PR was motivated by feedback from the 2022 Ceph User Survey
in which one of the respondents wrote "better ceph orch documen-
tation".

The final section on this page, "Current Implementation Status",
must be verified by someone who is familiar with the current state
of "ceph orch" and a date stamp should be applied to the top of
the section so that the word "current" has a meaningful referent.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 2172b7ec98bacc183b0e3a22d95dc8ad80af5a8a)

3 years agoqa: test the fs volume info cmd 47768/head
Neeraj Pratap Singh [Thu, 21 Apr 2022 12:01:23 +0000 (17:31 +0530)]
qa: test the fs volume info cmd

Fixes: https://tracker.ceph.com/issues/51434
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit eaaea3bea306827a4f0b654fd26bb9f87fd73a92)

3 years agodoc: documenting volume info command.
Neeraj Pratap Singh [Fri, 22 Apr 2022 06:43:04 +0000 (12:13 +0530)]
doc: documenting volume info command.

Fixes: https://tracker.ceph.com/issues/51434
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit 65a18142fbe847f1eac1179d5a97afb8f9ae208d)

3 years agomgr/volumes: Adding fs volume info command
Neeraj Pratap Singh [Mon, 18 Apr 2022 10:44:47 +0000 (16:14 +0530)]
mgr/volumes: Adding fs volume info command

Fixes: https://tracker.ceph.com/issues/51434
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit bf111a783e82d847651a54013ae2faab2a213eda)

3 years agoMerge pull request #47703 from rhcs-dashboard/wip-55467-quincy
Nizamudeen A [Tue, 23 Aug 2022 07:04:05 +0000 (12:34 +0530)]
Merge pull request #47703 from rhcs-dashboard/wip-55467-quincy

quincy: mgr/dashboard: grafana frontend e2e testing and update cypress

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 years agofuse_ll: fix compile error when libfuse version is larger than 3.0 46948/head
Xiubo Li [Sat, 9 Jul 2022 00:48:40 +0000 (08:48 +0800)]
fuse_ll: fix compile error when libfuse version is larger than 3.0

Fixes: https://tracker.ceph.com/issues/56517
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 2f3f9d36afc891d55b1e4f13ca212c5aa040ee31)

3 years agoceph-fuse: add dedicated snap stag map for each directory
Xiubo Li [Wed, 6 Apr 2022 00:12:26 +0000 (08:12 +0800)]
ceph-fuse: add dedicated snap stag map for each directory

This will fix the fino colliding bug, which is caused when the
snapid is later than 0xffff.

From mds 'mds_max_snaps_per_dir' option, we can see that the max
snapshots for each directory is 4_K, and in ceph-fuse we have
around 64_K, which is from 0xffff - 2, stags could be used to make
the fake fuse inode numbers for each directory.

Fixes: https://tracker.ceph.com/issues/54653
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 7e4424a821f1f0162cc1f2bfddb1eb501e321702)

3 years agoceph-fuse: return EINVAL if get invalid fino instead of assert
Xiubo Li [Thu, 24 Mar 2022 02:01:57 +0000 (10:01 +0800)]
ceph-fuse: return EINVAL if get invalid fino instead of assert

All the snap ids of the finos returned to libfuse from libcephfs
will be recorded in the map of 'stag_snap_map', and will never be
erased before unmounting. So if libfuse passes invalid fino the
ceph-fuse should return EINVAL errno instead of crash itself.

Fixes: https://tracker.ceph.com/issues/54653
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit a6e83d8dece53d11d0753f4843a6235eb1bb9834)

3 years agoceph-fuse: reserve stag number 1 for snapdirs
Xiubo Li [Wed, 23 Mar 2022 06:30:07 +0000 (14:30 +0800)]
ceph-fuse: reserve stag number 1 for snapdirs

There have two stags will be reserved, 0 for CEPH_NOSNAP and 1 for
CPEH_SNAPDIR.

This will always make sure that for the nonsnap and snapdir inode
numbers to be consistent for all the ceph-fuse mounts.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 2349083a9d3f503dbe48fb1bdc3a88c881ed11a9)

3 years agomds-client: make the fake inos option unchangeable in runtime
Xiubo Li [Wed, 23 Mar 2022 02:05:32 +0000 (10:05 +0800)]
mds-client: make the fake inos option unchangeable in runtime

If the flags is empty then in option.h in can_update_at_runtime()
it will return true. That means this opetion could be changed in
runtime, which is buggy. Because if this is false, ceph-fuse will
use its own fake inos instead of libcephfs'. If this is changed
during runtime, we will hit inos dosn't exist assert bugs.

Fixes: https://tracker.ceph.com/issues/54653
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 28d17ff81a93d5442d2107abbd51296ac822073a)

3 years agomgr/volumes: drop pre-python 3.2 version checks 47747/head
John Mulligan [Tue, 2 Aug 2022 13:45:59 +0000 (09:45 -0400)]
mgr/volumes: drop pre-python 3.2 version checks

Based on other conversations we believe that there is no need to support
python versions lower than Python 3.6 for pacific and later.  This means
it is safe to drop the remaining version checks for python
3.2.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 47162e4996a511d399809516a4890d72e6f84a44)

3 years agomgr/volumes: a lock to guard against races reading/writing config
John Mulligan [Mon, 11 Jul 2022 20:44:00 +0000 (16:44 -0400)]
mgr/volumes: a lock to guard against races reading/writing config

Fixes: https://tracker.ceph.com/issues/55583
Use a python threading lock to avoid race conditions where the
config file is being both read and written to at the same time.

Before this change, the content of the config file being parsed could be
'corrupted' by the MetadataManager racing with itself.  Along with the
previous two patches, additional logging was added to the mgr code to
produce the simplified version of the mgr log below:

```
[volumes INFO volumes.fs.operations.versions.metadata_manager] READ: b'[GLOBAL]\nversion = 2\ntype = clone\npath = /volumes/Park/babydino2/c9f773af-5221-49c6-846c-d65c0920ae3f\nstate = pending\n\n[source]\nvolume = cephfs\ngroup = Park\nsubvolume = Jurrasic\nsnapshot = dinodna0\n\n'
[volumes INFO volumes.fs.operations.versions.metadata_manager] READ: b''
[volumes INFO volumes.fs.operations.versions.metadata_manager] READ: b'[GLOBAL]\nversion = 2\ntype = clone\npath = /volumes/Park/babydino2/c9f773af-5221-49c6-846c-d65c0920ae3f\nstate = pending\n\n[source]\nvolume = cephfs\ngroup = Park\nsubvolume = Jurrasic\nsnapshot = dinodna0\n\n'
[volumes INFO volumes.fs.operations.versions.metadata_manager] wrote 203 bytes to config b'/volumes/Park/babydino2/.meta'
[volumes INFO volumes.fs.operations.versions.metadata_manager] READ: b'a0\n\n'
[volumes INFO volumes.fs.operations.versions.metadata_manager] READ: b''
[volumes ERROR volumes.module] Failed _cmd_fs_clone_cancel(clone_name:babydino2, format:json, group_name:Park, prefix:fs clone cancel, vol_name:cephfs) < "":
Traceback (most recent call last):
  ...
  File "/usr/lib64/python3.6/configparser.py", line 1111, in _read
    raise e
configparser.ParsingError: Source contains parsing errors: b'/volumes/Park/babydino2/.meta'
[line 13]: 'a0\n'
```

Looking at the above you can see that the log indicates a write to the
config file (of 203 bytes). This happens before the file has finished
reading and thus instead of getting an empty string indicating EOF, it
gets that last four bytes of the new content of the file. The lock
prevents the MetadataManager from both reading and writing the config
file at the same time.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 2fe83d72d94d1e0939d390554a833cd93b4dd965)

3 years agomgr/volumes: write volume metadata with shim class
John Mulligan [Tue, 12 Jul 2022 22:33:07 +0000 (18:33 -0400)]
mgr/volumes: write volume metadata with shim class

Add a class that works a bit like a python file object so that we
can simplify the flush function. Providing a file-like object to
the ConfigParser's write function avoids unnecessary copies to
a StringIO object and makes the code easier to read.

With no more uses of StringIO, the StringIO imports are removed.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d06d8a1f5255b5da9106cd70acc0de99f89d2b96)

3 years agomgr/volumes: read volume metadata file using read_string
John Mulligan [Tue, 12 Jul 2022 22:32:54 +0000 (18:32 -0400)]
mgr/volumes: read volume metadata file using read_string

The read_string method, available in Python 3.2 (we assume Python 3.6 as
our current minimum python versino), supports parsing a provided string
for ini-style configuration parameters. Refactoring the reading of the
config file from cephfs into a simple iterator function and then
providing it to the ConfigParser as a single string, allows us to avoid
using StringIO and  simplifies the refresh function.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit dc1b4aac90beb82fd994ad7fa8ccf3b72b9936ac)

3 years agoMerge pull request #47519 from kamoltat/wip-ksirivad-backport-quincy-46242
Yuri Weinstein [Mon, 22 Aug 2022 20:47:54 +0000 (13:47 -0700)]
Merge pull request #47519 from kamoltat/wip-ksirivad-backport-quincy-46242

quincy:pybind/mgr/pg_autoscaler: change overlapping roots to warning

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #47493 from petrutlucian94/wip-57054-quincy
Yuri Weinstein [Mon, 22 Aug 2022 20:47:02 +0000 (13:47 -0700)]
Merge pull request #47493 from petrutlucian94/wip-57054-quincy

quincy: common: use boost::shared_mutex on Windows

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
3 years agoMerge pull request #47171 from adk3798/quincy-loki-support
Yuri Weinstein [Mon, 22 Aug 2022 20:45:56 +0000 (13:45 -0700)]
Merge pull request #47171 from adk3798/quincy-loki-support

quincy: mgr/cephadm: fix the loki address in grafana, promtail configuration files

Reviewed-by: Teoman Onay <tonay@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #47110 from kotreshhr/wip-56526-quincy
Yuri Weinstein [Mon, 22 Aug 2022 20:42:14 +0000 (13:42 -0700)]
Merge pull request #47110 from kotreshhr/wip-56526-quincy

quincy: mds: Don't blocklist clients in any replay state

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
3 years agoadmin: Fix check if PR or release branch docs build 47739/head
David Galloway [Mon, 22 Aug 2022 20:29:01 +0000 (16:29 -0400)]
admin: Fix check if PR or release branch docs build

Uses built-in RTD vars.  https://docs.readthedocs.io/en/stable/environment-variables.html.

Follow up to https://github.com/ceph/ceph/pull/46917#discussion_r942359130.

Signed-off-by: David Galloway <dgallowa@redhat.com>
(cherry picked from commit f92133ca527b5608b7ba8b79396568b03fa686b3)

3 years agomgr/snap_schedule: add time zone suffix to snapshot dir name 47734/head
Milind Changire [Sat, 9 Apr 2022 03:03:22 +0000 (08:33 +0530)]
mgr/snap_schedule: add time zone suffix to snapshot dir name

Fixes: https://tracker.ceph.com/issues/54374
Signed-off-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 24c13e53dec46656ab92b6c30f5c20eb81a1c11f)

3 years agomgr/dashboard: update cypress to 9.7.0 47703/head
Nizamudeen A [Mon, 27 Jun 2022 11:58:14 +0000 (17:28 +0530)]
mgr/dashboard: update cypress to 9.7.0

Fixes: https://tracker.ceph.com/issues/56426
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 4e17dd149cc272e670a2ff745a2bb976b361b6f5)

3 years agomgr/dashboard: prometheus rules internal server error
Nizamudeen A [Tue, 26 Apr 2022 10:19:09 +0000 (15:49 +0530)]
mgr/dashboard: prometheus rules internal server error

After we increase/decrease the count of the node-exporter, we get a 500
- Internal server error from api/prometheus/rules endpoint. On further
  debugging its caused by the jsonDecodder, because I guess the expected
input for the json.loads() is not a json formatted input. So to fix
that issue I can either do an error handling on the json.loads() or I
can move the json.loads() on the already existing try block. I went for
the second approach here.

Fixes: https://tracker.ceph.com/issues/54356
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 672e27cbd2d66f87afa5e9e33537f333eadfb243)

3 years agoqa: filter internal directories in 'subvolumegroup ls' command 47511/head
Nikhilkumar Shelke [Fri, 1 Jul 2022 12:13:40 +0000 (17:43 +0530)]
qa: filter internal directories in 'subvolumegroup ls' command

Internal directories: '_nogroup', '_index', '_legacy', '_deleting'
1. Internal directories should be filtered in 'subvolmegroup ls' command.
2. Internal directories should not be accepted as a group name.

Fixes: https://tracker.ceph.com/issues/55762
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
(cherry picked from commit 7b585d4db921112edeea3c879cb8bca0200c1b71)

3 years agomgr/volumes: filter internal directories in 'subvolumegroup ls' command
Nikhilkumar Shelke [Wed, 22 Jun 2022 09:55:23 +0000 (15:25 +0530)]
mgr/volumes: filter internal directories in 'subvolumegroup ls' command

Internal directories: '_nogroup', '_index', '_legacy', '_deleting'
1. Internal directories should be filtered in 'subvolmegroup ls' command.
2. Internal directories should not be accepted as a group name.

Fixes: https://tracker.ceph.com/issues/55762
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
(cherry picked from commit ce3fa7f1bcd9ca8a9e9e80ca33a15d0746ce7110)

3 years agoqa: test the correctness of snap dir name
Neeraj Pratap Singh [Wed, 20 Apr 2022 12:54:22 +0000 (18:24 +0530)]
qa: test the correctness of snap dir name

Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit 9fb85b02f3ffe42661f09c2321fff88d014d0a2d)

3 years agomgr/snap_schedule: replace .snap with the client configured snap dirname
Neeraj Pratap Singh [Wed, 20 Apr 2022 12:52:46 +0000 (18:22 +0530)]
mgr/snap_schedule: replace .snap with the client configured snap dirname

Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit 38bf0ab262807af45a961f5e55cb9686bbe18864)

3 years agomgr/dashboard: Hide maintenance option on expand cluster 47724/head
Nizamudeen A [Wed, 15 Jun 2022 18:52:12 +0000 (00:22 +0530)]
mgr/dashboard: Hide maintenance option on expand cluster

Fixes: https://tracker.ceph.com/issues/56070
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit d66bfe04b8e56e3fe1019ba78e1f4b250458ce71)

3 years agoMerge pull request #47381 from NitzanMordhai/wip-55157-quincy
Yuri Weinstein [Fri, 19 Aug 2022 23:24:30 +0000 (16:24 -0700)]
Merge pull request #47381 from NitzanMordhai/wip-55157-quincy

quincy: mon/ConfigMonitor: fix config get key with whitespace

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #46494 from lxbsz/wip-55756
Yuri Weinstein [Fri, 19 Aug 2022 16:40:52 +0000 (09:40 -0700)]
Merge pull request #46494 from lxbsz/wip-55756

Quincy: mds: flush mdlog if locked and still has wanted caps not satisfied

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
3 years agoMerge pull request #46899 from dparmar18/wip-56111-quincy
Yuri Weinstein [Fri, 19 Aug 2022 14:58:47 +0000 (07:58 -0700)]
Merge pull request #46899 from dparmar18/wip-56111-quincy

quincy: qa/cephfs: fallback to older way of get_op_read_count

Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
3 years agoMerge pull request #46495 from lxbsz/wip-55736
Yuri Weinstein [Fri, 19 Aug 2022 14:50:55 +0000 (07:50 -0700)]
Merge pull request #46495 from lxbsz/wip-55736

quincy: client: do not release the global snaprealm until unmounting

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
3 years agomgr/dashboard: introduce grafana frontend e2e testing
Nizamudeen A [Thu, 7 Apr 2022 13:31:39 +0000 (19:01 +0530)]
mgr/dashboard: introduce grafana frontend e2e testing

Used the https://www.npmjs.com/package/@grafana/e2e npm packages and
followed
https://github.com/grafana/grafana/blob/main/contribute/style-guides/e2e.md
to understand the style of the grafana e2e testing.

In this PR I introduces the tests for the Hosts Overall
Performance and also RGW per Daemon and Overall Performance

Fixes: https://tracker.ceph.com/issues/54356
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 3d477a39bbf2d27117fb3b35aa5e394938d3aa33)

 Conflicts:
src/pybind/mgr/dashboard/frontend/package-lock.json
  - generated a new one

3 years agoosd, kv: add debugs along the pg_log_t::dups paths. 47688/head
Radoslaw Zarzynski [Mon, 11 Jul 2022 14:30:34 +0000 (14:30 +0000)]
osd, kv: add debugs along the pg_log_t::dups paths.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 0a986bff372f81e7ea8e015754bb0342c4edfa87)

3 years agoosd: write_log_and_missing variants of PGLog take DoutPrefixProvider
Radoslaw Zarzynski [Mon, 11 Jul 2022 16:39:59 +0000 (16:39 +0000)]
osd: write_log_and_missing variants of PGLog take DoutPrefixProvider

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit ff8dccda951db39fd9b669e167b4366fb26323c0)

3 years agoosd: warn about too many dups when loading PGLog
Radoslaw Zarzynski [Mon, 11 Jul 2022 14:08:32 +0000 (14:08 +0000)]
osd: warn about too many dups when loading PGLog

Fixes: https://tracker.ceph.com/issues/53729
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 7376caac965d303d8ee92de6f663405e4f96fe4c)