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

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

pacific: doc/glossary: add "Placement Groups" definition

2 years agodoc/glossary: add "Placement Groups" definition 51186/head
Zac Dover [Sat, 22 Apr 2023 08:55:38 +0000 (10:55 +0200)]
doc/glossary: add "Placement Groups" definition

Add a definition of "Placement Groups" to the Glossary.

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

2 years agodoc/start: edit first 50 lines of documenting-ceph 51183/head
Zac Dover [Sat, 22 Apr 2023 07:03:12 +0000 (09:03 +0200)]
doc/start: edit first 50 lines of documenting-ceph

Edit the first 150 lines of doc/start/documenting-ceph.rst. This is part
of an initiative to harvest the fruits of Cephalocon 2023, at which
documentation proved to be in demand to a surprising degree.

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

2 years agoqa/cephadm: add check that iscsi daemon /etc/hosts matches host /etc/hosts 51174/head
Adam King [Mon, 30 Jan 2023 16:27:09 +0000 (11:27 -0500)]
qa/cephadm: add check that iscsi daemon /etc/hosts matches host /etc/hosts

To make sure we aren't being affected by any podman introduced
changes to the /etc/hosts file and test that we're properly
mounting /etc/hosts in our daemon containers

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

Conflicts:
qa/suites/orch/cephadm/dashboard/0-distro/centos_8.stream_container_tools.yaml
qa/suites/orch/cephadm/thrash-old-clients/0-size-min-size-overrides/.qa
qa/suites/orch/cephadm/workunits/task/test_iscsi_container/.qa
qa/suites/orch/cephadm/workunits/task/test_iscsi_container/centos_8.stream_container_tools.yaml
qa/suites/orch/cephadm/workunits/task/test_iscsi_container/test_iscsi_container.yaml
qa/suites/orch/cephadm/workunits/task/test_iscsi_pids_limit.yaml
qa/suites/orch/cephadm/workunits/task/test_iscsi_pids_limit/.qa
qa/suites/orch/cephadm/workunits/task/test_iscsi_pids_limit/centos_8.stream_container_tools.yaml
qa/suites/orch/cephadm/workunits/task/test_iscsi_pids_limit/test_iscsi_pids_limit.yaml
   (due to test_iscsi_pids_limit not backported)

2 years agocephadm: mount host /etc/hosts for containers in podman deployments
Adam King [Sat, 21 Jan 2023 23:44:22 +0000 (18:44 -0500)]
cephadm: mount host /etc/hosts for containers in podman deployments

Podman messes with the /etc/hosts file in certain version. There
was already a past issue with it placing the container name
there fixed by https://github.com/ceph/ceph/pull/42242. This time
it is adding an entry for "host.containers.internal" (seems to be
podman 4.1 onward currently). Iscsi figures out the FQDN for a
host by running

python3 -c 'import socket; print(socket.getfqdn())

which is resolving to "host.containers.internal" when run in
the container with the podman modified /etc/hosts.

There is also an issue with grafana dashboard with
this entry present

Passing --no-hosts resolves this, but I think in the past
we avoided that due to not wanting to break deployments
where host name resolution was handled using /etc/hosts.
That's why we had that workaround previously linked. This
time I'm not sure such a workaround exists. The try here
is to mount a copy of the host's version of /etc/hosts
into the iscsi container. That copy won't have the extra
entry podman adds in but will have any user created entries in
case they were actually using it for host name resolution.
If /etc/hosts file isn't present for whatever reason, we're
assuming that this user isn't using /etc/hosts for hostname
resolution, and just going back to passing --no-hosts.

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

2 years agodoc/rados: edit user-management (2 of x) 51157/head
Zac Dover [Tue, 18 Apr 2023 20:59:09 +0000 (22:59 +0200)]
doc/rados: edit user-management (2 of x)

Line-edit doc/rados/user-management.rst (2 of x). Some internal
references had to be removed, but these will be repaired when the next
part of this file is updated in a future PR.

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

2 years agomgr/dashboard: skip Create OSDs step in Cluster expansion 51150/head
Nizamudeen A [Fri, 14 Apr 2023 19:33:11 +0000 (01:03 +0530)]
mgr/dashboard: skip Create OSDs step in Cluster expansion

Its to ensure OSDs are not deployed on all hosts because that would make
the host draining impossible

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

2 years agoMerge pull request #50597 from neesingh-rh/wip-58986-pacific
Yuri Weinstein [Tue, 18 Apr 2023 15:04:04 +0000 (08:04 -0700)]
Merge pull request #50597 from neesingh-rh/wip-58986-pacific

pacific: cephfs-top: Handle `METRIC_TYPE_NONE` fields for sorting

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50305 from idryomov/wip-58647-pacific
Yuri Weinstein [Tue, 18 Apr 2023 15:01:37 +0000 (08:01 -0700)]
Merge pull request #50305 from idryomov/wip-58647-pacific

pacific: mon/MgrMap: dump last_failure_osd_epoch and active_clients at top level

Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #51081 from rhcs-dashboard/wip-59453-pacific
Nizamudeen A [Mon, 17 Apr 2023 13:39:22 +0000 (19:09 +0530)]
Merge pull request #51081 from rhcs-dashboard/wip-59453-pacific

pacific: mgr/dashboard: fix cephadm e2e expression changed error

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 years agoMerge pull request #51118 from zdover23/wip-doc-2023-04-17-backport-51114-to-pacific
colemitchell [Mon, 17 Apr 2023 10:43:36 +0000 (12:43 +0200)]
Merge pull request #51118 from zdover23/wip-doc-2023-04-17-backport-51114-to-pacific

pacific: doc/radosgw: format part of s3select

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/radosgw: format part of s3select 51118/head
Cole Mitchell [Mon, 17 Apr 2023 09:34:49 +0000 (05:34 -0400)]
doc/radosgw: format part of s3select

Partially format the 'Basic Workflow' section's introduction and 'Basic Functionalities' subsection in s3select. Nothing else is being fixed.

Signed-off-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
(cherry picked from commit 13cf134c0610509da52aa68e11e26f0740002bde)

2 years agoMerge pull request #51094 from zdover23/wip-doc-2023-04-16-backport-51091-to-pacific
zdover23 [Sun, 16 Apr 2023 16:26:30 +0000 (18:26 +0200)]
Merge pull request #51094 from zdover23/wip-doc-2023-04-16-backport-51091-to-pacific

pacific: doc/mgr/prometheus: fix confval reference

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #51109 from zdover23/wip-doc-2023-04-16-backport-51099-to-pacific
zdover23 [Sun, 16 Apr 2023 16:24:49 +0000 (18:24 +0200)]
Merge pull request #51109 from zdover23/wip-doc-2023-04-16-backport-51099-to-pacific

pacific: doc/dev: format command in cephfs-mirroring

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #51098 from zdover23/wip-doc-2023-04-16-backport-51062-to-pacific
zdover23 [Sun, 16 Apr 2023 16:22:54 +0000 (18:22 +0200)]
Merge pull request #51098 from zdover23/wip-doc-2023-04-16-backport-51062-to-pacific

pacific: doc/glossary: add "Hybrid Storage"

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/mgr/prometheus: fix confval reference 51094/head
Piotr Parczewski [Sat, 15 Apr 2023 21:16:35 +0000 (23:16 +0200)]
doc/mgr/prometheus: fix confval reference

Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
(cherry picked from commit b9b75dafe248e07b21f2958023697397094cc537)

2 years agodoc/dev: format command in cephfs-mirroring 51109/head
Zac Dover [Sun, 16 Apr 2023 09:11:27 +0000 (11:11 +0200)]
doc/dev: format command in cephfs-mirroring

Correctly format a command in doc/dev/cephfs-mirroring/#creating-users.

Reported by casanlin@init7.net at
https://pad.ceph.com/p/Report_Documentation_Bugs

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

2 years agoMerge pull request #51106 from zdover23/wip-doc-2023-04-16-backport-51103-to-pacific
colemitchell [Sun, 16 Apr 2023 14:43:19 +0000 (10:43 -0400)]
Merge pull request #51106 from zdover23/wip-doc-2023-04-16-backport-51103-to-pacific

pacific: doc/radosgw: format part of s3select

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/radosgw: format part of s3select 51106/head
Cole Mitchell [Sun, 16 Apr 2023 13:13:56 +0000 (09:13 -0400)]
doc/radosgw: format part of s3select

Format the first section of s3select. Nothing else is being fixed.

Signed-off-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
(cherry picked from commit a6a84471a7af154e7ccc93f51df2fc9744dc606c)

2 years agodoc/glossary: add "Hybrid Storage" 51098/head
Zac Dover [Thu, 13 Apr 2023 12:01:44 +0000 (14:01 +0200)]
doc/glossary: add "Hybrid Storage"

Add "Hybrid Storage" to the glossary.

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

2 years agoMerge pull request #51089 from zdover23/wip-doc-2023-04-15-backport-51086-to-pacific
Anthony D'Atri [Sat, 15 Apr 2023 09:45:47 +0000 (11:45 +0200)]
Merge pull request #51089 from zdover23/wip-doc-2023-04-15-backport-51086-to-pacific

pacific: doc/rados/ops: remove ceph-medic from monitoring

2 years agodoc/rados/ops: remove ceph-medic from monitoring 51089/head
Zac Dover [Sat, 15 Apr 2023 07:42:31 +0000 (09:42 +0200)]
doc/rados/ops: remove ceph-medic from monitoring

Remove mention of ceph-medic from doc/rados/operations/monitoring.rst,
because it is no longer supported.

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

2 years agomgr/dashboard: fix cephadm e2e expression changed error 51081/head
Nizamudeen A [Fri, 14 Apr 2023 06:03:16 +0000 (11:33 +0530)]
mgr/dashboard: fix cephadm e2e expression changed error

tried to fix this issue from the daemon component sometime ago several
times but it didn't work. So force ignoring the error

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

2 years agoMerge pull request #51066 from ceph/pacific-release
Yuri Weinstein [Fri, 14 Apr 2023 16:24:08 +0000 (09:24 -0700)]
Merge pull request #51066 from ceph/pacific-release

v16.2.12

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2 years agoMerge pull request #50712 from lxbsz/wip-52440
Yuri Weinstein [Fri, 14 Apr 2023 15:41:53 +0000 (08:41 -0700)]
Merge pull request #50712 from lxbsz/wip-52440

pacific: qa: test the "ms_mode" options in kclient workflows

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #51009 from rhcs-dashboard/wip-59419-pacific
Nizamudeen A [Fri, 14 Apr 2023 05:51:16 +0000 (11:21 +0530)]
Merge pull request #51009 from rhcs-dashboard/wip-59419-pacific

pacific: mgr/dashboard: fix eviction of all FS clients

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #51073 from zdover23/wip-doc-2023-04-14-backport-50166-to-pacific
Anthony D'Atri [Fri, 14 Apr 2023 01:50:26 +0000 (21:50 -0400)]
Merge pull request #51073 from zdover23/wip-doc-2023-04-14-backport-50166-to-pacific

pacific: doc/rgw: refine "Setting a Zonegroup"

2 years agodoc/rgw: refine "Setting a Zonegroup" 51073/head
Zac Dover [Sun, 19 Feb 2023 13:50:43 +0000 (23:50 +1000)]
doc/rgw: refine "Setting a Zonegroup"

Streamline the "Setting a Zonegroup" section by separating out the
necessary prerequisite reading from the procedure itself.

I also corrected a typo in the word "following" in an unrelated section.

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

2 years ago16.2.12 51066/head v16.2.12
Ceph Release Team [Thu, 13 Apr 2023 21:54:07 +0000 (21:54 +0000)]
16.2.12

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
2 years agoMerge pull request #51038 from rhcs-dashboard/wip-59403-pacific
Nizamudeen A [Thu, 13 Apr 2023 20:11:53 +0000 (01:41 +0530)]
Merge pull request #51038 from rhcs-dashboard/wip-59403-pacific

pacific: mgr/dashboard: fix create osd default selected as recommended not working

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years ago16.2.12
Ceph Release Team [Thu, 13 Apr 2023 14:09:26 +0000 (14:09 +0000)]
16.2.12

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
2 years agoMerge pull request #51065 from zdover23/wip-doc-2023-04-13-backport-50713-to-pacific
Anthony D'Atri [Thu, 13 Apr 2023 12:35:09 +0000 (08:35 -0400)]
Merge pull request #51065 from zdover23/wip-doc-2023-04-13-backport-50713-to-pacific

pacific: doc/glossary: improve "CephX" entry

2 years agodoc/glossary: improve "CephX" entry 51065/head
Zac Dover [Tue, 28 Mar 2023 08:42:11 +0000 (18:42 +1000)]
doc/glossary: improve "CephX" entry

Improve the glossary entry for "CephX".

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

2 years agoMerge pull request #51037 from zdover23/wip-doc-2023-04-12-backport-50993-to-pacific
zdover23 [Wed, 12 Apr 2023 09:42:25 +0000 (19:42 +1000)]
Merge pull request #51037 from zdover23/wip-doc-2023-04-12-backport-50993-to-pacific

pacific: doc/rados/operations: edit monitoring.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50996 from guits/cv-bkp-50473-pacific
Guillaume Abrioux [Wed, 12 Apr 2023 07:58:34 +0000 (09:58 +0200)]
Merge pull request #50996 from guits/cv-bkp-50473-pacific

ceph-volume: update the OS before deploying Ceph (pacific)

2 years agomgr/dashboard: fix create osds step failing on the default option 51038/head
Nizamudeen A [Thu, 6 Apr 2023 06:37:20 +0000 (12:07 +0530)]
mgr/dashboard: fix create osds step failing on the default option

the backend was reporting with a keyError which doesn't find the
`encrypted` key.

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

2 years agomgr/dashboard: add option to skip the create OSDs step
Nizamudeen A [Wed, 5 Apr 2023 06:37:11 +0000 (12:07 +0530)]
mgr/dashboard: add option to skip the create OSDs step

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

2 years agodoc/rados/operations: edit monitoring.rst 51037/head
Zac Dover [Tue, 11 Apr 2023 04:15:47 +0000 (14:15 +1000)]
doc/rados/operations: edit monitoring.rst

Line-edit the final third of doc/rados/operations/monitoring.rst.

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

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 b9ccad80608953fc0af779e8cad93971d47649b6)

2 years agoMerge pull request #50872 from idryomov/wip-59208-pacific
Yuri Weinstein [Tue, 11 Apr 2023 20:05:42 +0000 (13:05 -0700)]
Merge pull request #50872 from idryomov/wip-59208-pacific

pacific: librbd: fix wrong attribute for rbd_quiesce_complete API

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #50836 from pkalever/wip-59061-pacific
Yuri Weinstein [Tue, 11 Apr 2023 20:04:32 +0000 (13:04 -0700)]
Merge pull request #50836 from pkalever/wip-59061-pacific

pacific: librbd: report better errors when failing to enable mirroring on an image

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #50940 from cbodley/wip-qa-rgw-multifs-ubuntu-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:38:09 +0000 (12:38 -0700)]
Merge pull request #50940 from cbodley/wip-qa-rgw-multifs-ubuntu-pacific

pacific: qa/rgw: use symlinks to specify distro

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoMerge pull request #50886 from cfsnyder/wip-58511-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:36:49 +0000 (12:36 -0700)]
Merge pull request #50886 from cfsnyder/wip-58511-pacific

 pacific: rgw: optimizations for handling ECANCELED errors from within get_obj_state

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49097 from cfsnyder/wip-57238-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:36:15 +0000 (12:36 -0700)]
Merge pull request #49097 from cfsnyder/wip-57238-pacific

pacific: rgw/coroutine: check for null stack on wakeup

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49091 from cfsnyder/wip-54155-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:35:49 +0000 (12:35 -0700)]
Merge pull request #49091 from cfsnyder/wip-54155-pacific

pacific: rgw: "reshard cancel" errors with "invalid argument"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49089 from cfsnyder/wip-55505-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:35:21 +0000 (12:35 -0700)]
Merge pull request #49089 from cfsnyder/wip-55505-pacific

pacific: rgw: RGWPutLC does not require Content-MD5

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49086 from cfsnyder/wip-57409-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:34:46 +0000 (12:34 -0700)]
Merge pull request #49086 from cfsnyder/wip-57409-pacific

pacific: rgw: bucket list operation slow down in special scenario

Reviewed-by: Casey Bodley <cbodley@redhat.com>