]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agomgr/cephadm: add commands to set services to managed/unmanaged 50897/head
Adam King [Mon, 13 Feb 2023 20:01:59 +0000 (15:01 -0500)]
mgr/cephadm: add commands to set services to managed/unmanaged

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

Conflicts:
src/pybind/mgr/orchestrator/module.py

2 years agoMerge pull request #50891 from adk3798/wip-58995-quincy
Adam King [Tue, 11 Apr 2023 20:55:48 +0000 (16:55 -0400)]
Merge pull request #50891 from adk3798/wip-58995-quincy

quincy: mgr/orchestrator: allow deploying raw mode OSDs with --all-available-devices

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #50890 from adk3798/wip-58982-quincy
Adam King [Tue, 11 Apr 2023 20:37:20 +0000 (16:37 -0400)]
Merge pull request #50890 from adk3798/wip-58982-quincy

quincy: cephadm: set --ulimit nofiles with Docker

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #50889 from adk3798/wip-58536-quincy
Adam King [Tue, 11 Apr 2023 20:36:20 +0000 (16:36 -0400)]
Merge pull request #50889 from adk3798/wip-58536-quincy

quincy: orchestrator: improvements to the orch host ls command

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #50888 from adk3798/wip-58989-quincy
Adam King [Tue, 11 Apr 2023 20:35:05 +0000 (16:35 -0400)]
Merge pull request #50888 from adk3798/wip-58989-quincy

quincy: mgr/cephadm: be aware of host's shortname and FQDN

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50887 from adk3798/quincy-multisite-deployment
Adam King [Tue, 11 Apr 2023 20:33:10 +0000 (16:33 -0400)]
Merge pull request #50887 from adk3798/quincy-multisite-deployment

quincy: mgr/rgw: initial multisite deployment work

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50521 from trociny/wip-58987-quincy
Adam King [Tue, 11 Apr 2023 20:32:20 +0000 (16:32 -0400)]
Merge pull request #50521 from trociny/wip-58987-quincy

quincy: mgr/cephadm: don't add mgr into iscsi trusted_ip_list if it's already there

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50956 from zdover23/wip-doc-2023-04-09-backport-50827-to-quincy
colemitchell [Tue, 11 Apr 2023 01:05:19 +0000 (21:05 -0400)]
Merge pull request #50956 from zdover23/wip-doc-2023-04-09-backport-50827-to-quincy

quincy: doc/rados/ops: edit health-checks.rst (4 of x)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #50967 from zdover23/wip-doc-2023-04-10-backport-50828-to-quincy
colemitchell [Tue, 11 Apr 2023 01:03:06 +0000 (21:03 -0400)]
Merge pull request #50967 from zdover23/wip-doc-2023-04-10-backport-50828-to-quincy

quincy: doc/rados/ops: edit health checks.rst (5 of x)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #50904 from adk3798/wip-59302-quincy
Adam King [Mon, 10 Apr 2023 19:56:01 +0000 (15:56 -0400)]
Merge pull request #50904 from adk3798/wip-59302-quincy

quincy: cephadm: handle exceptions applying extra services during bootstrap

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50879 from guits/wip-59312-quincy
Adam King [Mon, 10 Apr 2023 15:27:56 +0000 (11:27 -0400)]
Merge pull request #50879 from guits/wip-59312-quincy

quincy: ceph-volume: fix issue with fast device allocs when there are multiple PVs per VG

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50895 from ceph/quincy-release
Laura Flores [Mon, 10 Apr 2023 15:12:20 +0000 (10:12 -0500)]
Merge pull request #50895 from ceph/quincy-release

v17.2.6

2 years agoMerge pull request #50970 from zdover23/wip-doc-2023-04-10-backport-50829-to-quincy
Anthony D'Atri [Mon, 10 Apr 2023 11:56:33 +0000 (07:56 -0400)]
Merge pull request #50970 from zdover23/wip-doc-2023-04-10-backport-50829-to-quincy

quincy: doc/rados/ops: edit health-checks.rst (6 of x)

2 years agodoc/rados/ops: edit health-checks.rst (6 of x) 50970/head
Zac Dover [Sat, 1 Apr 2023 20:39:32 +0000 (06:39 +1000)]
doc/rados/ops: edit health-checks.rst (6 of x)

Edit docs/rados/operations/health-checks.rst (6 of x).

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

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

2 years agodoc/rados/ops: edit health checks.rst (5 of x) 50967/head
Zac Dover [Sat, 1 Apr 2023 20:33:45 +0000 (06:33 +1000)]
doc/rados/ops: edit health checks.rst (5 of x)

Edit docs/rados/operations/health-checks.rst (5 of x).

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

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

2 years agoMerge pull request #50960 from zdover23/wip-doc-2023-04-09-backport-50958-to-quincy
Anthony D'Atri [Sun, 9 Apr 2023 19:08:14 +0000 (15:08 -0400)]
Merge pull request #50960 from zdover23/wip-doc-2023-04-09-backport-50958-to-quincy

quincy: doc/rados/ops: add hyphen to mon-osd-pg.rst

2 years agodoc/rados/ops: add hyphen to mon-osd-pg.rst 50960/head
Zac Dover [Sun, 9 Apr 2023 02:42:11 +0000 (12:42 +1000)]
doc/rados/ops: add hyphen to mon-osd-pg.rst

Remove confusing parentheses and add a clearer (as compared to the
parentheses) hyphen (actually an em-dash, or at least it is intended
to be an em-dash) to doc/rados/operations/monitoring-osd-pg.rst

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

2 years agoMerge pull request #50953 from zdover23/wip-doc-2023-04-09-backport-50826-to-quincy
zdover23 [Sun, 9 Apr 2023 05:03:50 +0000 (15:03 +1000)]
Merge pull request #50953 from zdover23/wip-doc-2023-04-09-backport-50826-to-quincy

quincy: doc/rados/ops: edit health-checks.rst (3 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50950 from zdover23/wip-doc-2023-04-09-backport-50907-to-quincy
zdover23 [Sun, 9 Apr 2023 05:03:16 +0000 (15:03 +1000)]
Merge pull request #50950 from zdover23/wip-doc-2023-04-09-backport-50907-to-quincy

quincy: doc/rados/config: edit auth-config-ref

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados/ops: edit health-checks.rst (4 of x) 50956/head
Zac Dover [Sat, 1 Apr 2023 20:25:42 +0000 (06:25 +1000)]
doc/rados/ops: edit health-checks.rst (4 of x)

Edit docs/rados/operations/health-checks.rst (4 of x).

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

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 31df75356f2e49e0da6e0f4a6ec498e3609bd39e)

2 years agodoc/rados/ops: edit health-checks.rst (3 of x) 50953/head
Zac Dover [Sat, 1 Apr 2023 20:17:06 +0000 (06:17 +1000)]
doc/rados/ops: edit health-checks.rst (3 of x)

Edit docs/rados/operations/health-checks.rst (3 of x).

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

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

2 years agodoc/rados/config: edit auth-config-ref 50950/head
Zac Dover [Thu, 6 Apr 2023 00:21:01 +0000 (10:21 +1000)]
doc/rados/config: edit auth-config-ref

Line edit doc/rados/config/auth-config-ref.rst.

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 3d0acf9372a35ef48be47efe68192ec389c17ccb)

2 years agoMerge pull request #50946 from zdover23/wip-doc-2023-04-08-backport-50863-to-quincy
zdover23 [Sat, 8 Apr 2023 04:54:01 +0000 (14:54 +1000)]
Merge pull request #50946 from zdover23/wip-doc-2023-04-08-backport-50863-to-quincy

quincy: doc/rados/ops: edit monitoring-osd-pg.rst (2 of x)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #50943 from zdover23/wip-doc-2023-04-08-backport-50795-to-quincy
zdover23 [Sat, 8 Apr 2023 04:13:40 +0000 (14:13 +1000)]
Merge pull request #50943 from zdover23/wip-doc-2023-04-08-backport-50795-to-quincy

quincy: doc/rados: line-edit common.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados/ops: edit monitoring-osd-pg.rst (2 of x) 50946/head
Zac Dover [Wed, 5 Apr 2023 03:32:43 +0000 (13:32 +1000)]
doc/rados/ops: edit monitoring-osd-pg.rst (2 of x)

Line-edit monitoring-osd-pg.rst (2 of x).

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 270e2fd730dad19d970d73ea19c6872defa9fce4)

2 years agodoc/rados: line-edit common.rst 50943/head
Zac Dover [Thu, 30 Mar 2023 22:54:05 +0000 (08:54 +1000)]
doc/rados: line-edit common.rst

Edit syntax and semantics in doc/configuration/common.rst.

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

2 years agoMerge pull request #50849 from zdover23/wip-doc-2023-04-04-backport-50834-to-quincy
zdover23 [Sat, 8 Apr 2023 02:48:30 +0000 (12:48 +1000)]
Merge pull request #50849 from zdover23/wip-doc-2023-04-04-backport-50834-to-quincy

quincy: doc/rados: edit ops/monitoring.rst (2 of 3)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #50934 from zdover23/wip-doc-2023-04-07-backport-50928-to-quincy
Anthony D'Atri [Fri, 7 Apr 2023 11:25:15 +0000 (07:25 -0400)]
Merge pull request #50934 from zdover23/wip-doc-2023-04-07-backport-50928-to-quincy

quincy: doc/rados/ops: line-edit operating.rst

2 years agodoc/rados/ops: line-edit operating.rst 50934/head
Zac Dover [Fri, 7 Apr 2023 00:46:50 +0000 (10:46 +1000)]
doc/rados/ops: line-edit operating.rst

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

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

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

2 years agodoc/rados: edit ops/monitoring.rst (2 of 3) 50849/head
Zac Dover [Sun, 2 Apr 2023 22:03:29 +0000 (08:03 +1000)]
doc/rados: edit ops/monitoring.rst (2 of 3)

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

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

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 41684ebd33b5c9fe707f5a33b27c55ed29cd5ede)

2 years agoMerge pull request #50912 from zdover23/wip-doc-2023-04-06-backport-50825-to-quincy
Anthony D'Atri [Thu, 6 Apr 2023 16:05:36 +0000 (12:05 -0400)]
Merge pull request #50912 from zdover23/wip-doc-2023-04-06-backport-50825-to-quincy

quincy: doc/rados/ops: edit health-checks.rst (2 of x)

2 years agodoc/rados/ops: edit health-checks.rst (2 of x) 50912/head
Zac Dover [Sat, 1 Apr 2023 20:05:41 +0000 (06:05 +1000)]
doc/rados/ops: edit health-checks.rst (2 of x)

Edit docs/rados/operations/health-checks.rst (2 of x). PR#50674, the PR
that immediately precedes this PR in the series of PRs that line-edit
health-checks.rst, wrongly identified this series as having five
sections. This has been rectified by using the "2 of x" formulation.

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

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

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

2 years agocephadm: handle exceptions applying secondary services during bootstrap 50904/head
Adam King [Wed, 15 Mar 2023 17:55:26 +0000 (13:55 -0400)]
cephadm: handle exceptions applying secondary services during bootstrap

Otherwise we risk hitting a mismatch between the cephadm binary version
and the container image version we're bootstrapping on, resulting in
bootstrap failing. Example in the tracker.

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

2 years agomgr/orchestrator: allow deploying raw mode OSDs with --all-available-devices 50891/head
Adam King [Mon, 13 Feb 2023 21:25:38 +0000 (16:25 -0500)]
mgr/orchestrator: allow deploying raw mode OSDs with --all-available-devices

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

2 years agocephadm: set --ulimit nofiles with Docker 50890/head
Michal Nasiadka [Mon, 27 Feb 2023 08:15:50 +0000 (09:15 +0100)]
cephadm: set --ulimit nofiles with Docker

cephadm is setting LimitNOFILE in systemd units, but it doesn't
get picked up by Docker.

Fixes: https://tracker.ceph.com/issues/58855
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
(cherry picked from commit ce169004f749f088c4f05505b6457e7a190db680)

Conflicts:
src/cephadm/tests/test_cephadm.py

2 years agoorchestrator: update docs for host ls 50889/head
Paul Cuzner [Fri, 2 Dec 2022 03:37:34 +0000 (16:37 +1300)]
orchestrator: update docs for host ls

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit 166e0fb5d5cb83265577f6538a29f0532173ddbb)

2 years agoorchestrator: improve host ls output
Paul Cuzner [Fri, 2 Dec 2022 03:27:14 +0000 (16:27 +1300)]
orchestrator: improve host ls output

This patch provides a --detail 'switch' to orch host ls to
show more host related data for cephadm based clusters.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit b0aaf02446ac8e0e3fef0f24684e6d8c67707454)

2 years agomgr/cephadm: be aware of host's shortname and FQDN 50888/head
Adam King [Wed, 15 Feb 2023 22:07:09 +0000 (17:07 -0500)]
mgr/cephadm: be aware of host's shortname and FQDN

The idea is to gether the shortname and FQDN as part
of gather-facts, and then if we ever try to check if a certain
host is in our internal inventory by hostname, we can check
these other known names. This should avoid issues where
we think a hostname specified by FQDN is not in our
inventory because we know the host by the shortname
or vice versa.

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

2 years agoMerge pull request #50871 from rhcs-dashboard/wip-59322-quincy
Nizamudeen A [Wed, 5 Apr 2023 17:42:25 +0000 (23:12 +0530)]
Merge pull request #50871 from rhcs-dashboard/wip-59322-quincy

quincy: mgr/dashboard: fix displaying mirror image progress

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoqa: adding logic to wait for rgw realm tokens before testing 50887/head
Redouane Kachach [Fri, 24 Mar 2023 14:59:10 +0000 (15:59 +0100)]
qa: adding logic to wait for rgw realm tokens before testing

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit b431e308a747afa7fa8c1852ba7a375c4e0f1867)

2 years agomgr/rgw: removing placement section
Redouane Kachach [Tue, 14 Mar 2023 16:49:21 +0000 (17:49 +0100)]
mgr/rgw: removing placement section

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 89b3bd7935f3f804ed00f2f3c03d0e31231b1ea8)

2 years agoqa: Adding rgw multisite support
Redouane Kachach [Thu, 23 Feb 2023 16:16:39 +0000 (17:16 +0100)]
qa: Adding rgw multisite support

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 3e4ef2c967f24e5b993116a679225750faf528bc)

2 years agomgr/rgw: fix module crash because of typing_extensions missing
Redouane Kachach [Tue, 7 Feb 2023 18:04:57 +0000 (19:04 +0100)]
mgr/rgw: fix module crash because of typing_extensions missing
Fixes: https://tracker.ceph.com/issues/58660
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 68fb4eee52b84e3cde5b9dbc44bf599904275ea3)

2 years agomgr/rgw: adding mgr rgw module to ceph image
Redouane Kachach [Mon, 27 Feb 2023 08:56:54 +0000 (09:56 +0100)]
mgr/rgw: adding mgr rgw module to ceph image
Fixes: https://tracker.ceph.com/issues/58856
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 110db72e24dab6667adc21259355cf17dc20ac86)

2 years agomgr/rgw: Adding typing checks for rgw
Redouane Kachach [Wed, 19 Oct 2022 07:59:12 +0000 (09:59 +0200)]
mgr/rgw: Adding typing checks for rgw
Fixes: https://tracker.ceph.com/issues/57878
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit c6f05d8debea12aa5f536627074642186b9b4059)

Conflicts:
src/pybind/mgr/tox.ini

2 years agoFixing some minor issues
Redouane Kachach [Wed, 26 Oct 2022 08:26:14 +0000 (10:26 +0200)]
Fixing some minor issues

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 57a99c1837926d52f44b68e4084b47df3dd3beae)

2 years agoAddressing comments from the last review
Redouane Kachach [Wed, 19 Oct 2022 08:42:20 +0000 (10:42 +0200)]
Addressing comments from the last review

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit dcde3df9390925b2fe03e95d51c4c910f967e0d6)

2 years agoRemoving docs for unused commands + fixing style issues
Redouane Kachach [Thu, 13 Oct 2022 08:06:33 +0000 (10:06 +0200)]
Removing docs for unused commands + fixing style issues
Adding logic to modify the master zonegroup endpoints
Do no call pull realm when modifying zone
Only update the endpoints if the modified zone is master
Adding support to set custom endpoints when creating realm or zone

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 5b6e99de1e1a6cb7358e5d926247e70d4d85743a)

2 years agoFixing user keys handling
Redouane Kachach [Tue, 11 Oct 2022 16:13:18 +0000 (18:13 +0200)]
Fixing user keys handling

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit ff8a1b8edbc38aa5a961868862b4a6a12096eaf6)

2 years agoFixing output of create zone when several spec zones are provided
Redouane Kachach [Tue, 11 Oct 2022 14:53:02 +0000 (16:53 +0200)]
Fixing output of create zone when several spec zones are provided

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 7b89b2247c06a6b2ab687e76555105f1a73f2407)

2 years agoRemoving zonegroup creation code (was not used and it's not tested)
Redouane Kachach [Tue, 11 Oct 2022 14:22:44 +0000 (16:22 +0200)]
Removing zonegroup creation code (was not used and it's not tested)

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 09a77bf2f09b342c1ea3d16e807dd60f5934a104)

2 years agoFixing rwg spec parsing + improving error handling
Redouane Kachach [Tue, 11 Oct 2022 11:36:24 +0000 (13:36 +0200)]
Fixing rwg spec parsing + improving error handling

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 34ebd7c5b4a52ddc90748eeebe8835ccc17b8af7)

2 years agoremoving normal user creation as it's not needed for rgw multisite
Redouane Kachach [Tue, 11 Oct 2022 10:24:53 +0000 (12:24 +0200)]
removing normal user creation as it's not needed for rgw multisite

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 8a5bcc8db7ce9676cdf2cceab96607bda84cdc4d)

2 years agoAddressing some of Ali comments
Redouane Kachach [Tue, 11 Oct 2022 10:06:21 +0000 (12:06 +0200)]
Addressing some of Ali comments

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 83b0ef406df3a22dccf36c9e9bd2c75c6f20ebd4)

2 years agoAddressing adking review comments
Redouane Kachach [Tue, 11 Oct 2022 08:10:16 +0000 (10:10 +0200)]
Addressing adking review comments

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit b94c2b685a3e70daed0be7b83199b7183e3e1983)

2 years agoCheck cephadm is available before running the rgw commands
Redouane Kachach [Mon, 10 Oct 2022 13:22:45 +0000 (15:22 +0200)]
Check cephadm is available before running the rgw commands

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 0bd530db3f0f0596d42f32b23913541a6c71d42f)

2 years agoAddressing review comments
Redouane Kachach [Thu, 6 Oct 2022 09:08:14 +0000 (11:08 +0200)]
Addressing review comments

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 7fdb145f1a6de774ee0e40163e93049b707bf2b4)

2 years agomgr/rgw: Adding rgw multisite support
Redouane Kachach [Thu, 18 Aug 2022 13:33:21 +0000 (15:33 +0200)]
mgr/rgw: Adding rgw multisite support
Fixes: https://tracker.ceph.com/issues/57160
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit d15a5dcfe2d05240059b9d4a72c581d867d5e7a4)

Conflicts:
doc/mgr/rgw.rst

2 years agoceph-volume: fix issue with fast device allocs when there are multiple PVs per VG 50879/head
Cory Snyder [Mon, 27 Feb 2023 09:48:08 +0000 (04:48 -0500)]
ceph-volume: fix issue with fast device allocs when there are multiple PVs per VG

Fixes a regression with fast device allocations when there are multiple PVs
per VG. This is the case for clusters that were deployed prior to v15.2.8.

Fixes: https://tracker.ceph.com/issues/58857
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit efcf71be18eb25be10a574d54b70229753538664)

2 years agoceph-volume: add test case to reproduce bug in get_physical_fast_allocs
Cory Snyder [Mon, 27 Feb 2023 09:45:47 +0000 (04:45 -0500)]
ceph-volume: add test case to reproduce bug in get_physical_fast_allocs

Adds a test case to reproduce a bug with get_physical_fast_allocs for
clusters that have multiple fast device PVs in a single VG (deployed
prior to v15.2.8). Also fixes other test cases for this function
to more accurately represent reality.

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

2 years ago17.2.6 50895/head 57468/head v17.2.6
Ceph Release Team [Wed, 5 Apr 2023 15:09:51 +0000 (15:09 +0000)]
17.2.6

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
2 years agoMerge pull request #50865 from zdover23/wip-doc-2023-04-05-backport-50855-to-quincy
Anthony D'Atri [Wed, 5 Apr 2023 13:25:33 +0000 (09:25 -0400)]
Merge pull request #50865 from zdover23/wip-doc-2023-04-05-backport-50855-to-quincy

quincy: doc/rados/ops: edit monitoring-osd-pg.rst (1 of x)

2 years agomgr/dashboard: fix displaying mirror image progress 50871/head
Pere Diaz Bou [Mon, 3 Apr 2023 15:22:35 +0000 (17:22 +0200)]
mgr/dashboard: fix displaying mirror image progress

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
(cherry picked from commit 80960387fbb6d49c3681f4c9e249c441a891462a)

2 years agodoc/rados/ops: edit monitoring-osd-pg.rst (1 of x) 50865/head
Zac Dover [Tue, 4 Apr 2023 03:29:15 +0000 (13:29 +1000)]
doc/rados/ops: edit monitoring-osd-pg.rst (1 of x)

Line-edit doc/rados/operations/monitoring-osd-pg.rst (1 of x).

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

2 years agoMerge pull request #50853 from zdover23/wip-doc-2023-04-04-backport-50851-to-quincy
Anthony D'Atri [Mon, 3 Apr 2023 22:21:07 +0000 (18:21 -0400)]
Merge pull request #50853 from zdover23/wip-doc-2023-04-04-backport-50851-to-quincy

quincy: doc/rados/ops: add ceph-medic documentation

2 years agodoc/rados/ops: add ceph-medic documentation 50853/head
Zac Dover [Mon, 3 Apr 2023 20:57:27 +0000 (06:57 +1000)]
doc/rados/ops: add ceph-medic documentation

Add a link to the ceph-medic documentation to
doc/rados/operations/monitoring.rst.

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

2 years agoMerge pull request #50747 from ceph/wip-yuriw-fix-upgrades-quincy
Yuri Weinstein [Mon, 3 Apr 2023 18:29:34 +0000 (11:29 -0700)]
Merge pull request #50747 from ceph/wip-yuriw-fix-upgrades-quincy

qa/upgrade: consistently use the tip of the branch as the start version

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoqa/upgrade: consistently use the tip of the branch as the start version 50747/head
Yuri Weinstein [Wed, 29 Mar 2023 15:06:38 +0000 (08:06 -0700)]
qa/upgrade: consistently use the tip of the branch as the start version

Replaced also `image: docker.io/ceph/daemon-base:latest-*` with `image: quay.ceph.io/ceph-ci/ceph:*`
In order to make sure that latest versions of ceph is used as initial install

Fixes: https://tracker.ceph.com/issues/58914
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoMerge pull request #50831 from zdover23/wip-doc-2023-04-02-backport-50818-to-quincy
Anthony D'Atri [Sun, 2 Apr 2023 12:59:49 +0000 (08:59 -0400)]
Merge pull request #50831 from zdover23/wip-doc-2023-04-02-backport-50818-to-quincy

quincy: doc/cephfs: Improve fs-volumes.rst

2 years agodoc/cephfs: Improve fs-volumes.rst 50831/head
Anthony D'Atri [Fri, 31 Mar 2023 13:37:52 +0000 (09:37 -0400)]
doc/cephfs: Improve fs-volumes.rst

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

2 years agoMerge pull request #50823 from zdover23/wip-doc-2023-04-01-backport-50670-to-quincy
colemitchell [Fri, 31 Mar 2023 21:29:50 +0000 (17:29 -0400)]
Merge pull request #50823 from zdover23/wip-doc-2023-04-01-backport-50670-to-quincy

quincy: doc/rados: edit ops/monitoring.rst (1 of 3)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/rados: edit ops/monitoring.rst (1 of 3) 50823/head
Zac Dover [Sat, 25 Mar 2023 18:51:50 +0000 (04:51 +1000)]
doc/rados: edit ops/monitoring.rst (1 of 3)

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

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

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

2 years agoMerge pull request #50800 from zdover23/wip-doc-2023-03-31-backport-45354-to-quincy
Anthony D'Atri [Fri, 31 Mar 2023 13:58:42 +0000 (09:58 -0400)]
Merge pull request #50800 from zdover23/wip-doc-2023-03-31-backport-45354-to-quincy

quincy: doc/msgr2: update dual stack status

2 years agoMerge pull request #50803 from zdover23/wip-doc-2023-03-31-backport-50554-to-quincy
Anthony D'Atri [Fri, 31 Mar 2023 13:54:23 +0000 (09:54 -0400)]
Merge pull request #50803 from zdover23/wip-doc-2023-03-31-backport-50554-to-quincy

quincy: doc/rados: line-edit pg-repair.rst

2 years agodoc/rados: line-edit pg-repair.rst 50803/head
Zac Dover [Thu, 16 Mar 2023 02:27:44 +0000 (12:27 +1000)]
doc/rados: line-edit pg-repair.rst

Line edit pg-repair.rst.

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

2 years agodoc/msgr2: update dual stack status 50800/head
Dan van der Ster [Fri, 11 Mar 2022 14:15:20 +0000 (15:15 +0100)]
doc/msgr2: update dual stack status

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
(cherry picked from commit c7eaeb4dff1fca967046bcd9b53548eabd18012e)

2 years agoMerge pull request #50797 from zdover23/wip-doc-2023-03-31-backport-50674-to-quincy
Anthony D'Atri [Thu, 30 Mar 2023 23:57:21 +0000 (19:57 -0400)]
Merge pull request #50797 from zdover23/wip-doc-2023-03-31-backport-50674-to-quincy

quincy: doc/rados/ops: edit health-checks.rst (1 of x)

2 years agodoc/rados/ops: edit health-checks.rst (1 of x) 50797/head
Zac Dover [Sat, 25 Mar 2023 20:02:19 +0000 (06:02 +1000)]
doc/rados/ops: edit health-checks.rst (1 of x)

Edit docs/rados/operations/health-checks.rst (1 of x).

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

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

2 years agoMerge pull request #50770 from zdover23/wip-doc-2023-03-30-backport-50742-to-quincy
zdover23 [Thu, 30 Mar 2023 23:27:00 +0000 (09:27 +1000)]
Merge pull request #50770 from zdover23/wip-doc-2023-03-30-backport-50742-to-quincy

quincy: doc/start: update "notify us" section

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/start: update "notify us" section 50770/head
Zac Dover [Wed, 29 Mar 2023 13:47:38 +0000 (23:47 +1000)]
doc/start: update "notify us" section

Rewrite the "Notify Us" section in doc/start/documenting-ceph.rst so
that it is written in English sentences.

(cherry picked from commit 613ece24777c4b222054fe9a6d82ba51949c45ea)
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50788 from zdover23/wip-doc-2023-03-30-backport-50764-to-quincy
zdover23 [Thu, 30 Mar 2023 07:15:22 +0000 (17:15 +1000)]
Merge pull request #50788 from zdover23/wip-doc-2023-03-30-backport-50764-to-quincy

quincy: doc/start: format procedure in documenting-ceph

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/start: format procedure in documenting-ceph 50788/head
Zac Dover [Thu, 30 Mar 2023 00:54:52 +0000 (10:54 +1000)]
doc/start: format procedure in documenting-ceph

Organize three steps in a procedure into one step with three sub-steps.

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

2 years agoMerge pull request #50762 from zdover23/wip-doc-2023-03-30-backport-50744-to-quincy
Anthony D'Atri [Wed, 29 Mar 2023 22:31:53 +0000 (18:31 -0400)]
Merge pull request #50762 from zdover23/wip-doc-2023-03-30-backport-50744-to-quincy

quincy: doc/rados: add link to ops/health-checks.rst

2 years agodoc/rados: add link to ops/health-checks.rst 50762/head
Zac Dover [Wed, 29 Mar 2023 14:25:23 +0000 (00:25 +1000)]
doc/rados: add link to ops/health-checks.rst

Add an internal navigation link to
doc/rados/operations/health-checks.rst.

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

2 years agoMerge pull request #50752 from zdover23/wip-doc-2023-03-30-backport-50750-to-quincy
Anthony D'Atri [Wed, 29 Mar 2023 19:33:09 +0000 (15:33 -0400)]
Merge pull request #50752 from zdover23/wip-doc-2023-03-30-backport-50750-to-quincy

quincy: doc/rados/operations: Fix typo in erasure-code.rst

2 years agodoc/rados/operations: Fix typo in erasure-code.rst 50752/head
SAINITHIN.ARTHAM [Wed, 29 Mar 2023 18:16:32 +0000 (23:46 +0530)]
doc/rados/operations: Fix typo in erasure-code.rst

Signed-off-by: Sainithin Artham <sai.artham.19cse@bmu.edu.in>
(cherry picked from commit 3269fea2a209928137e55db16328c581988c048a)

2 years agoMerge pull request #50740 from zdover23/wip-doc-2023-03-29-backport-50723-to-quincy
Anthony D'Atri [Wed, 29 Mar 2023 14:17:09 +0000 (10:17 -0400)]
Merge pull request #50740 from zdover23/wip-doc-2023-03-29-backport-50723-to-quincy

quincy: doc/start: documenting-ceph - add squash procedure

2 years agodoc/start: documenting-ceph - add squash procedure 50740/head
Zac Dover [Tue, 28 Mar 2023 09:29:40 +0000 (19:29 +1000)]
doc/start: documenting-ceph - add squash procedure

Add a procedure to doc/start/documenting-ceph.rst that explains how to
perform an interactive rebase to squash commits.

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

2 years agoMerge pull request #50708 from zdover23/wip-doc-2023-03-28-backport-49514-to-quincy
Anthony D'Atri [Tue, 28 Mar 2023 12:29:49 +0000 (08:29 -0400)]
Merge pull request #50708 from zdover23/wip-doc-2023-03-28-backport-49514-to-quincy

quincy: doc/glossary: link to CephX Config ref

2 years agodoc/glossary: link to CephX Config ref 50708/head
Zac Dover [Mon, 19 Dec 2022 18:16:19 +0000 (04:16 +1000)]
doc/glossary: link to CephX Config ref

Link to the CephX Configuration Reference in the "CephX" entry in the
glossary.

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

2 years agoMerge pull request #50702 from zdover23/wip-doc-2023-03-28-backport-50697-to-quincy
Anthony D'Atri [Tue, 28 Mar 2023 02:45:42 +0000 (22:45 -0400)]
Merge pull request #50702 from zdover23/wip-doc-2023-03-28-backport-50697-to-quincy

quincy: doc/glossary: add "Scrubbing"

2 years agodoc/glossary: add "Scrubbing" 50702/head
Zac Dover [Mon, 27 Mar 2023 20:48:32 +0000 (06:48 +1000)]
doc/glossary: add "Scrubbing"

Add "Scrubbing" 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 4a66819da48cee430ca74830e1a6f63685b6b240)

2 years agoMerge pull request #50678 from zdover23/wip-doc-2023-03-27-backport-50675-to-quincy
Anthony D'Atri [Sun, 26 Mar 2023 19:32:56 +0000 (15:32 -0400)]
Merge pull request #50678 from zdover23/wip-doc-2023-03-27-backport-50675-to-quincy

quincy: doc/rados: clean up ops/bluestore-migration.rst

2 years agodoc/rados: clean up ops/bluestore-migration.rst 50678/head
Zac Dover [Sun, 26 Mar 2023 15:03:58 +0000 (01:03 +1000)]
doc/rados: clean up ops/bluestore-migration.rst

Clean up internal links, fix the numbering of a procedure, and implement
Anthony D'Atri's suggestions in
https://github.com/ceph/ceph/pull/50487 and
https://github.com/ceph/ceph/pull/50488.

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

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

2 years agoMerge pull request #50672 from zdover23/wip-doc-2023-03-26-backport-50654-to-quincy
colemitchell [Sat, 25 Mar 2023 19:56:07 +0000 (15:56 -0400)]
Merge pull request #50672 from zdover23/wip-doc-2023-03-26-backport-50654-to-quincy

quincy: doc/glossary: add "User"

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/glossary: add "User" 50672/head
Zac Dover [Fri, 24 Mar 2023 10:56:51 +0000 (20:56 +1000)]
doc/glossary: add "User"

Add "User" to glossary.rst.

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

2 years agoMerge pull request #50662 from zdover23/wip-doc-2023-03-25-backport-50660-to-quincy
Anthony D'Atri [Fri, 24 Mar 2023 18:51:58 +0000 (14:51 -0400)]
Merge pull request #50662 from zdover23/wip-doc-2023-03-25-backport-50660-to-quincy

quincy: doc/operations: fix prompt in bluestore-migration

2 years agodoc/operations: fix prompt in bluestore-migration 50662/head
Zac Dover [Fri, 24 Mar 2023 17:47:10 +0000 (03:47 +1000)]
doc/operations: fix prompt in bluestore-migration

Fix a single prompt in bluestore-migration.rst.

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

2 years agorgw: rgw_parse_url_bucket() rejects empty bucket names after 'tenant:'
Yuri Weinstein [Thu, 23 Mar 2023 22:21:43 +0000 (22:21 +0000)]
rgw: rgw_parse_url_bucket() rejects empty bucket names after 'tenant:'

fail with ERR_INVALID_BUCKET_NAME if rgw_parse_url_bucket() finds a
'tenant:' but empty bucket name

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

Conflicts:
src/rgw/rgw_bucket.cc: renamed to driver/rados/rgw_bucket
(cherry picked from commit 5bfaf761c1a146a1bbab997ca5a9804d48fdb2eb)

2 years agomsg/async: don't abort when public addrs mismatch bind addrs
Radosław Zarzyński [Thu, 16 Mar 2023 17:05:17 +0000 (18:05 +0100)]
msg/async: don't abort when public addrs mismatch bind addrs

Before the 69b47c805fdd2ecd4f58547d58c9f019fc62d447 (PR #50153)
a mismatch (in number or types of stored `entity_addr_t`) between
public addrs and bind addrs vectors was ignored and the former
was taking over anything else -- it was possible to e.g. bind to
both v1 and v2 addresses but expose v2 only. Unfortunately, that's
exactly how Rook configures ceph-mon:

```
debug 2023-03-16T21:01:48.389+0000 7f99822bf8c0  0 starting mon.a rank 0 at public addrs v2:172.30.122.144:3300/0 at bind addrs [v2:10.129.2.21:3300/0,v1:10.129.2.21:6789/0] mon_data /var/lib/ceph/mon/ceph-a fsid acc14d1b-fb2b-4f01-8b61-6e7cb26e9200
```

The consequnece is the following abort:

```
ceph version 17.2.5-1338.el9cp (5adce3015143c7c2cc135a71368be194744f5761) quincy (stable)
1: (ceph::__ceph_abort(char const*, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xd3) [0x7ff05392c1a6]
2: /usr/lib64/ceph/libceph-common.so.2(+0x165ac1) [0x7ff05394eac1]
3: (AsyncMessenger::bindv(entity_addrvec_t const&, std::optional<entity_addrvec_t>)+0x1fe) [0x7ff053baa0ce]
4: main()
5: /lib64/libc.so.6(+0x3feb0) [0x7ff053048eb0]
6: __libc_start_main()
7: _start()
debug *** Caught signal (Aborted) **  in thread 7ff052ab18c0 thread_name:ceph-mon 2023-03-16T09:56:35.995+0000 7ff052ab18c0 -1 /builddir/build/BUILD/ceph-17.2.5-1338-g484e8dbb/src/msg/msg_types.h: In function 'void entity_addr_t::set_port(int)' thread 7ff052ab18c0 time 2023-03-16T09:56:35.996339+0000 /builddir/build/BUILD/ceph-17.2.5-1338-g484e8dbb/src/msg/msg_types.h: 359: ceph_abort_msg("abort() called")
```

This commit brings the original logic back but in a way that
preserves the port numbers figured out by. e.g. `Processor::bind`.

Fixes: https://tracker.ceph.com/issues/59100
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 68fbdcf9b0937e8102b86d0bf84815554b62328d)
(cherry picked from commit 3fb810451f2522e7b381ecb577d6484a464be72c)