]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agomgr/dashboard: rbd-mirror force promotion 51057/head
Pedro Gonzalez Gomez [Wed, 5 Apr 2023 15:42:52 +0000 (17:42 +0200)]
mgr/dashboard: rbd-mirror force promotion

resolves: https://tracker.ceph.com/issues/59327
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 9696b6a04830297c23c4cccd6e7c225f183ba0b2)

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

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

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

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

2 years agoMerge pull request #51011 from rhcs-dashboard/wip-59421-quincy
Nizamudeen A [Wed, 12 Apr 2023 07:12:35 +0000 (12:42 +0530)]
Merge pull request #51011 from rhcs-dashboard/wip-59421-quincy

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

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #51007 from rhcs-dashboard/wip-59401-quincy
Nizamudeen A [Wed, 12 Apr 2023 07:08:21 +0000 (12:38 +0530)]
Merge pull request #51007 from rhcs-dashboard/wip-59401-quincy

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

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 years agodoc/rados/operations: edit monitoring.rst 51036/head
Zac Dover [Tue, 11 Apr 2023 04:15:47 +0000 (14:15 +1000)]
doc/rados/operations: edit monitoring.rst

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

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

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

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

2 years agoMerge pull request #50906 from adk3798/wip-59315-quincy
Adam King [Tue, 11 Apr 2023 21:10:33 +0000 (17:10 -0400)]
Merge pull request #50906 from adk3798/wip-59315-quincy

quincy: mgr/cephadm: use a dedicated cephadm tmp dir to copy remote files

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50905 from adk3798/wip-59308-quincy
Adam King [Tue, 11 Apr 2023 21:09:35 +0000 (17:09 -0400)]
Merge pull request #50905 from adk3798/wip-59308-quincy

quincy: cephadm: using ip instead of short hostname for prometheus urls

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #50903 from adk3798/wip-59238-quincy
Adam King [Tue, 11 Apr 2023 21:08:45 +0000 (17:08 -0400)]
Merge pull request #50903 from adk3798/wip-59238-quincy

quincy: mgr/cephadm: increasing container stop timeout for OSDs

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50902 from adk3798/wip-59236-quincy
Adam King [Tue, 11 Apr 2023 21:07:51 +0000 (17:07 -0400)]
Merge pull request #50902 from adk3798/wip-59236-quincy

quincy: cephadm: mount host /etc/hosts for daemon containers in podman deployments

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #50901 from adk3798/wip-59235-quincy
Adam King [Tue, 11 Apr 2023 21:06:51 +0000 (17:06 -0400)]
Merge pull request #50901 from adk3798/wip-59235-quincy

quincy: mgr/cephadm: add more aggressive force flag for host maintenance enter

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

quincy: mgr/cephadm: handle HostConnectionError when checking for valid addr

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50899 from adk3798/wip-59182-quincy
Adam King [Tue, 11 Apr 2023 21:04:41 +0000 (17:04 -0400)]
Merge pull request #50899 from adk3798/wip-59182-quincy

quincy: mgr/orchestrator: fix device size in `orch device ls` output

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #50898 from adk3798/wip-58997-quincy
Adam King [Tue, 11 Apr 2023 21:03:39 +0000 (17:03 -0400)]
Merge pull request #50898 from adk3798/wip-58997-quincy

quincy: mgr/cephadm: make upgrade respect use_repo_digest

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
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 agomgr/dashboard: fix eviction of all FS clients 51011/head
Pere Diaz Bou [Wed, 5 Apr 2023 16:54:45 +0000 (18:54 +0200)]
mgr/dashboard: fix eviction of all FS clients

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

2 years agoceph-volume/tests: fix an issue with rpm 50995/head
Guillaume Abrioux [Tue, 11 Apr 2023 11:29:15 +0000 (13:29 +0200)]
ceph-volume/tests: fix an issue with rpm

Typical error seen in the CI:

```
error: /var/cache/dnf/baseos-00fe51d07def85f0/packages/kernel-core-4.18.0-483.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(459772) out of range
```

Upgrading `rpm` fixes this issue.

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

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

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

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

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

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

2 years agoceph-volume: add bluefs_buffered_io: false in functional tests
Guillaume Abrioux [Fri, 10 Mar 2023 15:44:16 +0000 (16:44 +0100)]
ceph-volume: add bluefs_buffered_io: false in functional tests

This is a workaround to make dmcrypt scenarios pass the CI.

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

2 years agoceph-volume: update the OS before deploying Ceph
Guillaume Abrioux [Fri, 10 Mar 2023 15:01:19 +0000 (16:01 +0100)]
ceph-volume: update the OS before deploying Ceph

ceph-volume tests are failing, OSDs never get up and running.
For some reason, updating the OS early in the testing workflow
addresses that issue in the CI.

-- to be continued ... --

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

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 agoqa/cephadm: add check that iscsi daemon /etc/hosts matches host /etc/hosts 50902/head
Adam King [Mon, 30 Jan 2023 16:27:09 +0000 (11:27 -0500)]
qa/cephadm: add check that iscsi daemon /etc/hosts matches host /etc/hosts

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

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

2 years agomgr/cephadm: use a dedicated cephadm tmp dir to copy remote files 50906/head
Redouane Kachach [Wed, 29 Mar 2023 08:48:30 +0000 (10:48 +0200)]
mgr/cephadm: use a dedicated cephadm tmp dir to copy remote files
Fixes: https://tracker.ceph.com/issues/59189
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit ef958d47b44f8e4579ae380bd9d6890c0c62e13a)

2 years agocephadm: using ip instead of short hostname for prometheus urls 50905/head
Redouane Kachach [Mon, 23 Jan 2023 12:22:27 +0000 (13:22 +0100)]
cephadm: using ip instead of short hostname for prometheus urls
Fixes: https://tracker.ceph.com/issues/58548
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit f56b131c804327411a1ae3cb68042f182f42996e)

2 years 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/cephadm: increasing container stop timeout for OSDs 50903/head
Redouane Kachach [Fri, 24 Mar 2023 12:04:43 +0000 (13:04 +0100)]
mgr/cephadm: increasing container stop timeout for OSDs
Fixes: https://tracker.ceph.com/issues/58158
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 17bcfa8b9908eaaab7fde53f1a23cb5aed465512)

2 years agoqa/suites/orch/cephadm: restrict test_iscsi_pids_limit to CentOS
Ilya Dryomov [Tue, 22 Mar 2022 10:36:18 +0000 (11:36 +0100)]
qa/suites/orch/cephadm: restrict test_iscsi_pids_limit to CentOS

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit f0ade57458b93f8401de8670ae62bf2295a6c40c)

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

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

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

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

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

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

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

2 years agomgr/cephadm: add more aggressive force flag for host maintenance enter 50901/head
Adam King [Wed, 1 Mar 2023 15:58:43 +0000 (10:58 -0500)]
mgr/cephadm: add more aggressive force flag for host maintenance enter

Right now, we have safety checks that will either say things are okay to stop,
return warnings, or returns "alerts". Warnings can be bypassed already with
the --force flag that exists for the command. However, the alerts cannot be
bypassed and cephadm will refuse to attempt to put the host in maintenance mode.
The idea here is for an additional flag that also bypasses that alerts, in cases
where a user really needs to put the host into maintenance mode even if that
means causing issues within the cluster.

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

2 years agomgr/cephadm: handle HostConnectionError when checking for valid addr 50900/head
Adam King [Wed, 15 Mar 2023 17:18:02 +0000 (13:18 -0400)]
mgr/cephadm: handle HostConnectionError when checking for valid addr

Otherwise, the error is not properly passed back up the chain
and the user can get an error message like

TypeError: __init__() missing 2 required positional arguments: 'hostname' and 'addr'

when trying to add a host, despite the actual problem being

cephadm.ssh.HostConnectionError: Failed to connect to vm-01 (192.168.122.248). Permission denied

The tracker shows a bit more, but generally trying to add a host
that doesn't have the proper pub-key set as an authorized key
will get a misleasing error message. With this patch, the error message looks like

[ceph: root@vm-00 /]# ceph orch host add vm-01 192.168.122.29
Error EINVAL: Failed to connect to vm-01 (192.168.122.29). Permission denied
Log: Opening SSH connection to 192.168.122.29, port 22
[conn=1] Connected to SSH server at 192.168.122.29, port 22
[conn=1]   Local address: 192.168.122.156, port 49552
[conn=1]   Peer address: 192.168.122.29, port 22
[conn=1] Beginning auth for user root
[conn=1] Auth failed for user root
[conn=1] Connection failure: Permission denied
[conn=1] Aborting connection

which is much more useful

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

2 years agomgr/orchestrator: fix device size in `orch device ls` output 50899/head
Adam King [Thu, 17 Nov 2022 18:14:55 +0000 (13:14 -0500)]
mgr/orchestrator: fix device size in `orch device ls` output

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

2 years agomgr/cephadm: make upgrade respect use_repo_digest 50898/head
Adam King [Sun, 12 Feb 2023 18:53:14 +0000 (13:53 -0500)]
mgr/cephadm: make upgrade respect use_repo_digest

If the option is false, we should upgrade images based
on whether their container image name matches, not whether
the digest is the same or not.

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

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>