]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agomgr/dashboard: remove unncessary hyperlink in landing page 51119/head
Nizamudeen A [Mon, 17 Apr 2023 09:38:06 +0000 (15:08 +0530)]
mgr/dashboard: remove unncessary hyperlink in landing page

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

2 years agoMerge pull request #51079 from rhcs-dashboard/wip-59451-quincy
Nizamudeen A [Mon, 17 Apr 2023 13:38:57 +0000 (19:08 +0530)]
Merge pull request #51079 from rhcs-dashboard/wip-59451-quincy

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

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

quincy: doc/radosgw: format part of s3select

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

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

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

2 years agoMerge pull request #51108 from zdover23/wip-doc-2023-04-16-backport-51099-to-quincy
zdover23 [Sun, 16 Apr 2023 16:24:40 +0000 (18:24 +0200)]
Merge pull request #51108 from zdover23/wip-doc-2023-04-16-backport-51099-to-quincy

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

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

quincy: doc/glossary: add "Hybrid Storage"

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

quincy: doc/mgr/prometheus: fix confval reference

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/dev: format command in cephfs-mirroring 51108/head
Zac Dover [Sun, 16 Apr 2023 09:11:27 +0000 (11:11 +0200)]
doc/dev: format command in cephfs-mirroring

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

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

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

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

quincy: doc/radosgw: format part of s3select

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

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

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

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

Add "Hybrid Storage" to the glossary.

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

2 years agodoc/mgr/prometheus: fix confval reference 51093/head
Piotr Parczewski [Sat, 15 Apr 2023 21:16:35 +0000 (23:16 +0200)]
doc/mgr/prometheus: fix confval reference

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

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

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

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

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

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

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

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

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

2 years agoMerge pull request #51076 from aaSharma14/wip-59448-quincy
Nizamudeen A [Fri, 14 Apr 2023 10:01:23 +0000 (15:31 +0530)]
Merge pull request #51076 from aaSharma14/wip-59448-quincy

quincy: mgr/dashboard: Fix rbd snapshot creation

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agomgr/dashboard: fix rbd mirror snapshot creation 51076/head
Aashish Sharma [Wed, 21 Dec 2022 11:53:37 +0000 (17:23 +0530)]
mgr/dashboard: fix rbd mirror snapshot creation

There are two types of snapshots that can be created on a snapshot based mirroring image - Normal Snapshot(same as journal based snapshot) and Nirror Image Snapshot. Till now Dashboard allowed only Mirror image snapshot, this PR intends to enable both the types

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 5ea4171ae3d2a28efbe20b825602eff1429ef92d)

2 years agoMerge pull request #51072 from zdover23/wip-doc-2023-04-14-backport-50166-to-quincy
Anthony D'Atri [Fri, 14 Apr 2023 01:50:00 +0000 (21:50 -0400)]
Merge pull request #51072 from zdover23/wip-doc-2023-04-14-backport-50166-to-quincy

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

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

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

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

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

2 years agoMerge pull request #51064 from zdover23/wip-doc-2023-04-13-backport-50713-to-quincy
Anthony D'Atri [Thu, 13 Apr 2023 12:32:34 +0000 (08:32 -0400)]
Merge pull request #51064 from zdover23/wip-doc-2023-04-13-backport-50713-to-quincy

quincy: doc/glossary: improve "CephX" entry

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

Improve the glossary entry for "CephX".

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

2 years agoMerge pull request #51057 from rhcs-dashboard/wip-59435-quincy
Nizamudeen A [Thu, 13 Apr 2023 10:09:00 +0000 (15:39 +0530)]
Merge pull request #51057 from rhcs-dashboard/wip-59435-quincy

quincy: mgr/dashboard: rbd-mirror force promotion

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #50897 from adk3798/wip-58996-quincy
Adam King [Wed, 12 Apr 2023 21:35:45 +0000 (17:35 -0400)]
Merge pull request #50897 from adk3798/wip-58996-quincy

quincy: mgr/cephadm: add commands to set services to managed/unmanaged

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
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 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 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)