]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
21 months agodoc/architecture: "Edit HA Auth" (one of several) 53586/head
Zac Dover [Sun, 17 Sep 2023 20:41:28 +0000 (06:41 +1000)]
doc/architecture: "Edit HA Auth" (one of several)

Edit "High Availability Authentication" in doc/architecture.rst.

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

21 months agoMerge pull request #53570 from zdover23/wip-doc-2023-09-21-backport-53176-to-quincy
zdover23 [Thu, 21 Sep 2023 17:06:57 +0000 (03:06 +1000)]
Merge pull request #53570 from zdover23/wip-doc-2023-09-21-backport-53176-to-quincy

quincy: doc: add note for removing (automatic) partitioning policy

Reviewed-by: Venky Shankar <vshankar@redhat.com>
21 months agodoc: add note for removing (automatic) partitioning policy 53570/head
Venky Shankar [Mon, 28 Aug 2023 10:42:57 +0000 (16:12 +0530)]
doc: add note for removing (automatic) partitioning policy

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

21 months agoMerge pull request #53540 from guits/wip-62894-quincy
Guillaume Abrioux [Thu, 21 Sep 2023 06:16:09 +0000 (08:16 +0200)]
Merge pull request #53540 from guits/wip-62894-quincy

quincy: ceph-volume: fix mpath device support

21 months agoMerge pull request #53541 from zdover23/wip-doc-2023-09-20-backport-53518-to-quincy
Anthony D'Atri [Wed, 20 Sep 2023 14:14:56 +0000 (10:14 -0400)]
Merge pull request #53541 from zdover23/wip-doc-2023-09-20-backport-53518-to-quincy

quincy: doc/dev: Fix typos in files cephfs-mirroring.rst and deduplication.rst

21 months agodoc/dev: Fix typos in files cephfs-mirroring.rst and deduplication.rst 53541/head
Daniel Parkes [Mon, 18 Sep 2023 21:03:28 +0000 (23:03 +0200)]
doc/dev: Fix typos in files cephfs-mirroring.rst and deduplication.rst

Typo Error in Doc cephfs-mirroring.rst , replace RAODS with RADOS
Typo Error in Doc deduplication.rst , replace RAODS with RADOS

Signed-off-by: Daniel Parkes <dparkes@redhat.com>
(cherry picked from commit 06358e8d17a0e0fbd5d94b14595ade778a4fb5eb)

21 months agoMerge pull request #53533 from zdover23/wip-doc-2023-09-19-quincy-backport-deduplicat...
zdover23 [Wed, 20 Sep 2023 07:58:32 +0000 (17:58 +1000)]
Merge pull request #53533 from zdover23/wip-doc-2023-09-19-quincy-backport-deduplication.rst

quincy: doc/dev: backport deduplication.rst to Quincy

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agoceph-volume: fix mpath device support 53540/head
Guillaume Abrioux [Wed, 6 Sep 2023 09:30:41 +0000 (09:30 +0000)]
ceph-volume: fix mpath device support

commit [1] broke mpath devices support in `disk.is_device()`

[1] https://github.com/ceph/ceph/commit/4fc6bc394dffaf3ad375ff29cbb0a3eb9e4dbefc

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

22 months agoMerge pull request #52951 from k0ste/wip-61724-quincy
Adam Kupczyk [Tue, 19 Sep 2023 13:30:14 +0000 (15:30 +0200)]
Merge pull request #52951 from k0ste/wip-61724-quincy

quincy: Bluestore: fix bluestore collection_list latency perf counter

22 months agodoc/dev: backport deduplication.rst to Quincy 53533/head
Zac Dover [Tue, 19 Sep 2023 13:27:46 +0000 (23:27 +1000)]
doc/dev: backport deduplication.rst to Quincy

Backport doc/dev/deduplication.rst to Quincy.

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoMerge pull request #53492 from zdover23/wip-doc-2023-09-18-backport-53490-to-quincy
Anthony D'Atri [Sun, 17 Sep 2023 21:12:10 +0000 (17:12 -0400)]
Merge pull request #53492 from zdover23/wip-doc-2023-09-18-backport-53490-to-quincy

quincy: doc/architecture: "Edit HA Auth" (one of several)

22 months agodoc/architecture: "Edit HA Auth" (one of several) 53492/head
Zac Dover [Sun, 17 Sep 2023 08:56:40 +0000 (18:56 +1000)]
doc/architecture: "Edit HA Auth" (one of several)

Edit "High Availability Authentication" in doc/architecture.rst.

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

22 months agoMerge pull request #53489 from zdover23/wip-doc-2023-09-17-backport-53487-to-quincy
Anthony D'Atri [Sun, 17 Sep 2023 14:44:09 +0000 (10:44 -0400)]
Merge pull request #53489 from zdover23/wip-doc-2023-09-17-backport-53487-to-quincy

quincy: doc/architecture: Edit "HA Auth"

22 months agodoc/architecture: Edit "HA Auth" 53489/head
Zac Dover [Sat, 16 Sep 2023 12:27:29 +0000 (22:27 +1000)]
doc/architecture: Edit "HA Auth"

Edit "High Availability Authentication" in doc/architecture.rst.

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

22 months agoMerge pull request #48125 from guits/wip-57567-quincy
Guillaume Abrioux [Fri, 15 Sep 2023 07:58:21 +0000 (09:58 +0200)]
Merge pull request #48125 from guits/wip-57567-quincy

quincy: ceph-volume: fix inventory with device arg

22 months agoMerge pull request #52941 from ifed01/wip-ifed-fix-55260-qui
Guillaume Abrioux [Fri, 15 Sep 2023 07:57:42 +0000 (09:57 +0200)]
Merge pull request #52941 from ifed01/wip-ifed-fix-55260-qui

quincy: os/bluestore: don't require bluestore_db_block_size when attaching new

22 months agoMerge pull request #52874 from ifed01/wip-ifed-encrypted-ceph-volume-qui
Guillaume Abrioux [Fri, 15 Sep 2023 07:56:39 +0000 (09:56 +0200)]
Merge pull request #52874 from ifed01/wip-ifed-encrypted-ceph-volume-qui

quincy: ceph_volume: support encrypted volumes for lvm new-db/new-wal/migrate commands

22 months agoMerge pull request #53287 from guits/wip-62707-quincy
Guillaume Abrioux [Fri, 15 Sep 2023 07:55:54 +0000 (09:55 +0200)]
Merge pull request #53287 from guits/wip-62707-quincy

quincy: ceph-volume/cephadm: support lv devices in inventory

22 months agoMerge pull request #53452 from zdover23/wip-doc-2023-09-14-backport-53444-to-quincy
Anthony D'Atri [Thu, 14 Sep 2023 03:42:33 +0000 (23:42 -0400)]
Merge pull request #53452 from zdover23/wip-doc-2023-09-14-backport-53444-to-quincy

quincy: doc/architecture: edit "High Avail. Monitors"

22 months agodoc/architecture: edit "High Avail. Monitors" 53452/head
Zac Dover [Wed, 13 Sep 2023 14:09:45 +0000 (00:09 +1000)]
doc/architecture: edit "High Avail. Monitors"

Improve the sentence structure in the "High Availability Monitors"
section of doc/architecture.rst.

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

22 months agoMerge pull request #53435 from zdover23/wip-doc-2023-09-13-backport-53423-to-quincy
zdover23 [Wed, 13 Sep 2023 14:22:01 +0000 (00:22 +1000)]
Merge pull request #53435 from zdover23/wip-doc-2023-09-13-backport-53423-to-quincy

quincy: doc/architecture: edit "Cluster Map"

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
22 months agodoc/architecture: edit "Cluster Map" 53435/head
Zac Dover [Tue, 12 Sep 2023 11:17:40 +0000 (21:17 +1000)]
doc/architecture: edit "Cluster Map"

Edit the section "Cluster Map" in doc/architecture.rst.

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

22 months agoMerge pull request #53428 from zdover23/wip-doc-2023-09-13-backport-53422-to-quincy
Anthony D'Atri [Tue, 12 Sep 2023 18:58:26 +0000 (14:58 -0400)]
Merge pull request #53428 from zdover23/wip-doc-2023-09-13-backport-53422-to-quincy

quincy: doc/glossary: add "primary affinity" to glossary

22 months agodoc/glossary: add "primary affinity" to glossary 53428/head
Zac Dover [Tue, 12 Sep 2023 10:56:03 +0000 (20:56 +1000)]
doc/glossary: add "primary affinity" to glossary

Add "Primary Affinity" to the glossary and link to the information in
the RADOS documentation that (more or less) explains it.

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

22 months agoMerge pull request #53421 from zdover23/wip-doc-2023-09-12-backport-53389-to-quincy
Anthony D'Atri [Tue, 12 Sep 2023 16:02:24 +0000 (12:02 -0400)]
Merge pull request #53421 from zdover23/wip-doc-2023-09-12-backport-53389-to-quincy

quincy: doc: Add warning on manual CRUSH rule removal

22 months agoMerge pull request #53401 from rishabh-d-dave/wip-62805-quincy
zdover23 [Tue, 12 Sep 2023 10:38:51 +0000 (20:38 +1000)]
Merge pull request #53401 from rishabh-d-dave/wip-62805-quincy

quincy: doc/cephfs: write cephfs commands fully in docs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agodoc: Add warning on manual CRUSH rule removal 53421/head
Alvin Owyong [Mon, 11 Sep 2023 09:15:15 +0000 (17:15 +0800)]
doc: Add warning on manual CRUSH rule removal

Add warning for "osd erasure-code-profile rm" section under rados/operations.

Signed-off-by: Alvin Owyong <70066269+alvinowyong@users.noreply.github.com>
(cherry picked from commit f944fa8ddb022656dac3f1faebe81a7de37380f6)

22 months agodoc/cephfs: write cephfs commands fully in docs 53401/head
Rishabh Dave [Mon, 11 Sep 2023 09:55:46 +0000 (15:25 +0530)]
doc/cephfs: write cephfs commands fully in docs

We write CephFS commands incompletely in docs. For example, "ceph tell
mds.a help" is simply written as "tell mds.a help". This might confuse
the reader and it won't harm to write the command in full.

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

22 months agoMerge pull request #53387 from rhcs-dashboard/wip-62789-quincy
Nizamudeen A [Mon, 11 Sep 2023 11:55:02 +0000 (17:25 +0530)]
Merge pull request #53387 from rhcs-dashboard/wip-62789-quincy

quincy: mgr/dashboard: images -> edit -> disable checkboxes for layering and deef-flatten

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53338 from idryomov/wip-62773-quincy
Ilya Dryomov [Mon, 11 Sep 2023 11:51:19 +0000 (13:51 +0200)]
Merge pull request #53338 from idryomov/wip-62773-quincy

quincy: qa/suites/upgrade/quincy-p2p: skip TestClsRbd.mirror_snapshot test

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
22 months agomgr/dashboard: images: disable checkboxes for layering & deef-flatten 53387/head
avanthakkar [Mon, 21 Aug 2023 16:51:32 +0000 (22:21 +0530)]
mgr/dashboard: images: disable checkboxes for layering & deef-flatten

Fixes: https://tracker.ceph.com/issues/62502
Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit 9e820cf42e22a6586f18edc4232e1ce1f4e2c443)

22 months agoMerge pull request #53373 from zdover23/wip-doc-2023-09-11-backport-53371-to-quincy
Anthony D'Atri [Sun, 10 Sep 2023 18:05:51 +0000 (14:05 -0400)]
Merge pull request #53373 from zdover23/wip-doc-2023-09-11-backport-53371-to-quincy

quincy: doc/architecture.rst - edit a sentence

22 months agodoc/architecture.rst - edit a sentence 53373/head
Zac Dover [Sun, 10 Sep 2023 16:31:30 +0000 (02:31 +1000)]
doc/architecture.rst - edit a sentence

Change the sentence structure of a sentence because the verb
"experience" looked like the abstract noun "experience" when I read it
with fresh eyes. I chose the perhaps TESOL-unfriendly verb "incur", but
I believe it is right.

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

22 months agoMerge pull request #53367 from zdover23/wip-doc-2023-09-10-backport-53353-to-quincy
Anthony D'Atri [Sun, 10 Sep 2023 12:16:12 +0000 (08:16 -0400)]
Merge pull request #53367 from zdover23/wip-doc-2023-09-10-backport-53353-to-quincy

quincy: doc/architecture.rst - edit up to "Cluster Map"

22 months agodoc/architecture.rst - edit up to "Cluster Map" 53367/head
Zac Dover [Sun, 10 Sep 2023 03:10:09 +0000 (13:10 +1000)]
doc/architecture.rst - edit up to "Cluster Map"

Edit doc/architecture.rst up to "Cluster Map", but not including
"Cluster Map".

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

22 months agoMerge pull request #53348 from zdover23/wip-doc-2023-09-09-backport-53335-to-quincy
Anthony D'Atri [Sat, 9 Sep 2023 14:48:27 +0000 (10:48 -0400)]
Merge pull request #53348 from zdover23/wip-doc-2023-09-09-backport-53335-to-quincy

quincy: doc/configuration: edit "bg" in mon-config-ref.rst

22 months agoMerge pull request #53350 from zdover23/wip-doc-2023-09-09-backport-53334-to-quincy
Anthony D'Atri [Sat, 9 Sep 2023 14:39:10 +0000 (10:39 -0400)]
Merge pull request #53350 from zdover23/wip-doc-2023-09-09-backport-53334-to-quincy

quincy: doc: update test cluster commands in README.md

22 months agodoc: update test cluster commands in README.md 53350/head
Zac Dover [Fri, 8 Sep 2023 11:00:38 +0000 (21:00 +1000)]
doc: update test cluster commands in README.md

The "rbd" pool has not been created by default since Luminous. This
commit removes a command that assumed the existence of the "rbd" pool.

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

22 months agodoc/configuration: edit "bg" in mon-config-ref.rst 53348/head
Zac Dover [Fri, 8 Sep 2023 11:53:51 +0000 (21:53 +1000)]
doc/configuration: edit "bg" in mon-config-ref.rst

Edit the English in the section "Background" in
doc/rados/configuration/mon-config-ref.rst.

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

22 months agoqa/suites/upgrade/quincy-p2p: skip TestClsRbd.mirror_snapshot test 53338/head
Ilya Dryomov [Fri, 8 Sep 2023 11:52:34 +0000 (13:52 +0200)]
qa/suites/upgrade/quincy-p2p: skip TestClsRbd.mirror_snapshot test

The behavior of the class method changed in reef; the change was
backported to pacific and quincy.  An older quincy binary used against
newer quincy OSDs produces an expected failure:

    [ RUN      ] TestClsRbd.mirror_snapshot
    .../ceph-17.2.0/src/test/cls_rbd/test_cls_rbd.cc:2278: Failure
    Expected equality of these values:
      -85
      mirror_image_snapshot_unlink_peer(&ioctx, oid, 1, "peer2")
        Which is: 0
    [  FAILED  ] TestClsRbd.mirror_snapshot (49 ms)

TestClsRbd.snapshots_namespaces test was removed in commit 4ad9d565a15c
("librbd: simplified retrieving snapshots from image header") many years
ago.

Fixes: https://tracker.ceph.com/issues/62773
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
22 months agoMerge pull request #53303 from rhcs-dashboard/wip-62718-quincy
Nizamudeen A [Thu, 7 Sep 2023 10:27:19 +0000 (15:57 +0530)]
Merge pull request #53303 from rhcs-dashboard/wip-62718-quincy

quincy: mgr/dashboard: remove used and total used columns in favor of usage bar

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53318 from zdover23/wip-doc-2023-09-07-backport-53300-to-quincy
Anthony D'Atri [Wed, 6 Sep 2023 16:42:19 +0000 (12:42 -0400)]
Merge pull request #53318 from zdover23/wip-doc-2023-09-07-backport-53300-to-quincy

quincy: doc/rados: add bulk flag to pools.rst

22 months agoMerge pull request #53316 from zdover23/wip-doc-2023-09-07-backport-53314-to-quincy
Anthony D'Atri [Wed, 6 Sep 2023 16:31:33 +0000 (12:31 -0400)]
Merge pull request #53316 from zdover23/wip-doc-2023-09-07-backport-53314-to-quincy

quincy: doc/man: radosgw-admin.rst typo

22 months agodoc/rados: add bulk flag to pools.rst 53318/head
Zac Dover [Wed, 6 Sep 2023 06:14:42 +0000 (16:14 +1000)]
doc/rados: add bulk flag to pools.rst

Add a link in pools.rst to the section in placement-groups.rst
describing the commands used to manage pools that are flagged "--bulk".

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

22 months agodoc/man: radosgw-admin.rst typo 53316/head
Zac Dover [Wed, 6 Sep 2023 14:23:06 +0000 (00:23 +1000)]
doc/man: radosgw-admin.rst typo

Edit the text in the "bucket radoslist" entry.

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

22 months agoMerge pull request #53313 from zdover23/wip-doc-2023-09-07-backport-53302-to-quincy
Anthony D'Atri [Wed, 6 Sep 2023 15:15:09 +0000 (11:15 -0400)]
Merge pull request #53313 from zdover23/wip-doc-2023-09-07-backport-53302-to-quincy

quincy: doc/man: remove docs about support for unix domain sockets

22 months agodoc/man: remove docs about support for unix domain sockets 53313/head
Zac Dover [Wed, 6 Sep 2023 06:33:43 +0000 (16:33 +1000)]
doc/man: remove docs about support for unix domain sockets

doc/man: support for unix domain sockets is not implemented, hence we
removed documentation about it.

(Note: the changes in this commit were the work of Rok Jaklič in
https://github.com/ceph/ceph/pull/48537. This pull request has been
raised because that pull request was for some mysterious reason causing
merge conflicts that were never resolved.)

Co-authored-by: Rok Jaklič rjaklic@gmail.com
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit fa40b7ef560fc60a107dad1604650e0bcf27e77e)

22 months agomgr/dashboard: remove used and total used columns in favor of usage bar 53303/head
Pedro Gonzalez Gomez [Mon, 4 Sep 2023 14:45:30 +0000 (16:45 +0200)]
mgr/dashboard: remove used and total used columns in favor of usage bar

Fixes: https://tracker.ceph.com/issues/62697
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 802410d4b15c63e756c31672816ef8985341b47c)

22 months agoMerge pull request #50974 from mchangir/wip-59201-quincy
Venky Shankar [Wed, 6 Sep 2023 05:53:27 +0000 (11:23 +0530)]
Merge pull request #50974 from mchangir/wip-59201-quincy

quincy: qa: add subvolume option flavors

Reviewed-by: Venky Shankar <vshankar@redhat.com>
22 months agoMerge pull request #53253 from rhcs-dashboard/wip-62656-quincy
Nizamudeen A [Wed, 6 Sep 2023 05:21:04 +0000 (10:51 +0530)]
Merge pull request #53253 from rhcs-dashboard/wip-62656-quincy

quincy: mgr/dashboard: fix image columns naming

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoceph-volume: support partitions in inventory 53287/head
Guillaume Abrioux [Thu, 10 Aug 2023 09:01:22 +0000 (09:01 +0000)]
ceph-volume: support partitions in inventory

This makes ceph-volume report partitions in inventory.
A partition is a valid device for `ceph-volume lvm prepare`
so we should report them in inventory (when using `--list-all`
parameter).

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 00ba00fdfab8cb4969d46838e44cff3a03fc16ca)

22 months agoceph-volume: drop is_locked_raw_device()
Guillaume Abrioux [Thu, 10 Aug 2023 08:01:12 +0000 (08:01 +0000)]
ceph-volume: drop is_locked_raw_device()

This functions works for what it is supposed to do:

check if a device is busy.

That being said, this induces a race condition in `get_devices()`

Indeed, it does:

1/ `os.open()` with `(os.O_RDWR | os.O_EXCL)`
2/ `os.close()`

The second call has an effect: it triggers a udev event which causes
systemd-udevd to re-process the device. This seems to be a question of
millisecond but because of this, /sys (sysfs) isn't fully populated as
expected. Given that get_devices() collects a lot of details from sysfs
in a loop, some of these details can be missed.

ceph-volume overall doesn't make decisions based on `is_locked_raw_device()`
This detail is used only for reporting (inventory).
For this reason, dropping this function seems reasonnable.
As a compromise, we can check if the device has partitions and/or a FileSystem
on it.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 2422ad867dff9d526d7e8be543178c897991097f)

22 months agoceph-volume: add two unit tests
Guillaume Abrioux [Wed, 9 Aug 2023 08:22:13 +0000 (08:22 +0000)]
ceph-volume: add two unit tests

This adds two unit tests in order to cover `test_get_mapper_from_lv_path()`
and `test_get_lv_path_from_mapper()` functions from `api.lvm`

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit a485883f62df388ed19bd91a996ec543c0a9a30f)

22 months agocephadm: add new config option
Guillaume Abrioux [Tue, 8 Aug 2023 15:04:17 +0000 (15:04 +0000)]
cephadm: add new config option

This adds a new config option 'inventory_list_all' so one can make
the command `ceph orch device ls` report lvm devices too as they are
valid devices that can be used to be prepared as OSDs.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit e98ec820cf3acd1711d09e63ec5df8787a369cef)

22 months agoceph-volume: add new parameter '--list-all' to inventory
Guillaume Abrioux [Tue, 8 Aug 2023 15:03:02 +0000 (15:03 +0000)]
ceph-volume: add new parameter '--list-all' to inventory

The inventory should report LV devices as they are valid devices that
can be used to be prepared as OSDs.

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

22 months agoceph-volume: support type=lvm in get_devices()
Guillaume Abrioux [Tue, 8 Aug 2023 12:08:14 +0000 (12:08 +0000)]
ceph-volume: support type=lvm in get_devices()

LV devices are valid devices, they shouldn't be filtered in
`disk.get_devices()`

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 5470a86f9259843130d379515b96f5ced7969f27)

22 months agoceph-volume: add two helper functions
Guillaume Abrioux [Tue, 8 Aug 2023 12:06:41 +0000 (12:06 +0000)]
ceph-volume: add two helper functions

this adds `get_lv_path_from_mapper()` and `get_mapper_from_lv_path()`
functions in api.lvm.

they will help translating either an LV path from `/dev/mapper/LV`
to the format `/dev/VG/LV` or the opposite.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit c7164dfd599a1b406f9f1c870212cc0cbf08317d)

22 months agoMerge pull request #53268 from zdover23/wip-doc-2023-09-04-backport-53264-to-quincy
Anthony D'Atri [Sun, 3 Sep 2023 22:10:59 +0000 (18:10 -0400)]
Merge pull request #53268 from zdover23/wip-doc-2023-09-04-backport-53264-to-quincy

quincy: doc/man/8: improve radosgw-admin.rst

22 months agodoc/man/8: improve radosgw-admin.rst 53268/head
Anthony D'Atri [Sun, 3 Sep 2023 13:56:44 +0000 (09:56 -0400)]
doc/man/8: improve radosgw-admin.rst

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

22 months agoMerge pull request #53262 from zdover23/wip-doc-2023-09-03-backport-50360-to-quincy
Anthony D'Atri [Sun, 3 Sep 2023 12:17:25 +0000 (08:17 -0400)]
Merge pull request #53262 from zdover23/wip-doc-2023-09-03-backport-50360-to-quincy

quincy: doc/radosgw: multisite - edit "migrating a single-site"

22 months agodoc/radosgw: multisite - edit "migrating a single-site" 53262/head
tgfree [Fri, 3 Mar 2023 03:17:59 +0000 (11:17 +0800)]
doc/radosgw: multisite - edit "migrating a single-site"
Add the import step of the section "Migrating a Single-Site Deployment to Multi-Site"
in doc/radosgw/multisite.rst. The field "name" and "api_name" should be matched.

Signed-off-by: Qi Tao <tgfree7@gmail.com>
(cherry picked from commit 579c14055d202429ad25a469c30a3d68e0329391)

22 months agoMerge pull request #53259 from zdover23/wip-doc-2023-09-02-backport-53247-to-quincy
Anthony D'Atri [Fri, 1 Sep 2023 23:10:02 +0000 (19:10 -0400)]
Merge pull request #53259 from zdover23/wip-doc-2023-09-02-backport-53247-to-quincy

quincy: doc/README.md - improve "Running a test cluster"

22 months agodoc/README.md - improve "Running a test cluster" 53259/head
Zac Dover [Fri, 1 Sep 2023 00:19:58 +0000 (10:19 +1000)]
doc/README.md - improve "Running a test cluster"

Improve the English in the section "Running a test cluster in the
ceph/README.md file.

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

22 months agomgr/dashboard: fix image columns naming 53253/head
Pedro Gonzalez Gomez [Wed, 23 Aug 2023 16:34:55 +0000 (18:34 +0200)]
mgr/dashboard: fix image columns naming

Fixes: https://tracker.ceph.com/issues/62551
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 338bb5c8a46e2a84fd139c392302e7ff846d3ef8)

22 months agoMerge pull request #53225 from rhcs-dashboard/wip-62599-quincy
Nizamudeen A [Thu, 31 Aug 2023 05:17:48 +0000 (10:47 +0530)]
Merge pull request #53225 from rhcs-dashboard/wip-62599-quincy

quincy: mgr/dashboard: n/a entries behind primary snapshot mode

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
22 months agoMerge pull request #53226 from zdover23/wip-doc-2023-08-30-backport-53213-to-quincy
Anthony D'Atri [Wed, 30 Aug 2023 16:17:36 +0000 (12:17 -0400)]
Merge pull request #53226 from zdover23/wip-doc-2023-08-30-backport-53213-to-quincy

quincy: doc/cephadm: edit "Adding Hosts" in install.rst

22 months agodoc/cephadm: edit "Adding Hosts" in install.rst 53226/head
Zac Dover [Tue, 29 Aug 2023 22:33:09 +0000 (08:33 +1000)]
doc/cephadm: edit "Adding Hosts" in install.rst

Edit the English in the "Adding Hosts" section of
doc/cephadm/install.rst.

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

22 months agomgr/dashboard: n/a entries behind primary snapshot mode 53225/head
Pere Diaz Bou [Mon, 12 Jun 2023 09:16:33 +0000 (11:16 +0200)]
mgr/dashboard: n/a entries behind primary snapshot mode

Fixes: https://tracker.ceph.com/issues/62576
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
(cherry picked from commit 6066e37ad3c6bc43c3e5e4313a89265007e7d0d8)

22 months agoMerge pull request #53216 from rhcs-dashboard/wip-62633-quincy
Nizamudeen A [Wed, 30 Aug 2023 11:04:32 +0000 (16:34 +0530)]
Merge pull request #53216 from rhcs-dashboard/wip-62633-quincy

quincy: mgr/dashboard: fix rgw page issues when hostname not resolvable

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
22 months agomgr/dashboard: fix rgw page issues when hostname not resolvable 53216/head
Nizamudeen A [Thu, 24 Aug 2023 11:47:29 +0000 (17:17 +0530)]
mgr/dashboard: fix rgw page issues when hostname not resolvable

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

 Conflicts:
src/pybind/mgr/dashboard/services/rgw_client.py
  - only keep the CephService import

22 months agoMerge pull request #52706 from rhcs-dashboard/wip-62239-quincy
Nizamudeen A [Wed, 30 Aug 2023 05:35:06 +0000 (11:05 +0530)]
Merge pull request #52706 from rhcs-dashboard/wip-62239-quincy

quincy: mgr/dashboard: allow PUT in CORS

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
22 months agoMerge pull request #51867 from rhcs-dashboard/wip-61492-quincy
Nizamudeen A [Wed, 30 Aug 2023 04:44:40 +0000 (10:14 +0530)]
Merge pull request #51867 from rhcs-dashboard/wip-61492-quincy

quincy: mgr/dashboard: fix the rgw roles page

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
22 months agoMerge pull request #53203 from rhcs-dashboard/wip-62619-quincy
Nizamudeen A [Wed, 30 Aug 2023 04:43:18 +0000 (10:13 +0530)]
Merge pull request #53203 from rhcs-dashboard/wip-62619-quincy

quincy: mgr/dashboard: set CORS header for unauthorized access

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
22 months agomgr/dashboard: add more e2e for cephx users 51867/head
Nizamudeen A [Wed, 24 May 2023 16:45:59 +0000 (22:15 +0530)]
mgr/dashboard: add more e2e for cephx users

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

22 months agomgr/dashboard: allow CORS for unauthorized access 53203/head
Nizamudeen A [Mon, 28 Aug 2023 05:15:28 +0000 (10:45 +0530)]
mgr/dashboard: allow CORS for unauthorized access

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

22 months agoMerge pull request #53200 from zdover23/wip-doc-2023-08-29-backport-53198-to-quincy
Anthony D'Atri [Tue, 29 Aug 2023 03:35:08 +0000 (23:35 -0400)]
Merge pull request #53200 from zdover23/wip-doc-2023-08-29-backport-53198-to-quincy

quincy: doc/cephadm: add ssh note to install.rst

22 months agodoc/cephadm: add ssh note to install.rst 53200/head
Zac Dover [Mon, 28 Aug 2023 22:55:19 +0000 (08:55 +1000)]
doc/cephadm: add ssh note to install.rst

Add a note instructing the reader to have ssh running before the
"cephadm bootstrap" command is run.

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

22 months agoMerge pull request #52538 from cfsnyder/wip-62066-quincy
Yuri Weinstein [Mon, 28 Aug 2023 19:30:18 +0000 (12:30 -0700)]
Merge pull request #52538 from cfsnyder/wip-62066-quincy

quincy: rgw: fix consistency bug with OLH objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #53174 from rhcs-dashboard/wip-62601-quincy
Nizamudeen A [Mon, 28 Aug 2023 15:41:03 +0000 (21:11 +0530)]
Merge pull request #53174 from rhcs-dashboard/wip-62601-quincy

quincy: mgr/dashboard: disable protect if layering is not enabled on the image

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agorgw: fix/improve test_rgw_versioning.py tests 52538/head
Cory Snyder [Wed, 12 Jul 2023 14:08:07 +0000 (14:08 +0000)]
rgw: fix/improve test_rgw_versioning.py tests

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit aa1f40e80d78ce08a2f51dad6fadf620866d17a3)

22 months agoMerge pull request #53180 from zdover23/wip-doc-2023-08-28-backport-53096-to-quincy
Anthony D'Atri [Mon, 28 Aug 2023 13:37:21 +0000 (09:37 -0400)]
Merge pull request #53180 from zdover23/wip-doc-2023-08-28-backport-53096-to-quincy

quincy: doc/start: edit os-recommendations.rst

22 months agodoc/start: edit os-recommendations.rst 53180/head
Zac Dover [Wed, 23 Aug 2023 15:15:54 +0000 (01:15 +1000)]
doc/start: edit os-recommendations.rst

Improve the grammar in one sentence of the "Platforms" section of
doc/start/os-recommendations.rst. Improving that grammar involved
splitting the sentence into two sentences, but that's life. Update:
Anthony substantially rewrote this, so credit for this should rightly
go to him.

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

22 months agomgr/dashboard: disable protect if layering is not enabled on the image 53174/head
avanthakkar [Mon, 21 Aug 2023 13:34:53 +0000 (19:04 +0530)]
mgr/dashboard: disable protect if layering is not enabled on the image

Fixes: https://tracker.ceph.com/issues/62498
Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit 16e913f0ba3918732cfc9984f707379df65ac29a)

22 months agoMerge pull request #53147 from zdover23/wip-doc-2023-08-25-backport-53125-to-quincy
zdover23 [Mon, 28 Aug 2023 02:38:31 +0000 (12:38 +1000)]
Merge pull request #53147 from zdover23/wip-doc-2023-08-25-backport-53125-to-quincy

quincy: doc: expand and consolidate mds placement

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agoMerge pull request #53165 from zdover23/wip-doc-2023-08-27-backport-53163-to-quincy
Anthony D'Atri [Sat, 26 Aug 2023 21:21:09 +0000 (17:21 -0400)]
Merge pull request #53165 from zdover23/wip-doc-2023-08-27-backport-53163-to-quincy

quincy: doc/cephadm: edit sentence in mgr.rst

22 months agodoc/cephadm: edit sentence in mgr.rst 53165/head
Zac Dover [Sat, 26 Aug 2023 20:31:12 +0000 (06:31 +1000)]
doc/cephadm: edit sentence in mgr.rst

Improve the grammar in the first sentence of
doc/cephadm/services/mgr.rst. This is a small change, but I could not
resist.

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

22 months agodoc: expand and consolidate mds placement 53147/head
Patrick Donnelly [Thu, 24 Aug 2023 00:36:12 +0000 (20:36 -0400)]
doc: expand and consolidate mds placement

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 3a5f9dc37a72a83046a5749e42182322799e0306)

22 months agoMerge pull request #52228 from batrick/wip-61691-quincy
Yuri Weinstein [Thu, 24 Aug 2023 15:27:34 +0000 (08:27 -0700)]
Merge pull request #52228 from batrick/wip-61691-quincy

quincy:  mon/MDSMonitor: batch last_metadata update with pending

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
22 months agoMerge pull request #53060 from zdover23/wip-doc-2023-08-21-backport-52963-to-quincy
Anthony D'Atri [Mon, 21 Aug 2023 13:38:33 +0000 (09:38 -0400)]
Merge pull request #53060 from zdover23/wip-doc-2023-08-21-backport-52963-to-quincy

quincy: doc/troubleshooting: edit cpu-profiling.rst

22 months agodoc/troubleshooting: edit cpu-profiling.rst 53060/head
Zac Dover [Sun, 13 Aug 2023 06:55:55 +0000 (16:55 +1000)]
doc/troubleshooting: edit cpu-profiling.rst

Improve the language in the "oprofile" section of the RADOS
Troubleshooting Guide.

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

22 months agoMerge pull request #52503 from lxbsz/wip-62010
Xiubo Li [Mon, 21 Aug 2023 02:11:10 +0000 (10:11 +0800)]
Merge pull request #52503 from lxbsz/wip-62010

quincy: client: wait rename to finish

22 months agoMerge pull request #52498 from lxbsz/wip-62045
Xiubo Li [Mon, 21 Aug 2023 00:29:10 +0000 (08:29 +0800)]
Merge pull request #52498 from lxbsz/wip-62045

quincy: client: trigger to flush the buffer when making snapshot

22 months agoMerge pull request #50991 from lxbsz/wip-59199
Xiubo Li [Mon, 21 Aug 2023 00:26:08 +0000 (08:26 +0800)]
Merge pull request #50991 from lxbsz/wip-59199

quincy: qa: enable kclient test for newop test

22 months agoMerge pull request #53058 from zdover23/wip-doc-2023-08-20-backport-53055-to-quincy
Anthony D'Atri [Sun, 20 Aug 2023 23:49:22 +0000 (19:49 -0400)]
Merge pull request #53058 from zdover23/wip-doc-2023-08-20-backport-53055-to-quincy

quincy: doc/README.md - edit "Building Ceph"

23 months agodoc/README.md - edit "Building Ceph" 53058/head
Zac Dover [Sat, 19 Aug 2023 09:29:08 +0000 (19:29 +1000)]
doc/README.md - edit "Building Ceph"

Improve the "Building Ceph" section of ceph/README.md.

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

23 months agoMerge pull request #53050 from zdover23/wip-doc-2023-08-18-backport-53035-to-quincy
Anthony D'Atri [Fri, 18 Aug 2023 12:55:16 +0000 (08:55 -0400)]
Merge pull request #53050 from zdover23/wip-doc-2023-08-18-backport-53035-to-quincy

quincy: doc: edit README.md - contributing code

23 months agodoc: edit README.md - contributing code 53050/head
Zac Dover [Thu, 17 Aug 2023 10:38:20 +0000 (20:38 +1000)]
doc: edit README.md - contributing code

Edit the "Contributing Code" section of the "ceph/README.md" file.

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

23 months agoMerge pull request #52516 from neesingh-rh/wip-61988-quincy
Yuri Weinstein [Thu, 17 Aug 2023 21:37:15 +0000 (14:37 -0700)]
Merge pull request #52516 from neesingh-rh/wip-61988-quincy

quincy: mds: session ls command appears twice in command listing

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
23 months agoMerge pull request #52514 from joscollin/wip-62056-quincy
Yuri Weinstein [Thu, 17 Aug 2023 21:36:19 +0000 (14:36 -0700)]
Merge pull request #52514 from joscollin/wip-62056-quincy

quincy: mds: MDLog::_recovery_thread: handle the errors gracefully

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
23 months agoMerge pull request #52508 from lxbsz/wip-61985
Yuri Weinstein [Thu, 17 Aug 2023 21:35:25 +0000 (14:35 -0700)]
Merge pull request #52508 from lxbsz/wip-61985

quincy: client: force sending cap revoke ack always

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>