]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agodoc/start/os-recommendations: drop 4.14 kernel and reword guidance 51491/head
Ilya Dryomov [Fri, 12 May 2023 11:55:32 +0000 (13:55 +0200)]
doc/start/os-recommendations: drop 4.14 kernel and reword guidance

The 4.14 LTS kernel has less than a year left in terms of maintenance,
drop it.

Also, the current wording with an explicit list of kernels tends to go
stale: it's missing the latest 6.1 LTS kernel.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b697f96f3872f178f024e85799445386204a96e1)

2 years agoMerge pull request #50733 from lxbsz/wip-58881
Yuri Weinstein [Mon, 15 May 2023 15:37:04 +0000 (08:37 -0700)]
Merge pull request #50733 from lxbsz/wip-58881

pacific: mds: make num_fwd and num_retry to __u32

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #50725 from lxbsz/wip-59007
Yuri Weinstein [Mon, 15 May 2023 15:36:32 +0000 (08:36 -0700)]
Merge pull request #50725 from lxbsz/wip-59007

pacific: mds: force replay sessionmap version

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #50715 from joscollin/wip-58807-pacific
Yuri Weinstein [Mon, 15 May 2023 15:35:24 +0000 (08:35 -0700)]
Merge pull request #50715 from joscollin/wip-58807-pacific

pacific: cephfs-top: dump values to stdout and -d [--delay] option fix

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #50596 from neesingh-rh/wip-58866-pacific
Yuri Weinstein [Mon, 15 May 2023 15:34:49 +0000 (08:34 -0700)]
Merge pull request #50596 from neesingh-rh/wip-58866-pacific

pacific: cephfs-top: Some fixes in `choose_field()` for sorting

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #50523 from trociny/wip-59019-pacific
Yuri Weinstein [Mon, 15 May 2023 15:33:47 +0000 (08:33 -0700)]
Merge pull request #50523 from trociny/wip-59019-pacific

pacific: tools/cephfs-data-scan: support for multi-datapool

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #51471 from zdover23/wip-doc-2023-05-14-backport-51175-to-pacific
Anthony D'Atri [Sun, 14 May 2023 13:39:18 +0000 (09:39 -0400)]
Merge pull request #51471 from zdover23/wip-doc-2023-05-14-backport-51175-to-pacific

pacific: doc: add link to "documenting ceph" to index.rst

2 years agodoc: add link to "documenting ceph" to index.rst 51471/head
Zac Dover [Fri, 21 Apr 2023 20:59:04 +0000 (22:59 +0200)]
doc: add link to "documenting ceph" to index.rst

Add a link to the landing page of docs.ceph.com to direct documentation
contributors to documentation-related information.

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

2 years agoMerge pull request #51467 from zdover23/wip-doc-2023-05-13-backport-51463-to-pacific
Anthony D'Atri [Sat, 13 May 2023 11:40:29 +0000 (07:40 -0400)]
Merge pull request #51467 from zdover23/wip-doc-2023-05-13-backport-51463-to-pacific

pacific: doc/cephfs: edit fs-volumes.rst (1 of x)

2 years agodoc/cephfs: edit fs-volumes.rst (1 of x) 51467/head
Zac Dover [Fri, 12 May 2023 15:49:14 +0000 (01:49 +1000)]
doc/cephfs: edit fs-volumes.rst (1 of x)

Edit the syntax of the English language in the file
doc/cephfs/fs-volumes.rst up to (but not including) the section called
"FS Subvolumes".

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

2 years agoMerge pull request #51460 from zdover23/wip-doc-2023-05-12-backport-51458-to-pacific
zdover23 [Fri, 12 May 2023 13:29:02 +0000 (23:29 +1000)]
Merge pull request #51460 from zdover23/wip-doc-2023-05-12-backport-51458-to-pacific

pacific: doc/cephfs: rectify prompts in fs-volumes.rst

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/cephfs: rectify prompts in fs-volumes.rst 51460/head
Zac Dover [Fri, 12 May 2023 10:35:25 +0000 (20:35 +1000)]
doc/cephfs: rectify prompts in fs-volumes.rst

Make sure all prompts are unselectable. This PR is meant to be
backported to Reef, Quincy, and Pacific, to get all of the prompts into
a fit state so that a line-edit can be performed on the Englsh language
in this file.

Follows https://github.com/ceph/ceph/pull/51427.

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

2 years agoMerge pull request #51436 from zdover23/wip-doc-2023-05-11-backport-51427-to-pacific
zdover23 [Fri, 12 May 2023 06:23:06 +0000 (16:23 +1000)]
Merge pull request #51436 from zdover23/wip-doc-2023-05-11-backport-51427-to-pacific

pacific: doc/cephfs: fix prompts in fs-volumes.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/cephfs: fix prompts in fs-volumes.rst 51436/head
Zac Dover [Wed, 10 May 2023 14:52:50 +0000 (00:52 +1000)]
doc/cephfs: fix prompts in fs-volumes.rst

Fixed a regression introduced in
e5355e3d66e1438d51de6b57eae79fab47cd0184 that broke the unselectable
prompts in the RST.

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

2 years agoMerge pull request #51421 from zdover23/wip-doc-2023-05-10-backport-51403-to-pacific
Anthony D'Atri [Wed, 10 May 2023 12:24:27 +0000 (08:24 -0400)]
Merge pull request #51421 from zdover23/wip-doc-2023-05-10-backport-51403-to-pacific

pacific: doc/start: fix "Planet Ceph" link

2 years agodoc/start: fix "Planet Ceph" link 51421/head
Zac Dover [Tue, 9 May 2023 03:39:10 +0000 (13:39 +1000)]
doc/start: fix "Planet Ceph" link

Fix a link to Planet Ceph on the doc/start/get-involved.rst page.

Reported 2023 Apr 21, here:
https://pad.ceph.com/p/Report_Documentation_Bugs

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

2 years agoMerge pull request #51404 from ceph/pacific-release
Laura Flores [Tue, 9 May 2023 21:35:49 +0000 (16:35 -0500)]
Merge pull request #51404 from ceph/pacific-release

v16.2.13

2 years agoMerge pull request #51059 from idryomov/wip-59431-pacific
Yuri Weinstein [Tue, 9 May 2023 19:56:10 +0000 (12:56 -0700)]
Merge pull request #51059 from idryomov/wip-59431-pacific

pacific: qa/suites/rbd: install qemu-utils in addition to qemu-block-extra on Ubuntu

Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #50926 from chrisphoffman/wip-59370-pacific
Yuri Weinstein [Tue, 9 May 2023 19:55:32 +0000 (12:55 -0700)]
Merge pull request #50926 from chrisphoffman/wip-59370-pacific

pacific: librbd: don't wait for a watch in send_acquire_lock() if client is blocklisted

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #50778 from batrick/i58187
Yuri Weinstein [Tue, 9 May 2023 19:54:30 +0000 (12:54 -0700)]
Merge pull request #50778 from batrick/i58187

pacific: log: writes to stderr (pipe) may not be atomic

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #47232 from cfsnyder/wip-55830-pacific
Yuri Weinstein [Tue, 9 May 2023 19:51:24 +0000 (12:51 -0700)]
Merge pull request #47232 from cfsnyder/wip-55830-pacific

pacific: common: notify all when max backlog reached in OutputDataSocket

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoMerge pull request #51399 from zdover23/wip-doc-2023-05-09-backport-51394-to-pacific
Anthony D'Atri [Tue, 9 May 2023 08:48:15 +0000 (04:48 -0400)]
Merge pull request #51399 from zdover23/wip-doc-2023-05-09-backport-51394-to-pacific

pacific: doc/dev/encoding.txt: update per std::optional

2 years agoMerge pull request #51402 from zdover23/wip-doc-2023-05-09-backport-51392-to-pacific
Anthony D'Atri [Tue, 9 May 2023 08:37:22 +0000 (04:37 -0400)]
Merge pull request #51402 from zdover23/wip-doc-2023-05-09-backport-51392-to-pacific

pacific: doc: update multisite doc

2 years agodoc: update multisite doc 51402/head
parth-gr [Mon, 8 May 2023 13:53:29 +0000 (19:23 +0530)]
doc: update multisite doc

cmd for getting zone group was spelled incorrectly
Updated to rdosgw-admin

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit edab93b2f15b19f05a86aab499ba11b56135aaf3)

2 years agodoc/dev/encoding.txt: update per std::optional 51399/head
Radoslaw Zarzynski [Mon, 8 May 2023 14:41:22 +0000 (14:41 +0000)]
doc/dev/encoding.txt: update per std::optional

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

2 years ago16.2.13 51404/head v16.2.13
Ceph Release Team [Mon, 8 May 2023 20:39:37 +0000 (20:39 +0000)]
16.2.13

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
2 years agoMerge pull request #51391 from zdover23/wip-doc-2023-05-08-backport-51387-to-pacific
zdover23 [Mon, 8 May 2023 13:37:19 +0000 (23:37 +1000)]
Merge pull request #51391 from zdover23/wip-doc-2023-05-08-backport-51387-to-pacific

pacific: doc/rados: stretch-mode.rst (other commands)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/rados: stretch-mode.rst (other commands) 51391/head
Zac Dover [Mon, 8 May 2023 11:08:49 +0000 (21:08 +1000)]
doc/rados: stretch-mode.rst (other commands)

Edit the "Other Commands" section of
doc/rados/operations/stretch-mode.rst.

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

2 years agoMerge pull request #51379 from zdover23/wip-doc-2023-05-07-backport-51322-to-pacific 51100/head
Anthony D'Atri [Sun, 7 May 2023 10:37:53 +0000 (06:37 -0400)]
Merge pull request #51379 from zdover23/wip-doc-2023-05-07-backport-51322-to-pacific

pacific: doc/rados: stretch-mode: stretch cluster issues

2 years agodoc/rados: stretch-mode: stretch cluster issues 51379/head
Zac Dover [Wed, 3 May 2023 05:16:07 +0000 (15:16 +1000)]
doc/rados: stretch-mode: stretch cluster issues

Edit "Stretch Cluster Issues", which might better be called "Netsplits"
or "Recognizing Netsplits".

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

2 years agoMerge pull request #51373 from zdover23/wip-doc-2023-05-06-backport-51359-to-pacific
Anthony D'Atri [Sat, 6 May 2023 11:58:21 +0000 (07:58 -0400)]
Merge pull request #51373 from zdover23/wip-doc-2023-05-06-backport-51359-to-pacific

pacific: doc/cephfs: repairing inaccessible FSes

2 years agodoc/cephfs: repairing inaccessible FSes 51373/head
Zac Dover [Fri, 5 May 2023 06:35:28 +0000 (16:35 +1000)]
doc/cephfs: repairing inaccessible FSes

Add a procedure to doc/cephfs/troubleshooting.rst that explains how to
restore access to FileSystems that became inaccessible after
post-Nautilus upgrades. The procedure included here was written by Harry
G Coin, and merely lightly edited by me. I include him here as a
"co-author", but it should be noted that he did the heavy lifting on
this.

See the email thread here for more context:
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/message/HS5FD3QFR77NAKJ43M2T5ZC25UYXFLNW/

Co-authored-by: Harry G Coin <hgcoin@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 2430127c6e88834c5a6ec46fae15aad04d6d8551)

2 years agoqa: check each fs for health
Yuri Weinstein [Sat, 6 May 2023 00:13:59 +0000 (00:13 +0000)]
qa: check each fs for health

Fixes: https://tracker.ceph.com/issues/59425
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 06c90a6c484f961c2b9b53d26080c38699555180)
(cherry picked from commit acbc33208f1a8ff19138ed7b704f4ebf04cece8c)

2 years agoqa/cephfs: update ceph_fuse.py to fix bug introduced by commit b05b886
Rishabh Dave [Thu, 4 May 2023 13:13:43 +0000 (18:43 +0530)]
qa/cephfs: update ceph_fuse.py to fix bug introduced by commit b05b886

Commit b05b886 removes createfs flag which breaks ceph_fuse.py. Update
ceph_fuse.py accordingly.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 48c5e4531b635d8554894b8c16a89661436d786b)

2 years agoqa/cephfs: check for Ceph FS before mounting
Rishabh Dave [Tue, 23 Feb 2021 18:35:48 +0000 (00:05 +0530)]
qa/cephfs: check for Ceph FS before mounting

If the given Ceph FS, or the default Ceph FS when no Ceph FS is given,
is absent, abort the execution with AsssertionError and an error
message.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 95eb0043bf1987307cb8a2307d54bf482f6abfae)
(cherry picked from commit a9a29fe98c4c6026dfcab96bc08e455cbb94ad78)

2 years agoqa/cephfs: remove parameter createfs from mount classes
Rishabh Dave [Fri, 19 Feb 2021 16:03:45 +0000 (21:33 +0530)]
qa/cephfs: remove parameter createfs from mount classes

It's better to get rid of this paramter since it doesn't actually create
any new Ceph file system.

Fixes: https://tracker.ceph.com/issues/59626
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit db0b85b44076ef952ca71033f3b5b819b8d768af)
(cherry picked from commit f607defb101d2df10267a54a5a44ba644e941551)

2 years agorgw/s3: dump Message field in Error response even if empty
Casey Bodley [Wed, 12 Apr 2023 15:18:15 +0000 (11:18 -0400)]
rgw/s3: dump Message field in Error response even if empty

some clients like veeam fail to decode the response if Message is missing

Fixes: https://tracker.ceph.com/issues/59433
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 6de9e376b61fc11be9033a03d027dd0fa7f200ad)
(cherry picked from commit 796f50b08e1b424d67812d1e7f443618b9059cd9)

2 years agocommon/options: rocksdb_cf_compact_on_deletion is false by default
Radoslaw Zarzynski [Thu, 4 May 2023 15:36:10 +0000 (15:36 +0000)]
common/options: rocksdb_cf_compact_on_deletion is false by default

This is a pacific-specific commit; not a backport. All it does is
switching the default value of `rocksdb_cf_compact_on_deletion`.
The rationale is purely our preference towards avoiding huge
baheavioral changes in minor release, particularly of an old
release family.

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

2 years agokv/RocksDBStore: Add CompactOnDeletion support
Mark Nelson [Thu, 21 Jul 2022 21:31:07 +0000 (21:31 +0000)]
kv/RocksDBStore: Add CompactOnDeletion support

This commit adds support to compact column families when a certain number
of tombstone entries have been observed within a certain sliding window
during iteration.  It only helps when itereating over entries already in
SST files and not when iterating over ranges in memtables.

Likely we will still need to provide a mechanism to flush memtables and
compact column families once a certain number of rmkey or rm_range_key
calls are made.

Signed-off-by: Mark Nelson <mnelson@redhat.com>
(cherry picked from commit fba5488728e89d9b0a1c1ab94b7024fcc81b3b15)

Conflicts:
src/common/options/global.yaml.in

Cherry-pick notes:
- Conflicts due to change in configuration options format after Pacific

(cherry picked from commit 317eb8f69834fa08dbb17b19656db2359dbdcbd0)

2 years agoMerge pull request #51344 from rishabh-d-dave/backport-pr-39607-pacific
Yuri Weinstein [Fri, 5 May 2023 18:23:55 +0000 (11:23 -0700)]
Merge pull request #51344 from rishabh-d-dave/backport-pr-39607-pacific

pacific: backport PR #39607

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #51232 from rishabh-d-dave/wip-59560-pacific
Yuri Weinstein [Fri, 5 May 2023 15:37:47 +0000 (08:37 -0700)]
Merge pull request #51232 from rishabh-d-dave/wip-59560-pacific

pacific: qa: check each fs for health

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50894 from cfsnyder/wip-59330-pacific
Radoslaw Zarzynski [Fri, 5 May 2023 15:31:17 +0000 (17:31 +0200)]
Merge pull request #50894 from cfsnyder/wip-59330-pacific

pacific: kv/RocksDBStore: Add CompactOnDeletion support

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #51150 from rhcs-dashboard/wip-59467-pacific
Nizamudeen A [Fri, 5 May 2023 05:27:59 +0000 (10:57 +0530)]
Merge pull request #51150 from rhcs-dashboard/wip-59467-pacific

pacific: mgr/dashboard: skip Create OSDs step in Cluster expansion

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2 years agoMerge pull request #51351 from zdover23/wip-doc-2023-05-05-backport-51348-to-pacific
Anthony D'Atri [Fri, 5 May 2023 03:10:16 +0000 (23:10 -0400)]
Merge pull request #51351 from zdover23/wip-doc-2023-05-05-backport-51348-to-pacific

pacific: doc: Use `ceph osd crush tree` command to display weight set weights

2 years agodoc: Use `ceph osd crush tree` command to display weight set weights 51351/head
James Lakin [Thu, 4 May 2023 17:02:36 +0000 (18:02 +0100)]
doc: Use `ceph osd crush tree` command to display weight set weights

The previous `ceph osd tree` doesn't show pool-defined weight-sets as the above documentation suggests.

Signed-off-by: James Lakin <james@jameslakin.co.uk>
(cherry picked from commit 15c3d72a43a37798de823b26f1429f7776f67aaa)

2 years agoMerge pull request #49903 from ifed01/wip-ifed-fix-cls-queue-list-pac
Yuri Weinstein [Thu, 4 May 2023 16:35:42 +0000 (09:35 -0700)]
Merge pull request #49903 from ifed01/wip-ifed-fix-cls-queue-list-pac

pacific: cls/queue: use larger read chunks in queue_list_entries

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #51200 from cfsnyder/wip-59528-pacific
Yuri Weinstein [Thu, 4 May 2023 16:16:03 +0000 (09:16 -0700)]
Merge pull request #51200 from cfsnyder/wip-59528-pacific

pacific: rgw/s3: dump Message field in Error response even if empty

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agoMerge pull request #51056 from rhcs-dashboard/wip-59434-pacific
Nizamudeen A [Thu, 4 May 2023 15:37:39 +0000 (21:07 +0530)]
Merge pull request #51056 from rhcs-dashboard/wip-59434-pacific

pacific: mgr/dashboard: rbd-mirror force promotion

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agocommon/options: rocksdb_cf_compact_on_deletion is false by default 50894/head
Radoslaw Zarzynski [Thu, 4 May 2023 15:36:10 +0000 (15:36 +0000)]
common/options: rocksdb_cf_compact_on_deletion is false by default

This is a pacific-specific commit; not a backport. All it does is
switching the default value of `rocksdb_cf_compact_on_deletion`.
The rationale is purely our preference towards avoiding huge
baheavioral changes in minor release, particularly of an old
release family.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoqa/cephfs: update ceph_fuse.py to fix bug introduced by commit b05b886 51344/head
Rishabh Dave [Thu, 4 May 2023 13:13:43 +0000 (18:43 +0530)]
qa/cephfs: update ceph_fuse.py to fix bug introduced by commit b05b886

Commit b05b886 removes createfs flag which breaks ceph_fuse.py. Update
ceph_fuse.py accordingly.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoqa/cephfs: check for Ceph FS before mounting
Rishabh Dave [Tue, 23 Feb 2021 18:35:48 +0000 (00:05 +0530)]
qa/cephfs: check for Ceph FS before mounting

If the given Ceph FS, or the default Ceph FS when no Ceph FS is given,
is absent, abort the execution with AsssertionError and an error
message.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 95eb0043bf1987307cb8a2307d54bf482f6abfae)

2 years agoqa/cephfs: remove parameter createfs from mount classes
Rishabh Dave [Fri, 19 Feb 2021 16:03:45 +0000 (21:33 +0530)]
qa/cephfs: remove parameter createfs from mount classes

It's better to get rid of this paramter since it doesn't actually create
any new Ceph file system.

Fixes: https://tracker.ceph.com/issues/59626
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit db0b85b44076ef952ca71033f3b5b819b8d768af)

2 years agoMerge pull request #51339 from zdover23/wip-doc-2023-05-04-backport-51292-to-pacific
Anthony D'Atri [Thu, 4 May 2023 02:19:40 +0000 (22:19 -0400)]
Merge pull request #51339 from zdover23/wip-doc-2023-05-04-backport-51292-to-pacific

pacific: doc/rados: edit stretch-mode.rst

2 years agodoc/rados: edit stretch-mode.rst 51339/head
Zac Dover [Sun, 30 Apr 2023 02:09:51 +0000 (12:09 +1000)]
doc/rados: edit stretch-mode.rst

Edit "Stretch Mode Limitations" (renamed "Limitations of Stretch Mode"
in this commit) in doc/rados/operations/stretch-mode.rst.

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

2 years agoMerge pull request #51214 from adk3798/wip-59544-pacific
Adam King [Wed, 3 May 2023 21:14:29 +0000 (17:14 -0400)]
Merge pull request #51214 from adk3798/wip-59544-pacific

pacific: cephadm: reschedule haproxy from an offline host

Reviewed-by: Michael Fritch <mfritch@suse.com>
2 years agoMerge pull request #51213 from adk3798/wip-59520-pacific
Adam King [Wed, 3 May 2023 21:12:58 +0000 (17:12 -0400)]
Merge pull request #51213 from adk3798/wip-59520-pacific

pacific: orchestrator: add `--no-destroy` arg to `ceph orch osd rm`

Reviewed-by: Teoman ONAY <tonay@ibm.com>
2 years agoMerge pull request #51212 from adk3798/wip-59309-pacific
Adam King [Wed, 3 May 2023 21:11:22 +0000 (17:11 -0400)]
Merge pull request #51212 from adk3798/wip-59309-pacific

pacific: cephadm: using ip instead of short hostname for prometheus urls

Reviewed-by: Teoman ONAY <tonay@ibm.com>
2 years agoMerge pull request #51211 from adk3798/wip-59181-pacific
Adam King [Wed, 3 May 2023 21:03:22 +0000 (17:03 -0400)]
Merge pull request #51211 from adk3798/wip-59181-pacific

pacific: mgr/orchestrator: fix device size in `orch device ls` output

Reviewed-by: Teoman ONAY <tonay@ibm.com>
2 years agoMerge pull request #51311 from zdover23/wip-doc-2023-05-02-backport-51133-to-pacific
zdover23 [Tue, 2 May 2023 22:25:22 +0000 (08:25 +1000)]
Merge pull request #51311 from zdover23/wip-doc-2023-05-02-backport-51133-to-pacific

pacific: doc/mgr: update prompts in prometheus.rst

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agorgw/s3: dump Message field in Error response even if empty 51200/head
Casey Bodley [Wed, 12 Apr 2023 15:18:15 +0000 (11:18 -0400)]
rgw/s3: dump Message field in Error response even if empty

some clients like veeam fail to decode the response if Message is missing

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

2 years agoMerge pull request #51207 from guits/wip-59517-pacific
Guillaume Abrioux [Tue, 2 May 2023 12:09:03 +0000 (14:09 +0200)]
Merge pull request #51207 from guits/wip-59517-pacific

pacific: ceph-volume: fix batch refactor issue

2 years agoMerge pull request #51196 from guits/wip-59522-pacific
Guillaume Abrioux [Tue, 2 May 2023 12:07:51 +0000 (14:07 +0200)]
Merge pull request #51196 from guits/wip-59522-pacific

pacific: ceph-volume: quick fix in zap.py

2 years agoMerge pull request #51209 from guits/wip-59256-pacific
Guillaume Abrioux [Tue, 2 May 2023 12:07:16 +0000 (14:07 +0200)]
Merge pull request #51209 from guits/wip-59256-pacific

pacific: ceph-volume: fix drive-group issue that expects the batch_args to be a string

2 years agocephfs-top: fix help text for delay 50715/head
Jos Collin [Thu, 20 Apr 2023 09:39:01 +0000 (15:09 +0530)]
cephfs-top: fix help text for delay

Updates:

`
  -d {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}, --delay {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}
                        Refresh interval in seconds (default: 1)
`

to

`
  -d DELAY, --delay DELAY
                        Refresh interval in seconds (default: 1, range: 1 - 25)
`

Fixes: https://tracker.ceph.com/issues/59553
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 10a74b9f09b8e1402e421503d5ff23a44416bf15)

2 years agodoc: updating the doc with chamges related to delay option in cephfs-top
Neeraj Pratap Singh [Tue, 28 Mar 2023 10:36:49 +0000 (16:06 +0530)]
doc: updating the doc with chamges related to delay option in cephfs-top

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

 Conflicts:
    doc/cephfs/cephfs-top.rst
    - Resolved the cherry-pick conflict by dropping the HEAD section manually.

      This cherry-pick conflicted because it needs f7e86a92f2b770bf9b011d2f30defe222387d162.
      But we couldn't cherry-pick f7e86a92f2b770bf9b011d2f30defe222387d162 to pacific at the
      moment, as a future change b3459f7d7058a8c6cb5c1fcec31d99247fe4794e was already
      backported (bad backport) to pacific without considering f7e86a92f2b770bf9b011d2f30defe222387d162.

2 years agocephfs-top: fixing the -d [--delay] option in cephfs-top
Neeraj Pratap Singh [Tue, 28 Mar 2023 10:26:24 +0000 (15:56 +0530)]
cephfs-top: fixing the -d [--delay] option in cephfs-top

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

2 years agoqa: add tests for cephfs-top
Jos Collin [Wed, 1 Feb 2023 12:14:47 +0000 (17:44 +0530)]
qa: add tests for cephfs-top

* Updated the existing tests
* Added new qa tests for --dump and --dumpfs options
* Updated the cluster configuration to 2 mds, 2 clients

Fixes: https://tracker.ceph.com/issues/57014
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit ddd20d4d4ddb818ec8e032781335849f6301e475)

2 years agodoc: updates --dump and --dumpfs
Jos Collin [Wed, 30 Nov 2022 09:20:28 +0000 (14:50 +0530)]
doc: updates --dump and --dumpfs

Fixes: https://tracker.ceph.com/issues/57014
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 247f81e5b41fea9b1de2151e7318392c03e44c0b)

2 years agocephfs-top: dump values to stdout
Jos Collin [Mon, 21 Nov 2022 09:35:01 +0000 (15:05 +0530)]
cephfs-top: dump values to stdout

Fixes: https://tracker.ceph.com/issues/57014
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 6f08159a22b98cc7a26e3b86199e97ca90d590a4)

2 years agocephfs-top: drop x_coord_map
Jos Collin [Fri, 28 Oct 2022 05:21:08 +0000 (10:51 +0530)]
cephfs-top: drop x_coord_map

As we started using curses pads in PR#48090, we don't need x_coord_map anymore.
In this patch, the metrics are positioned in cephfs-top based on padding (ITEMS_PAD).

Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 46dbd644e4f0b4ce920bbce7d9933a8a9e69526e)

 Conflicts:
    src/tools/cephfs/top/cephfs-top
    - resolved cherry-pick conflict due to the merge of 80a20916c76df1f501df1acaefb32321522a905c.
    - dropped x_coord_map manually in create_client() call.

2 years agodoc/man/cephfs-top.rst: add missing options: --delay, --conffile
wangxinyu [Wed, 23 Mar 2022 01:21:36 +0000 (09:21 +0800)]
doc/man/cephfs-top.rst: add missing options: --delay, --conffile

add missing options: --delay, --conffile

Signed-off-by: wangxinyu <wangxinyu@inspur.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 58474bd82e86241545ccb6e34eccdff28946545c)

 Conflicts:
    src/tools/cephfs/top/cephfs-top
    - Fixed the conflict due to backport dc7917e4cf55b8a1e315b5b4dcae1ed6cf26b136
      and b3459f7d7058a8c6cb5c1fcec31d99247fe4794e. The commit 58474bd82e86241545ccb6e34eccdff28946545c
      should've been cherry-picked instead, which was already existing and add more commits on top of it.

      At this point, we need to cherry-pick doc/man/8/cephfs-top.rst changes in
      58474bd82e86241545ccb6e34eccdff28946545c and then the changes of src/tools/cephfs/top/cephfs-top
      conflicted.

2 years agodoc/mgr: update prompts in prometheus.rst 51311/head
Zac Dover [Tue, 18 Apr 2023 14:28:50 +0000 (16:28 +0200)]
doc/mgr: update prompts in prometheus.rst

Update prompts in prometheus.rst so that they're unselectable.

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

2 years agoMerge pull request #51307 from zdover23/wip-doc-2023-05-02-backport-51299-to-pacific
Anthony D'Atri [Mon, 1 May 2023 23:26:03 +0000 (19:26 -0400)]
Merge pull request #51307 from zdover23/wip-doc-2023-05-02-backport-51299-to-pacific

pacific: doc/radosgw: rabbitmq - push-endpoint edit

2 years agoMerge pull request #51174 from trociny/wip-59237-pacific
Adam King [Mon, 1 May 2023 22:00:42 +0000 (18:00 -0400)]
Merge pull request #51174 from trociny/wip-59237-pacific

pacific: cephadm: mount host /etc/hosts for daemon containers in podman deployments

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2 years agodoc/radosgw: rabbitmq - push-endpoint edit 51307/head
Zac Dover [Mon, 1 May 2023 17:14:01 +0000 (03:14 +1000)]
doc/radosgw: rabbitmq - push-endpoint edit

Remove a note that directed users to change "push-endpoint" (with a
hyphen) to "push_endpoint" (with an underscore) when using rabbitmq.

Re: https://github.com/ceph/ceph/pull/48486#issuecomment-1529925389

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

2 years agoMerge pull request #51304 from zdover23/wip-doc-2023-05-02-backport-51296-to-pacific
Anthony D'Atri [Mon, 1 May 2023 20:36:54 +0000 (16:36 -0400)]
Merge pull request #51304 from zdover23/wip-doc-2023-05-02-backport-51296-to-pacific

pacific: doc/rados: edit stretch-mode.rst

2 years agodoc/rados: edit stretch-mode.rst 51304/head
Zac Dover [Mon, 1 May 2023 02:29:07 +0000 (12:29 +1000)]
doc/rados: edit stretch-mode.rst

Refine and supplement the introductory and explanatory text at the top
of the /doc/rados/operations/stretch-mode.rst file.

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

2 years agoMerge pull request #51291 from zdover23/wip-doc-2023-04-30-backport-51285-to-pacific
Anthony D'Atri [Sat, 29 Apr 2023 20:01:14 +0000 (16:01 -0400)]
Merge pull request #51291 from zdover23/wip-doc-2023-04-30-backport-51285-to-pacific

pacific: doc/rados: edit stretch-mode procedure

2 years agodoc/rados: edit stretch-mode procedure 51291/head
Zac Dover [Sat, 29 Apr 2023 00:14:02 +0000 (10:14 +1000)]
doc/rados: edit stretch-mode procedure

Edit the "stretch mode" section in doc/rados/operations/stretch-mode.rst
so that the procedure is formatted as a procedure and the sentences
correctly have heads.

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

2 years agoMerge pull request #51274 from zdover23/wip-doc-2023-04-28-backport-51271-to-pacific
Anthony D'Atri [Fri, 28 Apr 2023 00:51:58 +0000 (20:51 -0400)]
Merge pull request #51274 from zdover23/wip-doc-2023-04-28-backport-51271-to-pacific

pacific: doc/rados: m-config-ref: edit "background"

2 years agodoc/rados: m-config-ref: edit "background" 51274/head
Zac Dover [Thu, 27 Apr 2023 22:35:17 +0000 (08:35 +1000)]
doc/rados: m-config-ref: edit "background"

Edit the "Background" section of doc/rados/monitor/config-ref.rst

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

2 years agoMerge pull request #51241 from zdover23/wip-doc-2023-04-27-backport-51154-to-pacific
zdover23 [Thu, 27 Apr 2023 00:44:42 +0000 (10:44 +1000)]
Merge pull request #51241 from zdover23/wip-doc-2023-04-27-backport-51154-to-pacific

pacific: doc/rados/ops: edit user-management.rst (3 of x)

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rados/ops: edit user-management.rst (3 of x) 51241/head
Zac Dover [Thu, 20 Apr 2023 08:25:00 +0000 (10:25 +0200)]
doc/rados/ops: edit user-management.rst (3 of x)

Line-edit doc/rados/user-management.rst (3 of x).

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

Follows https://github.com/ceph/ceph/pull/51140.

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

2 years agoMerge pull request #51157 from zdover23/wip-doc-2023-04-20-backport-51140-to-pacific
zdover23 [Thu, 27 Apr 2023 00:09:27 +0000 (10:09 +1000)]
Merge pull request #51157 from zdover23/wip-doc-2023-04-20-backport-51140-to-pacific

pacific: doc/rados: edit user-management (2 of x)

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #51237 from zdover23/wip-doc-2023-04-27-backport-51204-to-pacific
Anthony D'Atri [Wed, 26 Apr 2023 22:27:10 +0000 (18:27 -0400)]
Merge pull request #51237 from zdover23/wip-doc-2023-04-27-backport-51204-to-pacific

pacific: doc/cephfs: explain cephfs data and metadata set

2 years agodoc/cephfs: explain cephfs data and metadata set 51237/head
Zac Dover [Tue, 25 Apr 2023 07:46:53 +0000 (17:46 +1000)]
doc/cephfs: explain cephfs data and metadata set

Explain how to set application metadata for the CephFS data pool and the
CephFS metadata pool.

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

2 years agoqa: check each fs for health 51232/head
Patrick Donnelly [Tue, 11 Apr 2023 14:16:53 +0000 (10:16 -0400)]
qa: check each fs for health

Fixes: https://tracker.ceph.com/issues/59425
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 06c90a6c484f961c2b9b53d26080c38699555180)

2 years agoMerge pull request #51222 from zdover23/wip-doc-2023-04-26-backport-51193-to-pacific
Anthony D'Atri [Wed, 26 Apr 2023 00:21:39 +0000 (20:21 -0400)]
Merge pull request #51222 from zdover23/wip-doc-2023-04-26-backport-51193-to-pacific

pacific: doc/start: rewrite intro paragraph

2 years agodoc/start: rewrite intro paragraph 51222/head
Zac Dover [Mon, 24 Apr 2023 11:02:16 +0000 (13:02 +0200)]
doc/start: rewrite intro paragraph

Rewrite the first paragraph in doc/start/intro.rst.

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

2 years agomgr/dashboard: rbd-mirror force promotion 51056/head
Pedro Gonzalez Gomez [Wed, 5 Apr 2023 15:42:52 +0000 (17:42 +0200)]
mgr/dashboard: rbd-mirror force promotion

resolves: https://tracker.ceph.com/issues/59327
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 9696b6a04830297c23c4cccd6e7c225f183ba0b2)

2 years agocephadm: reschedule haproxy from an offline host 51214/head
Michael Fritch [Mon, 17 Apr 2023 14:14:07 +0000 (08:14 -0600)]
cephadm: reschedule haproxy from an offline host

The ingress service (haproxy+keepalived) should be redeployed from an
offline host to allow for client recovery during failover.

Fixes: https://tracker.ceph.com/issues/59472
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 5273a86588b37993a5457fb6a16e3940a53d8a47)

2 years agocephadm: osd replacement improvement 51213/head
Guillaume Abrioux [Fri, 31 Mar 2023 09:27:13 +0000 (11:27 +0200)]
cephadm: osd replacement improvement

This adds a new parameter `--no-destroy` to the command
`ceph orch osd rm`.

By default, it removes any VGs/LVs related to the osd being removed.
For specific workflows, this can be useful to preserve them.

Fixes: https://tracker.ceph.com/issues/59289
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit ef810a4ebf91b538f778da4ca3ea0fdc2968e2fe)

2 years agocephadm: using ip instead of short hostname for prometheus urls 51212/head
Redouane Kachach [Mon, 23 Jan 2023 12:22:27 +0000 (13:22 +0100)]
cephadm: using ip instead of short hostname for prometheus urls
Fixes: https://tracker.ceph.com/issues/58548
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit f56b131c804327411a1ae3cb68042f182f42996e)

2 years agomgr/orchestrator: fix device size in `orch device ls` output 51211/head
Adam King [Thu, 17 Nov 2022 18:14:55 +0000 (13:14 -0500)]
mgr/orchestrator: fix device size in `orch device ls` output

Fixes: https://tracker.ceph.com/issues/58045
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 7e576185ac87877e4d626c09bdef34e194042778)

2 years agoceph-volume: fix drive-group issue 51209/head
Mohan Sharma [Tue, 27 Dec 2022 06:01:04 +0000 (11:31 +0530)]
ceph-volume: fix drive-group issue

The drive-group expects the batch_args to be a string,
however in the current version it is passed as a list
of one element, thus calling the first item of the list solves the issue.

Fixes: https://tracker.ceph.com/issues/59203
Signed-off-by: Mohan Sharma <mohan7427@gmail.com>
(cherry picked from commit 7602a99f7a1308c684a7c1d619bb6d9f09c79af9)

2 years agoceph-volume: fix batch refactor regression 51207/head
Guillaume Abrioux [Thu, 13 Apr 2023 14:42:32 +0000 (16:42 +0200)]
ceph-volume: fix batch refactor regression

This makes sure `ceph-volume lvm batch` will recreate the db device
with the right size when coming from a cluster deployed prior to 14.2.13

Fixes: https://tracker.ceph.com/issues/59442
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 98c68f2c8f648a5b9faac295999de212d362744d)

2 years agoMerge pull request #50694 from kamoltat/wip-ksirivad-backport-pacific-50334
Yuri Weinstein [Mon, 24 Apr 2023 22:46:20 +0000 (15:46 -0700)]
Merge pull request #50694 from kamoltat/wip-ksirivad-backport-pacific-50334

pacific: pybind/mgr/pg_autoscaler: Reorderd if statement for the func: _maybe_adjust

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #51183 from zdover23/wip-doc-2023-04-23-backport-51177-to-pacific
Yuri Weinstein [Mon, 24 Apr 2023 21:15:51 +0000 (21:15 +0000)]
Merge pull request #51183 from zdover23/wip-doc-2023-04-23-backport-51177-to-pacific

pacific: doc/start: edit first 150 lines of documenting-ceph

2 years agoceph-volume: quick fix in zap.py 51196/head
Guillaume Abrioux [Wed, 29 Mar 2023 14:58:11 +0000 (16:58 +0200)]
ceph-volume: quick fix in zap.py

`api.get_single_pv(filters={'lv_uuid': lv.lv_uuid})` needs to be called
only if `--destroy` is passed in order to remove vg and pv when there's
nothing left.

With old deployments, it is possible that a lv_uuid matches more than 1
PV.
Given that `get_single_pv()` is only needed when `--destroy` is passed,
let's move this call where it is actually needed.

This makes `ceph-volume lvm zap` fail even though

Fixes: https://tracker.ceph.com/issues/59210
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit a666f700f16937565484dffc90713f6c04d76313)

2 years agoMerge pull request #51183 from zdover23/wip-doc-2023-04-23-backport-51177-to-pacific
Anthony D'Atri [Sun, 23 Apr 2023 21:19:57 +0000 (23:19 +0200)]
Merge pull request #51183 from zdover23/wip-doc-2023-04-23-backport-51177-to-pacific

pacific: doc/start: edit first 150 lines of documenting-ceph