]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agocls/rgw: add complete_remove_obj() helper for remove_objs
Casey Bodley [Tue, 9 Nov 2021 02:21:29 +0000 (21:21 -0500)]
cls/rgw: add complete_remove_obj() helper for remove_objs

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

2 years agocls/rgw: helpers take const input params
Casey Bodley [Tue, 9 Nov 2021 02:19:41 +0000 (21:19 -0500)]
cls/rgw: helpers take const input params

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

2 years agoMerge pull request #50225 from zdover23/wip-doc-2023-02-23-backport-50221-to-pacific
colemitchell [Thu, 23 Feb 2023 15:20:41 +0000 (10:20 -0500)]
Merge pull request #50225 from zdover23/wip-doc-2023-02-23-backport-50221-to-pacific

pacific: doc/glossary: add "Bucket"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #50229 from zdover23/wip-doc-2023-02-23-backport-50226-to-pacific
zdover23 [Thu, 23 Feb 2023 15:06:52 +0000 (01:06 +1000)]
Merge pull request #50229 from zdover23/wip-doc-2023-02-23-backport-50226-to-pacific

pacific: doc: preen cephadm/troubleshooting.rst and radosgw/placement.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: preen cephadm/troubleshooting.rst and radosgw/placement.rst 50229/head
Anthony D'Atri [Thu, 23 Feb 2023 06:31:31 +0000 (01:31 -0500)]
doc: preen cephadm/troubleshooting.rst and radosgw/placement.rst

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

2 years agoMerge pull request #50223 from zdover23/wip-doc-2023-02-23-backport-50220-to-pacific
Anthony D'Atri [Thu, 23 Feb 2023 06:38:21 +0000 (01:38 -0500)]
Merge pull request #50223 from zdover23/wip-doc-2023-02-23-backport-50220-to-pacific

pacific: doc/cephadm/troubleshooting: remove word repeat

2 years agodoc/glossary: add "Bucket" 50225/head
Zac Dover [Thu, 23 Feb 2023 05:53:39 +0000 (15:53 +1000)]
doc/glossary: add "Bucket"

Add "Bucket" to the glossary. The definition added here is just a first
attempt, but a man's reach must exceed his grasp, or what's a heaven
for?

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

2 years agodoc/cephadm/troubleshooting: remove word repeat 50223/head
thomas [Thu, 23 Feb 2023 05:41:34 +0000 (00:41 -0500)]
doc/cephadm/troubleshooting: remove word repeat

The original text was "In case the cluster the last MGR of a cluster"

Signed-off-by: thomas <me@thomasanderson.cloud>
(cherry picked from commit 4e9eaf8b5d81b58ad49ed6ecbce38db98b985fc1)

2 years agoMerge pull request #50219 from zdover23/wip-doc-2023-02-23-backport-50213-to-pacific
Anthony D'Atri [Thu, 23 Feb 2023 05:35:03 +0000 (00:35 -0500)]
Merge pull request #50219 from zdover23/wip-doc-2023-02-23-backport-50213-to-pacific

pacific: doc/rados: update OSD_BACKFILLFULL description

2 years agodoc/rados: update OSD_BACKFILLFULL description 50219/head
Ponnuvel Palaniyappan [Wed, 22 Feb 2023 16:20:46 +0000 (16:20 +0000)]
doc/rados: update OSD_BACKFILLFULL description

Document that this warning can happen even when the OSDs' limits
haven't hit the backfill_full_ratio.

Signed-off-by: Ponnuvel Palaniyappan <pponnuvel@gmail.com>
(cherry picked from commit 198a9e02cb934802fcb5d5d06b05e3662a4b5cab)

2 years agoMerge pull request #49972 from mnasiadka/pacific_57627
Adam King [Wed, 22 Feb 2023 16:58:45 +0000 (11:58 -0500)]
Merge pull request #49972 from mnasiadka/pacific_57627

ceph-volume: fix regression in activate

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
2 years agoMerge pull request #50145 from guits/wip-58736-pacific
Adam King [Wed, 22 Feb 2023 16:56:52 +0000 (11:56 -0500)]
Merge pull request #50145 from guits/wip-58736-pacific

pacific: ceph-volume: do not raise RuntimeError in util.lsblk

Reviewed-by: Teoman ONAY <tonay@ibm.com>
2 years agoMerge pull request #50162 from guits/wip-58786-pacific
Adam King [Wed, 22 Feb 2023 16:55:34 +0000 (11:55 -0500)]
Merge pull request #50162 from guits/wip-58786-pacific

pacific: ceph-volume: legacy_encrypted() shouldn't call lsblk() when device is 'tmpfs'

Reviewed-by: Teoman ONAY <tonay@ibm.com>
2 years agoMerge pull request #50205 from zdover23/wip-doc-2023-02-22-backport-50203-to-pacific
Anthony D'Atri [Wed, 22 Feb 2023 04:41:08 +0000 (23:41 -0500)]
Merge pull request #50205 from zdover23/wip-doc-2023-02-22-backport-50203-to-pacific

pacific: doc/rgw: clarify multisite.rst top matter

2 years agodoc/rgw: clarify multisite.rst top matter 50205/head
Zac Dover [Wed, 22 Feb 2023 03:36:40 +0000 (13:36 +1000)]
doc/rgw: clarify multisite.rst top matter

Improve the pragmatics of the top matter of multisite.rst. Organize the
text into sections, where doing so makes the nature of multi-site
configurations clearer.

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

2 years agoMerge pull request #50190 from zdover23/wip-doc-2023-02-21-backport-50165-to-pacific
zdover23 [Tue, 21 Feb 2023 16:34:23 +0000 (02:34 +1000)]
Merge pull request #50190 from zdover23/wip-doc-2023-02-21-backport-50165-to-pacific

pacific: doc/rgw: multisite ref. top matter cleanup

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rgw: multisite ref. top matter cleanup 50190/head
Zac Dover [Sun, 19 Feb 2023 13:20:45 +0000 (23:20 +1000)]
doc/rgw: multisite ref. top matter cleanup

Edit the top matter in "Multi-site Configuration Reference" so that it
is semantically more natural.

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

2 years agoMerge pull request #50188 from zdover23/wip-doc-2023-02-21-backport-50186-to-pacific
colemitchell [Tue, 21 Feb 2023 04:19:55 +0000 (23:19 -0500)]
Merge pull request #50188 from zdover23/wip-doc-2023-02-21-backport-50186-to-pacific

pacific: doc/rgw: session-tags.rst - fix link to keycloak

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rgw: session-tags.rst - fix link to keycloak 50188/head
Zac Dover [Tue, 21 Feb 2023 03:55:03 +0000 (13:55 +1000)]
doc/rgw: session-tags.rst - fix link to keycloak

Fix a link in the doc/radosgw/session-tags.rst file that was intended to
link to the doc/radosgw/keycloak.rst file.

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

2 years agoMerge pull request #50174 from zdover23/wip-doc-2023-02-20-backport-50164-to-pacific
Anthony D'Atri [Mon, 20 Feb 2023 01:43:50 +0000 (20:43 -0500)]
Merge pull request #50174 from zdover23/wip-doc-2023-02-20-backport-50164-to-pacific

pacific: doc/radosgw: s/execute/run/ in multisite.rst

2 years agodoc/radosgw: s/execute/run/ in multisite.rst 50174/head
Zac Dover [Sun, 19 Feb 2023 06:46:49 +0000 (16:46 +1000)]
doc/radosgw: s/execute/run/ in multisite.rst

Replace "execute" with "run" in fourteen out of fifteen instances in
multisite.rst. "Execute" is plain old too grand in most of these
instances.

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

2 years agoMerge pull request #49789 from guits/wip-58397-pacific
Guillaume Abrioux [Sun, 19 Feb 2023 00:20:40 +0000 (01:20 +0100)]
Merge pull request #49789 from guits/wip-58397-pacific

pacific: ceph-volume/tests: add allowlist_externals to tox.ini

2 years agoceph-volume: legacy_encrypted() shouldn't call lsblk() when device is 'tmpfs' 50162/head
Guillaume Abrioux [Sat, 18 Feb 2023 02:05:51 +0000 (03:05 +0100)]
ceph-volume: legacy_encrypted() shouldn't call lsblk() when device is 'tmpfs'

When the device variable is rebound and become 'tmpfs', lsblk() shouldn't be called.

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

2 years agoMerge pull request #50156 from zdover23/wip-doc-2023-02-18-backport-50154-to-pacific
Anthony D'Atri [Sat, 18 Feb 2023 03:30:29 +0000 (22:30 -0500)]
Merge pull request #50156 from zdover23/wip-doc-2023-02-18-backport-50154-to-pacific

pacific: doc/glossary: add "Period" to glossary

2 years agodoc/glossary: add "Period" to glossary 50156/head
Zac Dover [Fri, 17 Feb 2023 22:03:06 +0000 (08:03 +1000)]
doc/glossary: add "Period" to glossary

Add definition for "period" to glossary.

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

2 years agoMerge pull request #49927 from adk3798/wip-58559-pacific
Adam King [Fri, 17 Feb 2023 14:06:46 +0000 (09:06 -0500)]
Merge pull request #49927 from adk3798/wip-58559-pacific

pacific: cephadm: don't overwrite cluster logrotate file

Reviewed-by: Teoman ONAY <tonay@ibm.com>
2 years agoMerge pull request #49310 from adk3798/wip-58203-pacific
Adam King [Fri, 17 Feb 2023 14:03:40 +0000 (09:03 -0500)]
Merge pull request #49310 from adk3798/wip-58203-pacific

pacific: mgr/cephadm: iscsi username and password defaults to admin

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #49917 from adk3798/wip-58177-pacific
Adam King [Fri, 17 Feb 2023 14:02:18 +0000 (09:02 -0500)]
Merge pull request #49917 from adk3798/wip-58177-pacific

pacific: mgr/cephadm: add ingress support for ssl rgw service

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #49920 from adk3798/wip-58208-pacific
Adam King [Fri, 17 Feb 2023 14:00:46 +0000 (09:00 -0500)]
Merge pull request #49920 from adk3798/wip-58208-pacific

pacific: mgr/cephadm: write client files after applying services

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #49921 from adk3798/wip-58247-pacific
Adam King [Fri, 17 Feb 2023 13:58:44 +0000 (08:58 -0500)]
Merge pull request #49921 from adk3798/wip-58247-pacific

pacific: mgr/cephadm: fix handling of mgr upgrades with 3 or more mgrs

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #49922 from adk3798/wip-58452-pacific
Adam King [Fri, 17 Feb 2023 13:58:03 +0000 (08:58 -0500)]
Merge pull request #49922 from adk3798/wip-58452-pacific

pacific: mgr/orchestrator: fix upgrade status help message

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #49929 from adk3798/wip-57788-pacific
Adam King [Fri, 17 Feb 2023 13:57:21 +0000 (08:57 -0500)]
Merge pull request #49929 from adk3798/wip-57788-pacific

pacific: mgr/nfs: add sectype option

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #47330 from rhcs-dashboard/wip-56946-pacific
Pedro Gonzalez Gomez [Fri, 17 Feb 2023 08:05:21 +0000 (09:05 +0100)]
Merge pull request #47330 from rhcs-dashboard/wip-56946-pacific

pacific: mgr/dashboard: added pattern validaton for form input

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #50135 from zdover23/wip-doc-2023-02-16-backport-50120-to-pacific
zdover23 [Fri, 17 Feb 2023 04:32:32 +0000 (14:32 +1000)]
Merge pull request #50135 from zdover23/wip-doc-2023-02-16-backport-50120-to-pacific

pacific: doc/glossary: add "realm" to glossary

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #49233 from Matan-B/wip-58144-pacific
Yuri Weinstein [Thu, 16 Feb 2023 16:33:54 +0000 (08:33 -0800)]
Merge pull request #49233 from Matan-B/wip-58144-pacific

pacific: mon/MonCommands: Support dump_historic_slow_ops

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
2 years agoMerge pull request #48846 from nkshirsagar/wip-58007-pacific
Yuri Weinstein [Thu, 16 Feb 2023 16:33:09 +0000 (08:33 -0800)]
Merge pull request #48846 from nkshirsagar/wip-58007-pacific

pacific: mon: bail from handle_command() if _generate_command_map() fails

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #48804 from tserong/wip-57996-pacific
Yuri Weinstein [Thu, 16 Feb 2023 16:32:02 +0000 (08:32 -0800)]
Merge pull request #48804 from tserong/wip-57996-pacific

pacific: ceph-crash: drop privleges to run as "ceph" user, rather than root (CVE-2022-3650)

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2 years agoceph-volume: do not raise RuntimeError in util.lsblk 50145/head
Guillaume Abrioux [Tue, 7 Feb 2023 09:51:36 +0000 (10:51 +0100)]
ceph-volume: do not raise RuntimeError in util.lsblk

Otherwise it makes `simple scan` calls fail.

```
  File "/usr/lib/python3.6/site-packages/ceph_volume/util/disk.py", line 246, in lsblk
    raise RuntimeError(f"{device} not found is lsblk report")
RuntimeError: /var/lib/ceph/osd/ceph-0/ not found is lsblk report
```

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

2 years agoMerge pull request #49503 from rhcs-dashboard/wip-58270-pacific
Nizamudeen A [Thu, 16 Feb 2023 10:58:47 +0000 (16:28 +0530)]
Merge pull request #49503 from rhcs-dashboard/wip-58270-pacific

pacific: mgr/dashboard: add tooltip mirroring pools table

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #49869 from guits/wip-58575-pacific
Guillaume Abrioux [Thu, 16 Feb 2023 09:45:07 +0000 (10:45 +0100)]
Merge pull request #49869 from guits/wip-58575-pacific

pacific: ceph-volume: fix a bug in lsblk_all()

2 years agoMerge pull request #50140 from zdover23/wip-doc-2023-02-16-backport-50138-to-pacific
Anthony D'Atri [Thu, 16 Feb 2023 02:12:46 +0000 (21:12 -0500)]
Merge pull request #50140 from zdover23/wip-doc-2023-02-16-backport-50138-to-pacific

pacific: doc/rgw: refine "Realms" section

2 years agodoc/rgw: refine "Realms" section 50140/head
Zac Dover [Wed, 15 Feb 2023 23:56:53 +0000 (09:56 +1000)]
doc/rgw: refine "Realms" section

Make various syntactical and semantic improvements to "Realms" section.

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

2 years agoMerge pull request #50137 from zdover23/wip-doc-2023-02-16-backport-50119-to-pacific
Anthony D'Atri [Thu, 16 Feb 2023 01:56:38 +0000 (20:56 -0500)]
Merge pull request #50137 from zdover23/wip-doc-2023-02-16-backport-50119-to-pacific

pacific: doc/rgw: s/[Zz]one [Gg]roup/zonegroup/g

2 years agodoc/rgw: s/[Zz]one [Gg]roup/zonegroup/g 50137/head
Zac Dover [Wed, 15 Feb 2023 05:05:43 +0000 (15:05 +1000)]
doc/rgw: s/[Zz]one [Gg]roup/zonegroup/g

Change all instances of "Zone Group" and "Zone group" and "zone group"
to "Zonegroup" or "zonegroup".

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

2 years agodoc/glossary: add "realm" to glossary 50135/head
Zac Dover [Wed, 15 Feb 2023 07:51:41 +0000 (17:51 +1000)]
doc/glossary: add "realm" to glossary

Add the term "Realm" to the glossary, and link to the section in the RGW
documentation that provides more information about realms.

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

2 years agoMerge pull request #50118 from zdover23/wip-doc-2023-02-15-backport-50108-to-pacific
Anthony D'Atri [Wed, 15 Feb 2023 10:07:35 +0000 (05:07 -0500)]
Merge pull request #50118 from zdover23/wip-doc-2023-02-15-backport-50108-to-pacific

pacific: doc/rgw: refine "Multi-site Config Ref" (1 of x)

2 years agodoc/rgw: refine "Multi-site Config Ref" (1 of x) 50118/head
Zac Dover [Tue, 14 Feb 2023 11:53:02 +0000 (21:53 +1000)]
doc/rgw: refine "Multi-site Config Ref" (1 of x)

Refine the syntax (and in some cases, the semantics) of the English in
"Multi-site Configuration Reference" in doc/radosgw/multisite.rst. This
is a long section, so more PRs are likely.

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

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

2 years agoMerge pull request #50116 from cityofships/pacific_backport
Anthony D'Atri [Tue, 14 Feb 2023 20:24:46 +0000 (15:24 -0500)]
Merge pull request #50116 from cityofships/pacific_backport

pacific: doc/ceph-volume: fix cephadm references

2 years agodoc/ceph-volume: fix cephadm references 50116/head
Piotr Parczewski [Tue, 14 Feb 2023 08:12:30 +0000 (09:12 +0100)]
doc/ceph-volume: fix cephadm references

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

2 years agoMerge pull request #50094 from zdover23/wip-doc-2023-02-13-backport-50086-to-pacific
Anthony D'Atri [Mon, 13 Feb 2023 14:48:10 +0000 (09:48 -0500)]
Merge pull request #50094 from zdover23/wip-doc-2023-02-13-backport-50086-to-pacific

pacific: doc/rgw: "Migrating Single Site to Multi-Site"

2 years agodoc/rgw: "Migrating Single Site to Multi-Site" 50094/head
Zac Dover [Mon, 13 Feb 2023 05:35:32 +0000 (15:35 +1000)]
doc/rgw: "Migrating Single Site to Multi-Site"

Refine "Migrating Single-site System to Multi-site" in
doc/radosgw/multisite.rst.

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

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

2 years agoMerge pull request #50079 from zdover23/wip-doc-2023-02-12-backport-50077-to-pacific
zdover23 [Sun, 12 Feb 2023 08:13:57 +0000 (18:13 +1000)]
Merge pull request #50079 from zdover23/wip-doc-2023-02-12-backport-50077-to-pacific

pacific: doc/rgw: refine "Failover and Disaster Recovery"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rgw: refine "Failover and Disaster Recovery" 50079/head
Zac Dover [Sat, 11 Feb 2023 22:04:34 +0000 (08:04 +1000)]
doc/rgw: refine "Failover and Disaster Recovery"

English grammar and syntax pass for "Failover and Disaster Recovery" in
doc/radosgw/multisite.rst.

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

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

2 years agoMerge pull request #50069 from zdover23/wip-doc-2023-02-10-backport-50063-to-pacific
zdover23 [Sat, 11 Feb 2023 01:31:53 +0000 (11:31 +1000)]
Merge pull request #50069 from zdover23/wip-doc-2023-02-10-backport-50063-to-pacific

pacific: doc/cephfs: add note about CephFS extended attributes and getfattr

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50075 from zdover23/wip-doc-2023-02-11-backport-50066-to-pacific
Anthony D'Atri [Sat, 11 Feb 2023 01:03:45 +0000 (20:03 -0500)]
Merge pull request #50075 from zdover23/wip-doc-2023-02-11-backport-50066-to-pacific

pacific: doc/rgw: refine "Configuring Secondary Zones"

2 years agodoc/rgw: refine "Configuring Secondary Zones" 50075/head
Zac Dover [Fri, 10 Feb 2023 02:40:01 +0000 (12:40 +1000)]
doc/rgw: refine "Configuring Secondary Zones"

English grammar and syntax pass (and some pragmatics, too, where I had
enough understanding to be helpful that way) for "Configuring Secondary
Zones" in doc/radosgw/multisite.rst.

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

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

2 years agoMerge pull request #50044 from aaSharma14/wip-58665-pacific
Aashish Sharma [Fri, 10 Feb 2023 09:35:05 +0000 (15:05 +0530)]
Merge pull request #50044 from aaSharma14/wip-58665-pacific

pacific: mgr/dashboard: Replace vonage-status-panel with native grafana stat panel

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agodoc/cephfs: add note about CephFS extended attributes and getfattr 50069/head
Zac Dover [Thu, 9 Feb 2023 22:59:00 +0000 (08:59 +1000)]
doc/cephfs: add note about CephFS extended attributes and getfattr

Supersedes https://github.com/ceph/ceph/pull/50060

Add a note on the fact that CephFS extended attributes are not printed
by "getfattr /some/cephfs/dir/ -d -m -" even when the CephFS directory
has some extended attributes set on it.

https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/6ENI42ZMHTTP2OONBRD7FDP7LQBC4P2E/

Primary Author: Rishabh Dave <ridave@redhat.com>
Co-author: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 7f23dde6bec3ef75777438f5ae16347609ca0bf4)

2 years agoMerge pull request #49915 from adk3798/wip-58444-pacific
Adam King [Fri, 10 Feb 2023 01:56:59 +0000 (20:56 -0500)]
Merge pull request #49915 from adk3798/wip-58444-pacific

pacific: qa/tasks/cephadm.py: fix pulling cephadm from git.ceph.com

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agomgr/dashboard: Replace vonage-status-panel with native grafana stat panel 50044/head
Aashish Sharma [Tue, 8 Nov 2022 05:11:46 +0000 (10:41 +0530)]
mgr/dashboard: Replace vonage-status-panel with native grafana stat panel

Fixes: https://tracker.ceph.com/issues/58295
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 3e08b81b402687c32988e6e95409fe62b9fd5162)

2 years agoMerge PR #50034 into pacific
Patrick Donnelly [Thu, 9 Feb 2023 00:47:36 +0000 (19:47 -0500)]
Merge PR #50034 into pacific

* refs/pull/50034/head:
doc: document debugging for libcephsqlite

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2 years agoMerge pull request #50032 from zdover23/wip-doc-2023-02-09-backport-50030-to-pacific
Anthony D'Atri [Wed, 8 Feb 2023 15:50:49 +0000 (10:50 -0500)]
Merge pull request #50032 from zdover23/wip-doc-2023-02-09-backport-50030-to-pacific

pacific: doc/rgw: refine multisite to "config 2ndary zones"

2 years agodoc: document debugging for libcephsqlite 50034/head
Patrick Donnelly [Mon, 15 Aug 2022 15:05:21 +0000 (11:05 -0400)]
doc: document debugging for libcephsqlite

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

2 years agodoc/rgw: refine multisite to "config 2ndary zones" 50032/head
Zac Dover [Wed, 8 Feb 2023 14:32:44 +0000 (00:32 +1000)]
doc/rgw: refine multisite to "config 2ndary zones"

Refine the English in doc/radosgw/multisite.rst up to (but not
including) "Configure Secondary Zones".

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

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

2 years agoMerge pull request #50026 from zdover23/wip-doc-2023-02-08-backport-50022-to-pacific
Anthony D'Atri [Wed, 8 Feb 2023 14:04:28 +0000 (09:04 -0500)]
Merge pull request #50026 from zdover23/wip-doc-2023-02-08-backport-50022-to-pacific

pacific: doc/radosgw: refine "Maintenance" in multisite.rst

2 years agodoc/rgw: fixup (squash later) 50026/head
Zac Dover [Wed, 8 Feb 2023 12:33:02 +0000 (22:33 +1000)]
doc/rgw: fixup (squash later)

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agodoc/radosgw: refine "Maintenance" in multisite.rst
Zac Dover [Wed, 8 Feb 2023 00:10:13 +0000 (10:10 +1000)]
doc/radosgw: refine "Maintenance" in multisite.rst

Refine the text in the "Maintenance" section of
doc/radosgw/multisite.rst.

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

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

2 years agoMerge pull request #49988 from pdvian/wip-58638-pacific
Prashant [Wed, 8 Feb 2023 03:51:40 +0000 (19:51 -0800)]
Merge pull request #49988 from pdvian/wip-58638-pacific

pacific: mon: Fix condition to check for ceph version mismatch

2 years agoMerge pull request #49454 from guits/wip-58279-pacific
Guillaume Abrioux [Tue, 7 Feb 2023 15:16:43 +0000 (16:16 +0100)]
Merge pull request #49454 from guits/wip-58279-pacific

pacific: ceph-volume: fix a bug in get_all_devices_vgs()

2 years agoMerge pull request #49928 from adk3798/wip-58567-pacific
Adam King [Tue, 7 Feb 2023 01:29:03 +0000 (20:29 -0500)]
Merge pull request #49928 from adk3798/wip-58567-pacific

pacific: mgr/cephadm: call iscsi post_remove from serve loop

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #49926 from adk3798/wip-58556-pacific
Adam King [Tue, 7 Feb 2023 01:25:05 +0000 (20:25 -0500)]
Merge pull request #49926 from adk3798/wip-58556-pacific

pacific: mgr/cephadm: fix removing offline hosts with ingress daemons

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #49919 from adk3798/wip-58206-pacific
Adam King [Tue, 7 Feb 2023 01:22:53 +0000 (20:22 -0500)]
Merge pull request #49919 from adk3798/wip-58206-pacific

pacific: mgr/cephadm: don't say migration in progress if migration current > migration last

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #49918 from adk3798/wip-58202-pacific
Adam King [Tue, 7 Feb 2023 01:17:46 +0000 (20:17 -0500)]
Merge pull request #49918 from adk3798/wip-58202-pacific

pacific: mgr/cephadm: specify ports for iscsi

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #49916 from adk3798/wip-58175-pacific
Adam King [Tue, 7 Feb 2023 01:15:51 +0000 (20:15 -0500)]
Merge pull request #49916 from adk3798/wip-58175-pacific

pacific: mgr/cephadm: fix check for if devices have changed

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #49285 from adk3798/wip-58148-pacific
Adam King [Tue, 7 Feb 2023 01:07:46 +0000 (20:07 -0500)]
Merge pull request #49285 from adk3798/wip-58148-pacific

pacific: mgr/cephadm: some master -> main cleanup

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50009 from zdover23/wip-doc-2023-02-07-backport-49994-to-pacific
Anthony D'Atri [Mon, 6 Feb 2023 22:57:21 +0000 (17:57 -0500)]
Merge pull request #50009 from zdover23/wip-doc-2023-02-07-backport-49994-to-pacific

pacific: doc/rgw: refine ~50-~140 of multisite.rst

2 years agodoc/rgw: refine ~50-~140 of multisite.rst 50009/head
Zac Dover [Sun, 5 Feb 2023 10:54:39 +0000 (20:54 +1000)]
doc/rgw: refine ~50-~140 of multisite.rst

Remove pleonasm from approximately line 50 to line 140 of
doc/rgw/multisite.rst.

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

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

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

2 years agoMerge pull request #49996 from zdover23/wip-doc-2023-02-06-backport-49993-to-pacific
Anthony D'Atri [Sun, 5 Feb 2023 21:34:23 +0000 (16:34 -0500)]
Merge pull request #49996 from zdover23/wip-doc-2023-02-06-backport-49993-to-pacific

pacific: doc/rgw: refine 1-50 of multisite.rst

2 years agodoc/rgw: refine 1-50 of multisite.rst 49996/head
Zac Dover [Sat, 4 Feb 2023 07:53:32 +0000 (17:53 +1000)]
doc/rgw: refine 1-50 of multisite.rst

Refine the English in the first fifty lines of multisite.rst. This is
part of a project whose goal is the creation of a document that will
impart a good aerial view of RGW to a first-time reader in the minimum
number of words.

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

2 years agomon: Fix condition to check for ceph version mismatch 49988/head
Prashant D [Tue, 27 Sep 2022 02:40:45 +0000 (22:40 -0400)]
mon: Fix condition to check for ceph version mismatch

MON fails to send MMgrUpdate to the MGR to update
DaemonState with correct metadata information due to
incorrect conditional check. Send MMgrUpdate to MGR
if we observe ceph version mismatch after an election
is over.

Fixes: https://tracker.ceph.com/issues/57678
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit 5dc0d6f7f299cc7af0c243ba67036b075f4b72af)

2 years agoMerge pull request #49983 from zdover23/wip-doc-2023-02-03-backport-49981-to-pacific
Anthony D'Atri [Fri, 3 Feb 2023 07:54:49 +0000 (02:54 -0500)]
Merge pull request #49983 from zdover23/wip-doc-2023-02-03-backport-49981-to-pacific

pacific: doc/rgw: refine "Zones" in multisite.rst

2 years agodoc/rgw: refine "Zones" in multisite.rst 49983/head
Zac Dover [Fri, 3 Feb 2023 07:21:54 +0000 (17:21 +1000)]
doc/rgw: refine "Zones" in multisite.rst

Clean up the English under the section called "Zones". Part of a larger
project aimed at giving the reader more understanding earlier in the
documentation of how buckets and zones and zone groups and endpoints
work.

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

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit f4f5183543303bf388bd364b4e5996b39df5f592)

2 years agoceph-volume: fix regression in activate 49972/head
Guillaume Abrioux [Wed, 21 Sep 2022 20:25:04 +0000 (22:25 +0200)]
ceph-volume: fix regression in activate

bea9f4b643c introduced a regression that makes the activate process
take a very long time to complete.
`_get_bluestore_info()` which calls `ceph-bluestore-tool` binary via
subprocess is called in an exponential way while this is not needed.

Fixes: https://tracker.ceph.com/issues/57627
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 8d7423c3e75afbe111c91e699ef3cb1c0beee61b)

2 years agomgr/cephadm: add ingress support for ssl rgw service 49917/head
Frank Ederveen [Mon, 14 Nov 2022 12:27:45 +0000 (12:27 +0000)]
mgr/cephadm: add ingress support for ssl rgw service

This commit adds support for ssl backend rgw. This allows for full
network encryption.

Fixes: https://tracker.ceph.com/issues/51972
Signed-off-by: Frank Ederveen <frank.ederveen@gmail.com>
(cherry picked from commit ab9d6ea42453225189f3ded8863c00bc55b71189)

2 years agomgr/cephadm: specify ports for iscsi 49918/head
Adam King [Thu, 6 Oct 2022 18:36:52 +0000 (14:36 -0400)]
mgr/cephadm: specify ports for iscsi

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

2 years agoMerge pull request #49949 from zdover23/wip-doc-2023-02-01-backport-49946-to-pacific
Anthony D'Atri [Tue, 31 Jan 2023 20:12:47 +0000 (15:12 -0500)]
Merge pull request #49949 from zdover23/wip-doc-2023-02-01-backport-49946-to-pacific

pacific: doc/cephadm: grammar / syntax in install.rst

2 years agodoc/cephadm: grammar / syntax in install.rst 49949/head
Piotr Parczewski [Tue, 31 Jan 2023 08:29:27 +0000 (09:29 +0100)]
doc/cephadm: grammar / syntax in install.rst

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

2 years agoMerge pull request #49933 from zdover23/wip-doc-2023-01-31-backport-49913-to-pacific
colemitchell [Tue, 31 Jan 2023 00:55:22 +0000 (19:55 -0500)]
Merge pull request #49933 from zdover23/wip-doc-2023-01-31-backport-49913-to-pacific

pacific: doc: add the damage types that scrub can repair

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc: add the damage types that scrub can repair 49933/head
Neeraj Pratap Singh [Mon, 30 Jan 2023 14:36:20 +0000 (20:06 +0530)]
doc: add the damage types that scrub can repair

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

2 years agodoc/mgr/nfs: document --sectype option for export create commands 49929/head
John Mulligan [Mon, 12 Sep 2022 16:25:38 +0000 (12:25 -0400)]
doc/mgr/nfs: document --sectype option for export create commands

Add documentation for the option to specify the sectype (for enabling kerberos)
when creating a new export.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 764ccf998b9944a05ca5241a34644b5e06cced9c)

2 years agomgr/nfs: add test cases to verify sectype can be set
John Mulligan [Fri, 2 Sep 2022 17:18:01 +0000 (13:18 -0400)]
mgr/nfs: add test cases to verify sectype can be set

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d95a33561c65e91ef98e7d55e113f2a11b81f31e)

2 years agomgr/nfs: add --sectype flag to nfs export create functions
John Mulligan [Fri, 2 Sep 2022 15:36:53 +0000 (11:36 -0400)]
mgr/nfs: add --sectype flag to nfs export create functions

Fixes: https://tracker.ceph.com/issues/57404
Add the sectype argument, also for use as a CLI option, to the functions
that create nfs exports. NFS Ganesha can use the sectype configuration
option to decide what kind of security will be applied/required for
connection to an export.

NOTE: This option is only useful when Ganesha is configured along with
LDAP/Kerberos integration. Configuration of that integration is outside
the scope of these patches.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 11affedea600360afd1ee7e3bb62c51f7b423a67)

2 years agomgr/nfs: reformat long function calls to one line per arg
John Mulligan [Fri, 2 Sep 2022 15:33:43 +0000 (11:33 -0400)]
mgr/nfs: reformat long function calls to one line per arg

Using a hand rolled version of the long function call style similar to
that produced by the "Black" tool, put every argument to the
create_export function on a line of its own. This makes the code easier
to read and, importantly for an upcoming change, easier to add new
arguments.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 439d502cd260eee25052f8b6caa911462548dcc7)

2 years agomgr/nfs: add sectype argument to nfs export management funcs
John Mulligan [Mon, 29 Aug 2022 17:53:13 +0000 (13:53 -0400)]
mgr/nfs: add sectype argument to nfs export management funcs

If the caller has supplied a sectype argument, pass it along to the
ganesha configuration functions.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 5cdb1dd961800a2a40b81549c70ab31779dd05a8)

2 years agomgr/nfs: add awareness of the SecType option to ganesha_conf.py
John Mulligan [Thu, 25 Aug 2022 21:22:03 +0000 (17:22 -0400)]
mgr/nfs: add awareness of the SecType option to ganesha_conf.py

This NFS-Ganesha option may be used to select kerberos integration in the
nfs client connection. If the option is not present in the configuration
dict, the option will not be present in the ganesha config blocks, just
as it was before.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit de687b90aeadc5d54a9f4ee664f81cd098d9d405)

Conflicts:
src/pybind/mgr/nfs/export_utils.py

2 years agomgr/cephadm: call iscsi post_remove from server loop 49928/head
Adam King [Fri, 20 Jan 2023 22:14:23 +0000 (17:14 -0500)]
mgr/cephadm: call iscsi post_remove from server loop

If we call it directly during a synchronous command
from the command line it never returns.

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

2 years agocephadm: don't overwrite cluster logrotate file 49927/head
Adam King [Fri, 20 Jan 2023 18:42:00 +0000 (13:42 -0500)]
cephadm: don't overwrite cluster logrotate file

To allow users to customize the file if they need to
akter the settings (e.g. to change the rotation interval
or rotate based on size)

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

2 years agomgr/cephadm: fix removing offline hosts with ingress daemons 49926/head
Adam King [Sun, 22 Jan 2023 18:59:51 +0000 (13:59 -0500)]
mgr/cephadm: fix removing offline hosts with ingress daemons

We need to convert the daemon type to service type here
or we'll try to access the "haproxy" or "keepalived" index
of the cephadm_services dictionary, which doesn't have those
keys (but does have an "ingress" key)

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

2 years agomgr/cephadm: fix upgrade status help message 49922/head
Adam King [Tue, 25 Oct 2022 12:06:08 +0000 (08:06 -0400)]
mgr/cephadm: fix upgrade status help message

This help message for this command had just been copied
over from the `upgrade check` command, which doesn't make
sense for `upgrade status`

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

2 years agomgr/cephadm: fix handling of mgr upgrades with 3 or more mgrs 49921/head
Adam King [Mon, 26 Sep 2022 18:02:19 +0000 (14:02 -0400)]
mgr/cephadm: fix handling of mgr upgrades with 3 or more mgrs

Fixes: https://tracker.ceph.com/issues/57675
When daemons are upgraded by cephadm, there are two criteria taken into
account for a daemon to be considered totally upgraded. The first is the
container image the daemon actually has currently. The second is the container
image of the mgr that deployed the daemon. I'll refer to these as a daemon
having the "correct version" and "correct deployed by". For reference,
the correct deployed by needs to be tracked as cephadm may change
something about the unit files it generates between versions and not
making sure daemons are deployed by the current version of cephadm
risks some obscure bugs.

The function _detect_need_upgrade takes a list of daemons and returns
two new lists. The first is all daemons from the input list that
are on the wrong version. The second are all daemons that are on the
right version but deployed by the wrong version. Additionally it returns
a bool to say whether the current active mgr must be upgraded (i.e. it
would belong in either of the two returned lists). Prior to this change,
how it would work is the second list (list of daemons that are on the right
version but have the wrong deployed by version) would simply be added to
the first list if the active mgr does not need to be upgraded. The idea
is that if you are upgrading from X image to Y image, we can only
really "fix" the deployed by version of the daemon if the active mgr
is on the Y version as it will be the one deploying the daemon. So if
the active mgr is not upgraded we can just ignore the daemons that just
have the wrong deployed by version in hte current iteration. All of this is
really only important when the mgr daemons are being upgraded. After all the
mgrs are upgraded any future upgrades of daemons will be done by a mgr on
the new version so deployed by version will always get completed
along with the version of the daemon itself. This system also works fine
for the typical 2 mgr setup.

Imagine mgr A and B on version X deployed by version X being upgraded to
version Y with A as active. First A deploys B with version Y. Now B
has version Y and deployed by version X. A then fails over to B as it
sees it needs to be upgraded. B then upgrades A so A now has version Y
and deployed by version Y. B then fails over to A as it sees it needs
to be upgraded as its deployed by version is still X. Finally, A
redeploys B and both mgrs are fully upgraded and everything is fine.

However, things can get trickier with 3 or more mgrs due to the
fact that cephadm does not control which other mgr takes over after
a failover. Imagine a similar scenario but now you have mgr
A, B, and C. First A will upgrade B and C to Y so they now
are both on version Y with deployed by version X. It then fails
over since it needs to be upgraded and let's say B takes over as
active. B then upgrade A so it now has version Y and deployed by
version Y. However, it will not redeploy C even though it should
as, given it sees that it needs to be upgraded due to its deployed by
version being wrong, it doesn't touch any daemon that just needs its
deployed by version fixed. It then fails over and lets say C takes
over. Since it still has the wrong deployed by version and therefore
thinks that it needs to be upgraded,  it won't touch B since that
only needs its deployed by version fixed. It sees that it needs
to be upgraded however so it fails over. Lets say B takes over again.
You can see how we can end up in a loop here where B and C say they
need to be upgraded but never upgrade each other. It seems from what
I've seen that which mgr is picked after a failover isn't totally
random so this type of scenario can actually happen and it can get
stuck here until the user takes some action. The change here is
to, instead of not touching daemons that needs their deployed by version
fixed if the active mgr needs upgrade, only don't touch that list
if the active mgr is on the wrong version. So in our example scenario
B would still have upgraded C the first time around as it would
see it is on the correct version Y and can therefore fix the deployed
by version for C. This is what the check always should have been
but since most of the testing is with 2 mgr daemons and even with
more its by chance you end up in the loop this issue wasn't seen.

Will add that it is also possible to end up in this loop with
only 2 mgr daemons if some amount of manual upgrading of the mgr
daemons is done.

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