]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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

2 years agoMerge pull request #49263 from ifed01/wip-ifed-fix-read-error-code-pac
Yuri Weinstein [Tue, 16 May 2023 15:59:27 +0000 (08:59 -0700)]
Merge pull request #49263 from ifed01/wip-ifed-fix-read-error-code-pac

pacific: blk/kernel: Fix error code mapping in KernelDevice::read.

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50637 from ifed01/wip-ifed-bound-rm-range-keys-pac
Yuri Weinstein [Tue, 16 May 2023 15:58:48 +0000 (08:58 -0700)]
Merge pull request #50637 from ifed01/wip-ifed-bound-rm-range-keys-pac

pacific: kv/RocksDBStore: cumulative backport for rm_range_keys and around

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50496 from ifed01/wip-ifed-fix-prefixed-kv-iterator-pac
Yuri Weinstein [Tue, 16 May 2023 15:58:15 +0000 (08:58 -0700)]
Merge pull request #50496 from ifed01/wip-ifed-fix-prefixed-kv-iterator-pac

pacific: kv/RocksDBStore: don't use real wholespace iterator for prefixed access

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50322 from ifed01/wip-ifed-57271-pac
Yuri Weinstein [Tue, 16 May 2023 15:57:43 +0000 (08:57 -0700)]
Merge pull request #50322 from ifed01/wip-ifed-57271-pac

pacific: blk/KernelDevice: Modify the rotational and discard check log message

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50932 from ifed01/wip-ifed-fix-spillover-alert-pac
Yuri Weinstein [Tue, 16 May 2023 15:55:16 +0000 (08:55 -0700)]
Merge pull request #50932 from ifed01/wip-ifed-fix-spillover-alert-pac

pacific: os/bluestore: fix spillover alert

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50506 from ifed01/wip-ifed-report-min-alloc-size-pac
Igor Fedotov [Tue, 16 May 2023 15:35:40 +0000 (18:35 +0300)]
Merge pull request #50506 from ifed01/wip-ifed-report-min-alloc-size-pac

pacific: os/bluestore: report min_alloc_size through "ceph osd metadata"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/start: KRBD feature flag support note 51504/head
Zac Dover [Mon, 15 May 2023 17:04:43 +0000 (03:04 +1000)]
doc/start: KRBD feature flag support note

Add KRBD feature flag support note to doc/start/os-recommendations.rst.

This change was suggested by Anthony D'Atri in https://github.com/ceph/ceph/pull/51485.

Co-authored-by: Ilya Dryomov <idryomov@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 2a619dba2d22749e6facaf8dd0d370e16a1672c4)

2 years agoMerge pull request #51479 from zdover23/wip-doc-2023-05-15-backport-51473-to-pacific
Anthony D'Atri [Mon, 15 May 2023 16:52:00 +0000 (12:52 -0400)]
Merge pull request #51479 from zdover23/wip-doc-2023-05-15-backport-51473-to-pacific

pacific: doc/rados: edit devices.rst

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 agodoc/rados: edit devices.rst 51479/head
Zac Dover [Mon, 15 May 2023 01:01:19 +0000 (11:01 +1000)]
doc/rados: edit devices.rst

Line-edit doc/rados/operations/devices.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8321b457a25a4394439f908c500091ce30e0736a)

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)