]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agomgr/dashboard: move cephadm e2e cleanup to jenkins job config 52389/head
Nizamudeen A [Fri, 7 Jul 2023 10:46:00 +0000 (16:16 +0530)]
mgr/dashboard: move cephadm e2e cleanup to jenkins job config

Follows: https://github.com/ceph/ceph-build/pull/2145

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

2 years agoMerge pull request #52117 from cbodley/wip-61730-pacific
Yuri Weinstein [Wed, 5 Jul 2023 21:42:41 +0000 (17:42 -0400)]
Merge pull request #52117 from cbodley/wip-61730-pacific

pacific: librados: aio operate functions can set times

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #51803 from NitzanMordhai/wip-61448-pacific
Yuri Weinstein [Wed, 5 Jul 2023 21:41:59 +0000 (17:41 -0400)]
Merge pull request #51803 from NitzanMordhai/wip-61448-pacific

pacific: test: correct osd pool default size

Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
2 years agoMerge pull request #51799 from NitzanMordhai/wip-61450-pacific
Yuri Weinstein [Wed, 5 Jul 2023 21:41:23 +0000 (17:41 -0400)]
Merge pull request #51799 from NitzanMordhai/wip-61450-pacific

pacific: test: monitor thrasher wait until quorum

Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
2 years agoMerge pull request #51604 from Svelar/pacific-vstart-mgr-status
Yuri Weinstein [Wed, 5 Jul 2023 21:40:47 +0000 (17:40 -0400)]
Merge pull request #51604 from Svelar/pacific-vstart-mgr-status

pacific: vstart: check mgr status after starting mgr

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #51316 from rosinL/wip-backport-42082-to-pacific
Yuri Weinstein [Wed, 5 Jul 2023 21:38:19 +0000 (17:38 -0400)]
Merge pull request #51316 from rosinL/wip-backport-42082-to-pacific

pacific: common: Use double instead of long double to improve performance

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #51315 from rosinL/wip-backport-41393-to-pacific
Yuri Weinstein [Wed, 5 Jul 2023 21:36:40 +0000 (17:36 -0400)]
Merge pull request #51315 from rosinL/wip-backport-41393-to-pacific

pacific: common/crc32c_aarch64: fix crc32c unittest failed on aarch64

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #51254 from k0ste/wip-52892-pacific
Yuri Weinstein [Wed, 5 Jul 2023 21:35:43 +0000 (17:35 -0400)]
Merge pull request #51254 from k0ste/wip-52892-pacific

pacific: tools/ceph-kvstore-tool: fix segfaults when repair the rocksdb

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2 years agoMerge pull request #50980 from batrick/i59296
Yuri Weinstein [Wed, 5 Jul 2023 21:35:04 +0000 (17:35 -0400)]
Merge pull request #50980 from batrick/i59296

pacific: MgrMonitor: batch commit OSDMap and MgrMap mutations

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #52133 from rzarzynski/wip-61740-pacific
Radoslaw Zarzynski [Wed, 5 Jul 2023 18:20:35 +0000 (20:20 +0200)]
Merge pull request #52133 from rzarzynski/wip-61740-pacific

pacific: mon/MonClient: before complete auth with error, reopen session

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agotest/librados: test ability to set mtimes with aio_operate 52117/head
Casey Bodley [Tue, 23 May 2023 17:53:32 +0000 (13:53 -0400)]
test/librados: test ability to set mtimes with aio_operate

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit ec2923453766ddfee2b3dd330610179022b7d3cb)

Conflicts:
src/test/librados/aio.cc:
  removed test case for rados_aio_write_op_operate2()
which wasn't backported
  test case for rados_aio_write_op_operate() uses rados_stat()
instead of rados_stat2() which doesn't exist on pacific
  no test_data.m_oid, used "foo" for oids

2 years agoMerge pull request #51950 from rhcs-dashboard/wip-61280-pacific
Nizamudeen A [Fri, 23 Jun 2023 08:44:02 +0000 (14:14 +0530)]
Merge pull request #51950 from rhcs-dashboard/wip-61280-pacific

pacific: mgr/dashboard: SSO error: AttributeError: 'str' object has no attribute 'decode'

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2 years agoMerge pull request #52048 from trociny/wip-61301-pacific
Yuri Weinstein [Wed, 21 Jun 2023 15:41:41 +0000 (11:41 -0400)]
Merge pull request #52048 from trociny/wip-61301-pacific

pacific: qa/rgw: add POOL_APP_NOT_ENABLED to log-ignorelist

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #51836 from cbodley/wip-61513
Yuri Weinstein [Wed, 21 Jun 2023 14:25:58 +0000 (10:25 -0400)]
Merge pull request #51836 from cbodley/wip-61513

pacific: radosgw-admin: try reshard even if bucket is resharding

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agomon/MonClient: before complete auth with error, reopen session 52133/head
Nitzan Mordechai [Wed, 10 May 2023 09:42:07 +0000 (09:42 +0000)]
mon/MonClient: before complete auth with error, reopen session
When monClient try to authenticate and fail with -EAGAIN there is
a possibility that we no longer hunting and not have active_con.
that will result of disconnecting the monClient and ticks will continue
without having open session.
the solution is to check at the end of auth, that we don't have -EAGAIN
error, and if we do, reopen the session and on the next tick try auth again

Fixes: https://tracker.ceph.com/issues/58379
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit f8dad00f07f52d58d8ec67083e8bf568deec3277)

2 years agoMerge pull request #51876 from idryomov/wip-61382-pacific
Yuri Weinstein [Mon, 19 Jun 2023 20:14:05 +0000 (16:14 -0400)]
Merge pull request #51876 from idryomov/wip-61382-pacific

pacific: osd/OSDCap: allow rbd.metadata_list method under rbd-read-only profile

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #52017 from ljflores/wip-61604-pacific
Laura Flores [Mon, 19 Jun 2023 20:01:23 +0000 (15:01 -0500)]
Merge pull request #52017 from ljflores/wip-61604-pacific

pacific: qa/suites/rados: remove rook coverage from the rados suite

2 years agolibrados: rados_write_op_operate() uses ObjectOperationImpl for mtime
Casey Bodley [Tue, 23 May 2023 16:56:34 +0000 (12:56 -0400)]
librados: rados_write_op_operate() uses ObjectOperationImpl for mtime

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b888821da72de1b02e06693b3e693aab7bc90ad7)

2 years agolibrados: rados_aio_write_op_operate() propagates mtime
Casey Bodley [Tue, 23 May 2023 16:56:03 +0000 (12:56 -0400)]
librados: rados_aio_write_op_operate() propagates mtime

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 0bfb144ee64fe9ecd3f27cf94fca832e3ab3b39b)

2 years agolibrados: use ObjectOperationImpl for rados_write_op_t
Casey Bodley [Tue, 23 May 2023 16:31:54 +0000 (12:31 -0400)]
librados: use ObjectOperationImpl for rados_write_op_t

the c++ api uses ObjectOperationImpl to wrap ObjectOperation with
additional storage for an optional mtime. the c api now reuses
ObjectOperationImpl for its write operations only - the mtime isn't
needed for read ops

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4c8f694741b5d4ba38e934f90e91ff269da96e2a)

2 years agolibrados: aio_operate() supports ObjectWriteOperation::mtime2()
Casey Bodley [Mon, 22 May 2023 21:36:43 +0000 (17:36 -0400)]
librados: aio_operate() supports ObjectWriteOperation::mtime2()

copy the optional mtime logic from operate(), so that mtimes set on the
ObjectOperation are propagated through aio_operate() as well

Fixes: https://tracker.ceph.com/issues/61349
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit cdf54ff1ca5ab95ee0559329b0820a1686d21c54)

2 years agoMerge pull request #51431 from chrisphoffman/wip-59710-pacific
Ilya Dryomov [Fri, 16 Jun 2023 09:23:38 +0000 (11:23 +0200)]
Merge pull request #51431 from chrisphoffman/wip-59710-pacific

pacific: librbd: localize snap_remove op for mirror snapshots

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agolibrbd: localize snap_remove op for mirror snapshots 51431/head
Christopher Hoffman [Wed, 19 Apr 2023 15:26:27 +0000 (15:26 +0000)]
librbd: localize snap_remove op for mirror snapshots

A client may attempt a lock request not quickly enough to
obtain exclusive lock for operations when another competing
client responds quicker. This can happen when a peer site has
different performance characteristics or latency. Instead of
relying on this unpredictable behavior, localize operation to
primary cluster.

Fixes: https://tracker.ceph.com/issues/59393
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
(cherry picked from commit ac552c9b4d65198db8038d397a3060d5a030917d)

Conflicts:
src/cls/rbd/cls_rbd.cc [ commit 3a93b40 ("librbd:
  s/boost::variant/std::variant/") not in pacific ]
src/librbd/mirror/snapshot/UnlinkPeerRequest.cc [ ditto ]

2 years agoMerge pull request #51856 from petrutlucian94/wip-61525-pacific
Yuri Weinstein [Thu, 15 Jun 2023 19:38:23 +0000 (15:38 -0400)]
Merge pull request #51856 from petrutlucian94/wip-61525-pacific

pacific: librbd: avoid decrementing iterator before first element

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #51778 from idryomov/wip-61368-pacific
Yuri Weinstein [Thu, 15 Jun 2023 19:37:47 +0000 (15:37 -0400)]
Merge pull request #51778 from idryomov/wip-61368-pacific

pacific: tools/ceph-dencoder: Fix incorrect type define for trash_watcher

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agoMerge pull request #51429 from chrisphoffman/wip-59506-pacific
Yuri Weinstein [Thu, 15 Jun 2023 19:34:46 +0000 (15:34 -0400)]
Merge pull request #51429 from chrisphoffman/wip-59506-pacific

pacific: librbd: remove previous incomplete primary snapshot after successfully creating a new one

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoqa/rgw: add POOL_APP_NOT_ENABLED to log-ignorelist 52048/head
Casey Bodley [Mon, 15 May 2023 18:26:48 +0000 (14:26 -0400)]
qa/rgw: add POOL_APP_NOT_ENABLED to log-ignorelist

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit f0d53e56f8d05090a5f429c8826ca552e0140798)

Conflicts:
qa/rgw/ignore-pg-availability.yaml (trivial)

2 years agoqa/suites/rados: remove rook coverage from the rados suite 52017/head
Laura Flores [Mon, 5 Jun 2023 20:23:42 +0000 (15:23 -0500)]
qa/suites/rados: remove rook coverage from the rados suite

The rook team relies on a daily CI system to validate
rook changes. It doesn't seem that the teuthology tests
are maintained, so it makes sense to remove them from the
rados suite.

By removing this symlink, rook test coverage will remain
in the orch suite, and coverage will only be removed from the
rados suite.

Workaround for: https://tracker.ceph.com/issues/58585
Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit c26674ef4c6cbbdd94c54cafbd66e98704f044d7)

2 years agomgr/dashboard: SSO error: AttributeError: 'str' object has no attribute 'decode' 51950/head
Volker Theile [Tue, 9 May 2023 13:19:42 +0000 (15:19 +0200)]
mgr/dashboard: SSO error: AttributeError: 'str' object has no attribute 'decode'

The token is `str` in PyJWT >= 2 and Python3. Check `controllers/auth.py` where the same code is used.

Fixes: https://tracker.ceph.com/issues/59689
References: https://github.com/SUSE/ceph/pull/506

Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 0fc6e7637657a96acfb0aa01dde6b3fbd81a136d)

2 years agoMerge pull request #51882 from adk3798/pacific-no-log-to-journald
zdover23 [Fri, 2 Jun 2023 03:04:11 +0000 (11:04 +0800)]
Merge pull request #51882 from adk3798/pacific-no-log-to-journald

pacific: doc/cephadm: Revert "doc/cephadm: update about disabling logging to journald for quincy"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/cephadm: Revert "doc/cephadm: update about disabling logging to journald for... 51882/head
Adam King [Fri, 2 Jun 2023 00:47:35 +0000 (20:47 -0400)]
doc/cephadm: Revert "doc/cephadm: update about disabling logging to journald for quincy"

This reverts commit bdb2241ca5a9758e8c52d47320d8b5ea0766aea9.

This commit https://github.com/ceph/ceph/commit/bdb2241ca5a9758e8c52d47320d8b5ea0766aea9
was updating on logging changes in quincy, but seems to have been
erroneously included in a pacific batch backport https://github.com/ceph/ceph/pull/42736

This stuff doesn't work in pacific. For example,

[ceph: root@vm-00 /]# ceph version
ceph version 16.2.13-257-gd8c5d349 (d8c5d34975dce1c5eb0aa3a7979a4d9b9a99d1ec) pacific (stable)
[ceph: root@vm-00 /]# ceph config set global log_to_journald false
Error EINVAL: unrecognized config option 'log_to_journald'

so we shouldn't have it in the pacific docs

Signed-off-by: Adam King <adking@redhat.com>
2 years agoosd/OSDCap: allow rbd.metadata_list method under rbd-read-only profile 51876/head
Ilya Dryomov [Sat, 27 May 2023 10:28:40 +0000 (12:28 +0200)]
osd/OSDCap: allow rbd.metadata_list method under rbd-read-only profile

This was missed in commit acc447d5de7b ("osd/OSDCap: rbd profile
permits use of rbd.metadata_list cls method") which adjusted only
"profile rbd" OSD cap.  Listing image metadata is an essential part
of opening the image and "profile rbd-read-only" OSD cap must allow
it too.

While at it, constrain the existing grant for rbd profile from "any
object in the pool" to just "rbd_info object in the global namespace of
the pool" as this is where pool-level image metadata actually lives.

Fixes: https://tracker.ceph.com/issues/61382
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b580cdad8d42b4e54fd9e4ef9def13d091f719e9)

2 years agolibrbd: avoid decrementing iterator before first element 51856/head
Lucian Petrut [Thu, 27 Apr 2023 12:44:51 +0000 (12:44 +0000)]
librbd: avoid decrementing iterator before first element

While trying to merge delayed requests, SimpleSchedulerObjectDispatch
can end up iterating before the first element.

With llvm, this leads to a crash:
https://paste.opendev.org/raw/bxnQqqDtIrkOfVvRfkZ6/

This change adds a check, ensuring that we won't decrement the iterator
before the first map element.

Fixes: https://tracker.ceph.com/issues/61503
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit ca65e85575f7b35ce679309e92e0c9bee8d6b96a)

2 years agoMerge pull request #51826 from zdover23/wip-doc-2023-05-30-backport-51798-to-pacific
zdover23 [Tue, 30 May 2023 23:03:34 +0000 (07:03 +0800)]
Merge pull request #51826 from zdover23/wip-doc-2023-05-30-backport-51798-to-pacific

pacific: doc/rados: edit balancer.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoradosgw-admin: try reshard even if bucket is resharding 51836/head
Casey Bodley [Mon, 1 Feb 2021 17:02:44 +0000 (12:02 -0500)]
radosgw-admin: try reshard even if bucket is resharding

allow reshard in case a previous reshard failed. if the reshard is
actually still in progress, we'll fail to get the reshard lock

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 122da8f14a1dae247a5f2f62a3a6e219a9c9de8f)

Conflicts:
src/rgw/rgw_admin.cc  no rgw::current_num_shards()

2 years agodoc/rados: edit balancer.rst 51826/head
Zac Dover [Mon, 29 May 2023 01:18:00 +0000 (09:18 +0800)]
doc/rados: edit balancer.rst

Edit doc/rados/operations/balancer.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d3660aa20d737729dac708264ceed37560362f91)

2 years agotest: correct osd pool default size 51803/head
Nitzan Mordechai [Wed, 17 May 2023 05:47:09 +0000 (05:47 +0000)]
test: correct osd pool default size
Using the default pool size of 2 with random eio thrashing can cause
some of the object to mark as lost.
fixing typo from 'osd default pool size: 3' to 'osd pool default size: 3'
so we will have pool size 3 correctly.

Fixes: https://tracker.ceph.com/issues/49888
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit c9d98ec31020cc455ba9e40e1c817c8207019ecf)

2 years agotest: monitor thrasher wait until quorum 51799/head
Nitzan Mordechai [Thu, 18 May 2023 13:37:38 +0000 (13:37 +0000)]
test: monitor thrasher wait until quorum
With 1 sec. delay we may sometimes fail to get correct length of
quorum since the monitor didn't updated on time.
With the following fix, we will wait for quorum and check every few
seconds (3) until timeout (30).

Fixes: https://tracker.ceph.com/issues/52316
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit fbd10badbfad71f208de6b48008a20963d375ae9)

2 years agoMerge pull request #51795 from zdover23/wip-doc-2023-05-28-backport-51587-to-pacific...
zdover23 [Sun, 28 May 2023 05:11:57 +0000 (13:11 +0800)]
Merge pull request #51795 from zdover23/wip-doc-2023-05-28-backport-51587-to-pacific-second-attempt

doc/rados: edit bluestore-config-ref.rst (2 of x)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/rados: edit bluestore-config-ref.rst (2 of x) 51795/head
Zac Dover [Fri, 26 May 2023 18:44:18 +0000 (04:44 +1000)]
doc/rados: edit bluestore-config-ref.rst (2 of x)

Edit the second part of doc/rados/configuration/bluestore-config-ref.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthoy D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 1ceeab30ebde767aaf675fe46e79b9b7d28b881a)

2 years agoMerge pull request #51791 from zdover23/wip-doc-2023-05-27-backport-51771-to-pacific
zdover23 [Sun, 28 May 2023 02:23:04 +0000 (12:23 +1000)]
Merge pull request #51791 from zdover23/wip-doc-2023-05-27-backport-51771-to-pacific

pacific: doc/rados: edit bluestore-config-ref.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit bluestore-config-ref.rst (1 of x) 51791/head
Zac Dover [Fri, 26 May 2023 08:59:36 +0000 (18:59 +1000)]
doc/rados: edit bluestore-config-ref.rst (1 of x)

Edit the first part of doc/rados/configuration/bluestore-config-ref.rst.

https://tracker.ceph.com/issues/58485

Confval directives have been removed from this backport, because they do
not build in the Pacific release branch.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 3879e4ad417dddef1247521c199925a679d490ac)

2 years agoMerge pull request #51647 from adk3798/pacific-prom-ret-size
Adam King [Fri, 26 May 2023 21:07:55 +0000 (17:07 -0400)]
Merge pull request #51647 from adk3798/pacific-prom-ret-size

pacific: mgr/cephadm: Adding --storage.tsdb.retention.size prometheus option

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agotools/ceph-dencoder: Fix incorrect type define for trash_watcher 51778/head
Chen Yuanrun [Thu, 25 May 2023 08:28:10 +0000 (08:28 +0000)]
tools/ceph-dencoder: Fix incorrect type define for trash_watcher

Signed-off-by: Chen Yuanrun <chen-yuanrun@foxmail.com>
Fixes: https://tracker.ceph.com/issues/61368
(cherry picked from commit e10bcb6905b7e4da4b3a04307d3a2b546da6d5b1)

2 years agomgr/cephadm: Adding --storage.tsdb.retention.size prometheus option 51647/head
Redouane Kachach [Wed, 7 Sep 2022 12:51:10 +0000 (14:51 +0200)]
mgr/cephadm: Adding --storage.tsdb.retention.size prometheus option
fixes: https://tracker.ceph.com/issues/57422

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

Conflicts:
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/services/monitoring.py
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/cephadm/tests/test_services.py

2 years agoMerge pull request #51517 from adk3798/pacific-custom-config
Adam King [Thu, 25 May 2023 14:28:57 +0000 (10:28 -0400)]
Merge pull request #51517 from adk3798/pacific-custom-config

pacific: mgr/cephadm: support for miscellaneous config files for daemons

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #51757 from zdover23/wip-doc-2023-05-25-backport-51754-to-pacific
Anthony D'Atri [Thu, 25 May 2023 11:21:21 +0000 (07:21 -0400)]
Merge pull request #51757 from zdover23/wip-doc-2023-05-25-backport-51754-to-pacific

pacific: doc/rados: fix link in common.rst

2 years agodoc/rados: fix link in common.rst 51757/head
Zac Dover [Thu, 25 May 2023 09:01:49 +0000 (19:01 +1000)]
doc/rados: fix link in common.rst

Fix a link in doc/rados/configuration/common.rst that was missing its
final letter, causing a 404 error when readers attempted to follow it.

This bug was reported by stalwart friend of the Ceph documentation
project Eugen Block, who is here credited as a co-author. This bug was
reported at https://pad.ceph.com/p/Report_Documentation_Bugs.

Co-authored-by: Eugen Block <eblock@nde.ag>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8128ce20fef3d75c6251691d10af21861c01e155)

2 years agoMerge pull request #51753 from zdover23/wip-doc-2023-05-25-backport-51745-to-pacific
Anthony D'Atri [Thu, 25 May 2023 10:02:21 +0000 (06:02 -0400)]
Merge pull request #51753 from zdover23/wip-doc-2023-05-25-backport-51745-to-pacific

pacific: doc/rados: edit filestore-config-ref.rst

2 years agodoc/rados: edit filestore-config-ref.rst 51753/head
Zac Dover [Thu, 25 May 2023 00:16:51 +0000 (10:16 +1000)]
doc/rados: edit filestore-config-ref.rst

Edit doc/rados/configuration/filestore-config-ref.rst.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 1202e4207bc182d83f193adb1557359d52687103)

2 years agoMerge pull request #51075 from aaSharma14/wip-59446-pacific
Nizamudeen A [Thu, 25 May 2023 07:26:29 +0000 (12:56 +0530)]
Merge pull request #51075 from aaSharma14/wip-59446-pacific

pacific: mgr/dashboard: Fix rbd snapshot creation

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #51113 from rhcs-dashboard/wip-59460-pacific
Nizamudeen A [Thu, 25 May 2023 05:23:24 +0000 (10:53 +0530)]
Merge pull request #51113 from rhcs-dashboard/wip-59460-pacific

pacific: mgr/dashboard: expose more grafana configs in service form

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agoMerge pull request #51741 from zdover23/wip-doc-2023-05-25-backport-50858-to-pacific
Anthony D'Atri [Thu, 25 May 2023 02:14:41 +0000 (22:14 -0400)]
Merge pull request #51741 from zdover23/wip-doc-2023-05-25-backport-50858-to-pacific

pacific: doc/rados/operations: Acting Set question

2 years agoMerge pull request #51744 from zdover23/wip-doc-2023-05-25-backport-51730-to-pacific
Anthony D'Atri [Thu, 25 May 2023 02:13:05 +0000 (22:13 -0400)]
Merge pull request #51744 from zdover23/wip-doc-2023-05-25-backport-51730-to-pacific

pacific: doc/rados/operations: Fix erasure-code-jerasure.rst fix

2 years agodoc/rados/operations: Fix erasure-code-jerasure.rst fix 51744/head
Anthony D'Atri [Wed, 24 May 2023 13:57:42 +0000 (09:57 -0400)]
doc/rados/operations: Fix erasure-code-jerasure.rst fix

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

2 years agodoc/rados/operations: Acting Set question 51741/head
Zac Dover [Tue, 4 Apr 2023 03:59:46 +0000 (13:59 +1000)]
doc/rados/operations: Acting Set question

Clear up a paragraph that describes the behavior of the Acting Set.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 3bc9cfd83b3b836775433c7f1b075fe397b56463)

2 years agoMerge pull request #51433 from Svelar/wip-59687-pacific
Adam King [Wed, 24 May 2023 21:47:26 +0000 (17:47 -0400)]
Merge pull request #51433 from Svelar/wip-59687-pacific

pacific: cephadm: eliminate duplication of sections

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #51346 from mgfritch/wip-59649-pacific
Adam King [Wed, 24 May 2023 21:45:24 +0000 (17:45 -0400)]
Merge pull request #51346 from mgfritch/wip-59649-pacific

pacific: mgr/cephadm: don't try to write client/os tuning profiles to known offline hosts

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #51727 from zdover23/wip-doc-2023-05-24-backport-51273-to-pacific
zdover23 [Wed, 24 May 2023 03:15:04 +0000 (13:15 +1000)]
Merge pull request #51727 from zdover23/wip-doc-2023-05-24-backport-51273-to-pacific

pacific: doc: Update jerasure.org references

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: Update jerasure.org references 51727/head
Anthony D'Atri [Tue, 23 May 2023 23:13:33 +0000 (19:13 -0400)]
doc: Update jerasure.org references

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

2 years agoMerge pull request #51722 from zdover23/wip-doc-2023-05-24-backport-51679-to-pacific
Anthony D'Atri [Tue, 23 May 2023 22:35:31 +0000 (18:35 -0400)]
Merge pull request #51722 from zdover23/wip-doc-2023-05-24-backport-51679-to-pacific

pacific: doc/mgr: edit "leaderboard" in telemetry.rst

2 years agodoc/mgr: edit "leaderboard" in telemetry.rst 51722/head
Zac Dover [Mon, 22 May 2023 20:06:52 +0000 (06:06 +1000)]
doc/mgr: edit "leaderboard" in telemetry.rst

Standardize the presentation of commands in the "Leaderboard" section of
doc/mgr/telemetry.rst.

Follow-up to https://github.com/ceph/ceph/pull/50977

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 4935ad8aed2aa796015473de5b38cc973ba85ba1)

2 years agoMerge pull request #51261 from k0ste/wip-53166-pacific
Yuri Weinstein [Tue, 23 May 2023 19:36:55 +0000 (15:36 -0400)]
Merge pull request #51261 from k0ste/wip-53166-pacific

pacific: ceph_test_rados_api_watch_notify: extend Watch3Timeout test

Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #51330 from trociny/wip-59616-pacific
Yuri Weinstein [Tue, 23 May 2023 16:01:58 +0000 (12:01 -0400)]
Merge pull request #51330 from trociny/wip-59616-pacific

pacific: rgw/rados: check_quota() uses real bucket owner

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #51266 from mkogan1/wip-58332-pacific
Yuri Weinstein [Tue, 23 May 2023 16:01:31 +0000 (12:01 -0400)]
Merge pull request #51266 from mkogan1/wip-58332-pacific

pacific: rgw: under fips & openssl 3.x allow md5 usage in select rgw ops

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50560 from ljflores/wip-59091-pacific
Yuri Weinstein [Tue, 23 May 2023 16:00:50 +0000 (12:00 -0400)]
Merge pull request #50560 from ljflores/wip-59091-pacific

pacific: rgw: LDAP fix resource leak with wrong credentials

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #48928 from yuvalif/wip-58036-pacific
Yuri Weinstein [Tue, 23 May 2023 16:00:08 +0000 (12:00 -0400)]
Merge pull request #48928 from yuvalif/wip-58036-pacific

pacific: tests: remove pubsub tests from multisite

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #51341 from NitzanMordhai/wip-59628-pacific
Yuri Weinstein [Tue, 23 May 2023 15:28:02 +0000 (11:28 -0400)]
Merge pull request #51341 from NitzanMordhai/wip-59628-pacific

pacific: src/valgrind.supp: Adding know leaks unrelated to ceph

Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #51258 from k0ste/wip-56604-pacific
Yuri Weinstein [Tue, 23 May 2023 15:26:22 +0000 (11:26 -0400)]
Merge pull request #51258 from k0ste/wip-56604-pacific

pacific: Monitor: forward report command to leader

Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #51324 from rhcs-dashboard/wip-59622-pacific
Nizamudeen A [Tue, 23 May 2023 12:48:26 +0000 (18:18 +0530)]
Merge pull request #51324 from rhcs-dashboard/wip-59622-pacific

pacific: mgr/dashboard: fix the rbd mirroring configure check

Reviewed-by: cloudbehl <NOT@FOUND>
2 years agoMerge pull request #51695 from zdover23/wip-doc-2023-05-23-backport-51682-to-pacific
Anthony D'Atri [Tue, 23 May 2023 12:11:15 +0000 (08:11 -0400)]
Merge pull request #51695 from zdover23/wip-doc-2023-05-23-backport-51682-to-pacific

pacific: doc/glossary: update bluestore entry

2 years agodoc/glossary: update bluestore entry 51695/head
Zac Dover [Mon, 22 May 2023 21:41:09 +0000 (07:41 +1000)]
doc/glossary: update bluestore entry

Update the BlueStore entry in the glossary, explaining that as of Reef
BlueStore and only BlueStore (and not FileStore) is the storage backend
for Ceph.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit bcee264276128f622c35e3aab81fdecb2b8afc10)

2 years agoMerge pull request #51654 from zdover23/wip-doc-2023-05-22-backport-51319-to-pacific
Anthony D'Atri [Mon, 22 May 2023 08:55:53 +0000 (04:55 -0400)]
Merge pull request #51654 from zdover23/wip-doc-2023-05-22-backport-51319-to-pacific

pacific: doc: deprecate the cache tiering

2 years agodoc: deprecate the cache tiering 51654/head
Radosław Zarzyński [Tue, 2 May 2023 15:52:23 +0000 (17:52 +0200)]
doc: deprecate the cache tiering

This topic has been discussed many times; recently at the Dev
Summit of Cephalocon 2023.

This commit is the minial version of the work, contained entirely
within the `doc`. However, likely it will be expanded as there
were ideas like e.g. adding cache tiering back experimental feature
list (Sam) to warn users when deploying a new cluster.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 535b8db33ea03fbab7ef0c4df5251658f956b0c5)

2 years agoMerge pull request #51621 from zdover23/wip-doc-2023-05-21-backport-51618-to-pacific
Anthony D'Atri [Sat, 20 May 2023 22:16:56 +0000 (18:16 -0400)]
Merge pull request #51621 from zdover23/wip-doc-2023-05-21-backport-51618-to-pacific

pacific: doc: Add missing `ceph` command in documentation section `REPLACING A…

2 years agodoc: Add missing `ceph` command in documentation section `REPLACING AN OSD` 51621/head
Alexander Proschek [Sat, 20 May 2023 21:06:09 +0000 (14:06 -0700)]
doc: Add missing `ceph` command in documentation section `REPLACING AN OSD`

Signed-off-by: Alexander Proschek <alexander.proschek@protonmail.com>
Signed-off-by: Alexander Proschek <alexander.proschek@protonmail.com>
(cherry picked from commit 0557d5e465556adba6d25db62a40ba55a5dd2400)

2 years agodoc/cephadm: custom config files documentation 51517/head
Adam King [Tue, 28 Jun 2022 20:52:05 +0000 (16:52 -0400)]
doc/cephadm: custom config files documentation

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

Conflicts:
doc/cephadm/services/index.rst

2 years agomgr/cephadm: unit testing for custom config files
Adam King [Tue, 28 Jun 2022 20:30:58 +0000 (16:30 -0400)]
mgr/cephadm: unit testing for custom config files

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

Conflicts:
src/pybind/mgr/cephadm/tests/test_cephadm.py

2 years agovstart: check mgr status after starting mgr. 51604/head
Rongqi Sun [Tue, 7 Feb 2023 02:59:18 +0000 (10:59 +0800)]
vstart: check mgr status after starting mgr.

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit bdd7dd1dec93d09e089cd4d523f47b4525b6d3d5)

2 years agoMerge pull request #51597 from zdover23/wip-doc-2023-05-20-backport-51594-to-pacific
zdover23 [Fri, 19 May 2023 20:19:55 +0000 (06:19 +1000)]
Merge pull request #51597 from zdover23/wip-doc-2023-05-20-backport-51594-to-pacific

pacific: doc/rados: edit data-placement.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit data-placement.rst 51597/head
Zac Dover [Fri, 19 May 2023 16:26:45 +0000 (02:26 +1000)]
doc/rados: edit data-placement.rst

Edit doc/rados/data-placement.rst.

Co-authored-by: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 32600c27c4dca6b9d5fae9892c0a1660b672781c)

2 years agoMerge pull request #51587 from zdover23/wip-doc-2023-05-19-backport-51580-to-pacific
Anthony D'Atri [Fri, 19 May 2023 12:13:34 +0000 (08:13 -0400)]
Merge pull request #51587 from zdover23/wip-doc-2023-05-19-backport-51580-to-pacific

pacific: doc/radosgw: explain multisite dynamic sharding

2 years agodoc/radosgw: explain multisite dynamic sharding 51587/head
Zac Dover [Thu, 18 May 2023 21:07:02 +0000 (07:07 +1000)]
doc/radosgw: explain multisite dynamic sharding

Add a note to doc/radosgw/dynamicresharding.rst and a note to
doc/radosgw/multisite.rst that explains that dynamic resharding is not
supported in releases prior to Reef.

This commit is made in response to a request from Mathias Chapelain.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d4ed4223d914328361528990f89f1ee4acd30e79)

2 years agoMerge pull request #49688 from joscollin/wip-58408-pacific
zdover23 [Fri, 19 May 2023 07:50:17 +0000 (17:50 +1000)]
Merge pull request #49688 from joscollin/wip-58408-pacific

pacific: doc: document the relevance of mds_namespace mount option

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #51245 from k0ste/wip-53566-pacific
Nizamudeen A [Fri, 19 May 2023 07:28:52 +0000 (12:58 +0530)]
Merge pull request #51245 from k0ste/wip-53566-pacific

pacific: mgr/dashboard: API docs UI does not work with Angular dev server

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2 years agoMerge pull request #51578 from zdover23/wip-doc-2023-05-19-backport-51572-to-pacific
Anthony D'Atri [Thu, 18 May 2023 22:41:54 +0000 (18:41 -0400)]
Merge pull request #51578 from zdover23/wip-doc-2023-05-19-backport-51572-to-pacific

pacific: doc/rados: line-edit devices.rst

2 years agodoc/rados: line-edit devices.rst 51578/head
Zac Dover [Thu, 18 May 2023 14:13:41 +0000 (00:13 +1000)]
doc/rados: line-edit devices.rst

Edit doc/rados/operations/devices.rst.

Co-authored-by: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8d589b43d76a4e291c96c3750d068dba18eb9309)

2 years agoMerge pull request #51491 from zdover23/wip-doc-2023-05-16-backport-51485-to-pacific
zdover23 [Thu, 18 May 2023 14:50:32 +0000 (00:50 +1000)]
Merge pull request #51491 from zdover23/wip-doc-2023-05-16-backport-51485-to-pacific

pacific: doc/start/os-recommendations: drop 4.14 kernel and reword guidance

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50988 from lxbsz/wip-59268
Yuri Weinstein [Thu, 18 May 2023 14:33:10 +0000 (07:33 -0700)]
Merge pull request #50988 from lxbsz/wip-59268

pacific: client: clear the suid/sgid in fallocate path

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #50986 from lxbsz/wip-59386
Yuri Weinstein [Thu, 18 May 2023 14:32:19 +0000 (07:32 -0700)]
Merge pull request #50986 from lxbsz/wip-59386

pacific: mds: wait for unlink operation to finish

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #50811 from vshankar/tr-59023
Yuri Weinstein [Thu, 18 May 2023 14:31:52 +0000 (07:31 -0700)]
Merge pull request #50811 from vshankar/tr-59023

pacific: mds: record and dump last tid for trimming completed requests (or flushes)

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #50809 from dparmar18/wip-59252-pacific
Yuri Weinstein [Thu, 18 May 2023 14:30:53 +0000 (07:30 -0700)]
Merge pull request #50809 from dparmar18/wip-59252-pacific

pacific: mgr/nfs: disallow non-existent paths when creating export

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #50773 from batrick/i57597
Yuri Weinstein [Thu, 18 May 2023 14:30:17 +0000 (07:30 -0700)]
Merge pull request #50773 from batrick/i57597

pacific: qa: data-scan/journal-tool do not output debugging in upstream testing

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #50765 from batrick/i57825
Yuri Weinstein [Thu, 18 May 2023 14:29:37 +0000 (07:29 -0700)]
Merge pull request #50765 from batrick/i57825

pacific: qa: mirror tests should cleanup fs during unwind

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #51544 from zdover23/wip-doc-2023-05-18-backport-51534-to-pacific
Anthony D'Atri [Wed, 17 May 2023 22:43:48 +0000 (18:43 -0400)]
Merge pull request #51544 from zdover23/wip-doc-2023-05-18-backport-51534-to-pacific

pacific: doc/cephfs: line-edit "Mirroring Module"

2 years agodoc/cephfs: line-edit "Mirroring Module" 51544/head
Zac Dover [Wed, 17 May 2023 12:25:38 +0000 (22:25 +1000)]
doc/cephfs: line-edit "Mirroring Module"

Line-edit the "Mirroring Module" section of
doc/cephfs/cephfs-mirroring.rst. Add prompts and formatting where such
things contribute to the realization of adequate sentences.

This commit is a follow-up to https://github.com/ceph/ceph/pull/51505.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit dd8855d9a934bcdd6a026f1308ba7410b1e143e3)

2 years agoMerge pull request #50756 from batrick/i52677
Yuri Weinstein [Wed, 17 May 2023 15:35:31 +0000 (08:35 -0700)]
Merge pull request #50756 from batrick/i52677

pacific: qa: test_simple failure

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #51522 from zdover23/wip-doc-2023-05-17-backport-51505-to-pacific
Anthony D'Atri [Wed, 17 May 2023 12:56:36 +0000 (08:56 -0400)]
Merge pull request #51522 from zdover23/wip-doc-2023-05-17-backport-51505-to-pacific

pacific: doc: explain cephfs mirroring `peer_add` step in detail

2 years agodoc: explain cephfs mirroring `peer_add` step in detail 51522/head
Venky Shankar [Tue, 16 May 2023 05:25:34 +0000 (10:55 +0530)]
doc: explain cephfs mirroring `peer_add` step in detail

@zdover23 reached out regarding missing explanation for `peer_add`
step in cephfs mirroring documentation. Add some explanation and
and example to make the step clear.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 6a6e887ff1f7f7d76db7f30f8410783b2f8153b0)

2 years agoMerge pull request #51504 from zdover23/wip-doc-2023-05-16-backport-51492-to-pacific
Anthony D'Atri [Wed, 17 May 2023 00:50:16 +0000 (20:50 -0400)]
Merge pull request #51504 from zdover23/wip-doc-2023-05-16-backport-51492-to-pacific

pacific: doc/start: KRBD feature flag support note