]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
18 months agoMerge pull request #56096 from adk3798/wip-63817-reef
Adam King [Wed, 13 Mar 2024 01:34:55 +0000 (21:34 -0400)]
Merge pull request #56096 from adk3798/wip-63817-reef

reef: python-common/drive_selection: fix limit with existing devices

Reviewed-by: John Mulligan <jmulligan@redhat.com>
18 months agoMerge pull request #56095 from adk3798/wip-63815-reef
Adam King [Wed, 13 Mar 2024 01:34:16 +0000 (21:34 -0400)]
Merge pull request #56095 from adk3798/wip-63815-reef

reef: python-common: fix osdspec_affinity check

Reviewed-by: John Mulligan <jmulligan@redhat.com>
18 months agoMerge pull request #56093 from adk3798/wip-63448-reef
Adam King [Wed, 13 Mar 2024 01:33:04 +0000 (21:33 -0400)]
Merge pull request #56093 from adk3798/wip-63448-reef

reef: mgr/cephadm: discovery service (port 8765) fails on ipv6 only clusters

Reviewed-by: John Mulligan <jmulligan@redhat.com>
18 months agoMerge pull request #55957 from adk3798/reef-test-custom-config
Adam King [Wed, 13 Mar 2024 01:31:04 +0000 (21:31 -0400)]
Merge pull request #55957 from adk3798/reef-test-custom-config

reef: qa/cephadm: testing for extra daemon/container features

Reviewed-by: John Mulligan <jmulligan@redhat.com>
18 months agoMerge pull request #56090 from adk3798/wip-63434-reef
Adam King [Wed, 13 Mar 2024 01:29:55 +0000 (21:29 -0400)]
Merge pull request #56090 from adk3798/wip-63434-reef

reef: mgr/cephadm: update timestamp on repeat daemon/service events

Reviewed-by: John Mulligan <jmulligan@redhat.com>
18 months agoMerge pull request #56089 from adk3798/wip-63190-reef
Adam King [Wed, 13 Mar 2024 01:29:39 +0000 (21:29 -0400)]
Merge pull request #56089 from adk3798/wip-63190-reef

reef: mgr/cephadm: make jaeger-collector a dep for jaeger-agent

Reviewed-by: John Mulligan <jmulligan@redhat.com>
18 months agoMerge pull request #55819 from adk3798/reef-cephadm-nvmeof-log-mount
Adam King [Wed, 13 Mar 2024 01:29:17 +0000 (21:29 -0400)]
Merge pull request #55819 from adk3798/reef-cephadm-nvmeof-log-mount

reef: cephadm: Add mount for nvmeof log location

Reviewed-by: John Mulligan <jmulligan@redhat.com>
18 months agoMerge pull request #55555 from adk3798/reef-cephadm-asyncio-timeout-fixup
Adam King [Wed, 13 Mar 2024 01:28:52 +0000 (21:28 -0400)]
Merge pull request #55555 from adk3798/reef-cephadm-asyncio-timeout-fixup

reef: mgr/cephadm: fixups for asyncio based timeout

Reviewed-by: John Mulligan <jmulligan@redhat.com>
18 months agoMerge pull request #55097 from cbodley/wip-63839-reef
Casey Bodley [Tue, 12 Mar 2024 12:32:36 +0000 (12:32 +0000)]
Merge pull request #55097 from cbodley/wip-63839-reef

reef: qa: remove vstart runner from radosgw_admin task

Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
18 months agoMerge pull request #55815 from rhcs-dashboard/wip-64624-reef
afreen23 [Tue, 12 Mar 2024 10:59:43 +0000 (16:29 +0530)]
Merge pull request #55815 from rhcs-dashboard/wip-64624-reef

reef: mgr/dashboard: fix snap schedule date format

Reviewed-by: Afreen <afreen23.git@gmail.com>
18 months agoMerge pull request #56127 from adk3798/wip-64836-reef
Nizamudeen A [Tue, 12 Mar 2024 06:09:23 +0000 (11:39 +0530)]
Merge pull request #56127 from adk3798/wip-64836-reef

reef: mgr/dashboard: debugging make check failure

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
18 months agoMerge pull request #56130 from zdover23/wip-doc-2024-03-12-backport-56113-to-reef
Anthony D'Atri [Mon, 11 Mar 2024 23:01:42 +0000 (19:01 -0400)]
Merge pull request #56130 from zdover23/wip-doc-2024-03-12-backport-56113-to-reef

reef: doc/cephadm: Improve multiple files

18 months agoMerge pull request #55969 from galsalomon66/wip-64693-reef
Yuri Weinstein [Mon, 11 Mar 2024 18:32:23 +0000 (11:32 -0700)]
Merge pull request #55969 from galsalomon66/wip-64693-reef

reef: rgw/S3select: remove assert from csv-parser, adding updates

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #55790 from cbodley/wip-64600-reef
Yuri Weinstein [Mon, 11 Mar 2024 18:31:35 +0000 (11:31 -0700)]
Merge pull request #55790 from cbodley/wip-64600-reef

reef: test/rgw: increase timeouts in unittest_rgw_dmclock_scheduler

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
18 months agoMerge pull request #55655 from cbodley/wip-64500-reef
Yuri Weinstein [Mon, 11 Mar 2024 18:29:39 +0000 (11:29 -0700)]
Merge pull request #55655 from cbodley/wip-64500-reef

reef: rgw/datalog: RGWDataChangesLog::add_entry() uses null_yield

Reviewed-by: Adam Emerson <aemerson@redhat.com>
18 months agoMerge pull request #55621 from cbodley/wip-64426-reef
Yuri Weinstein [Mon, 11 Mar 2024 18:28:36 +0000 (11:28 -0700)]
Merge pull request #55621 from cbodley/wip-64426-reef

reef: rgw/putobj: RadosWriter uses part head object for multipart parts

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
18 months agoMerge pull request #55606 from jzhu116-bloomberg/wip-64448-reef
Yuri Weinstein [Mon, 11 Mar 2024 18:28:01 +0000 (11:28 -0700)]
Merge pull request #55606 from jzhu116-bloomberg/wip-64448-reef

reef: rgw: do not copy olh attributes in versioning suspended bucket

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #55289 from jzhu116-bloomberg/wip-64088-reef
Yuri Weinstein [Mon, 11 Mar 2024 18:26:10 +0000 (11:26 -0700)]
Merge pull request #55289 from jzhu116-bloomberg/wip-64088-reef

reef: rgw/lc: do not add datalog/bilog for some lc actions

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
18 months agoMerge pull request #55094 from cbodley/wip-63960-reef
Yuri Weinstein [Mon, 11 Mar 2024 18:24:11 +0000 (11:24 -0700)]
Merge pull request #55094 from cbodley/wip-63960-reef

reef: rgw: add headers to guide cache update in 304 response

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
18 months agoMerge pull request #55061 from cbodley/wip-63940-reef
Yuri Weinstein [Mon, 11 Mar 2024 18:23:14 +0000 (11:23 -0700)]
Merge pull request #55061 from cbodley/wip-63940-reef

reef: radosgw-admin: 'zone set' won't overwrite existing default-placement

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54866 from trociny/wip-63777-reef
Yuri Weinstein [Mon, 11 Mar 2024 18:21:38 +0000 (11:21 -0700)]
Merge pull request #54866 from trociny/wip-63777-reef

reef: [rgw][lc][rgw_lifecycle_work_time] adjust timing if the configured end time is less than the start time

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agodoc/cephadm: Improve multiple files
Anthony D'Atri [Mon, 11 Mar 2024 07:04:47 +0000 (03:04 -0400)]
doc/cephadm: Improve multiple files

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

18 months agomgr/dashboard: debugging make check failure
Nizamudeen A [Mon, 4 Mar 2024 12:52:48 +0000 (18:22 +0530)]
mgr/dashboard: debugging make check failure

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 958c60d8a74e3c38abe043e7f2cfbe4224cfb411)

18 months agoMerge pull request #55931 from ceph/reef-release
Yuri Weinstein [Mon, 11 Mar 2024 15:04:09 +0000 (08:04 -0700)]
Merge pull request #55931 from ceph/reef-release

v18.2.2

Reviewed-by: Laura Flores <lflores@redhat.com>
18 months agoMerge pull request #56059 from rhcs-dashboard/wip-64807-reef
Pedro Gonzalez Gomez [Mon, 11 Mar 2024 13:09:52 +0000 (14:09 +0100)]
Merge pull request #56059 from rhcs-dashboard/wip-64807-reef

reef: mgr/dashboard: add snap schedule M, Y frequencies

Reviewed-by: afreen23 <NOT@FOUND>
18 months agoMerge pull request #56111 from zdover23/wip-doc-2024-03-11-backport-56091-to-reef
Anthony D'Atri [Mon, 11 Mar 2024 07:06:09 +0000 (03:06 -0400)]
Merge pull request #56111 from zdover23/wip-doc-2024-03-11-backport-56091-to-reef

reef: doc/cephadm: improve host-management.rst

18 months agodoc/cephadm: improve host-management.rst
Anthony D'Atri [Sun, 10 Mar 2024 19:49:35 +0000 (15:49 -0400)]
doc/cephadm: improve host-management.rst

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

18 months agoqa/cephadm: don't test certain workunits with agent
Adam King [Thu, 15 Feb 2024 14:24:23 +0000 (09:24 -0500)]
qa/cephadm: don't test certain workunits with agent

There are a handful of workunits that don't work
with or don't make sense with the agent.
The test for the cephadm timeout only works if
the mgr directly runs ceph-volume inventory which
it won't do with the agent present. The adoption
test is just running direct cephadm commands that
are irrelevant to the agent. The test_orch_cli tests
rely on refresh timings that are different with
the agent running, causing spurious failures.

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

18 months agopython-common/drive_selection: fix limit with existing devices
Adam King [Mon, 27 Nov 2023 20:04:42 +0000 (15:04 -0500)]
python-common/drive_selection: fix limit with existing devices

When devices have already been used for OSDs, they are still
allowed to pass filtering as they are still needed for the
resulting ceph-volume lvm batch command. This was causing an
issue with limit however. Limit adds the devices we've found
that match the filter and existing OSD daemons tied to the spec.
This allows double counting of devices that hae been used for
OSDs, as they're counted in terms of being an existing device
and that they match the filter. To avoid this issue, devices
should only be counted towards the limit if they are not already
part of an OSD.

An additional note: The limit feature is only applied for
data devices, so there is no need to worry about the effect
of this change on selection of db, wal, or journal devices.
Also, we would still want to not count these devices if they
did end up passing the data device filter but had been used
for a db/wal/journal device previously.

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

18 months agopython-common: fix osdspec_affinity check
Guillaume Abrioux [Tue, 5 Dec 2023 16:58:07 +0000 (17:58 +0100)]
python-common: fix osdspec_affinity check

When no `service_id` is provided to service spec (osd) it results in
OSDs created with "osdspec_affinity" attribute set to a string
containing "None".

The DriveSelection class relies on the comparison of the actual
value of this attribute with the value of the service_id which has
the python type `None` in that case.

If any existing deployments were created without the service_id
attribute, we now have to support this case and make sure the check
won't filter out devices unexpectedly.

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

18 months agomgr/dashboard: discovery service (port 8765) fails on ipv6 only clusters
Theofilos Mouratidis [Wed, 1 Nov 2023 09:55:37 +0000 (10:55 +0100)]
mgr/dashboard: discovery service (port 8765) fails on ipv6 only clusters

Having ms_bind_ipv4=false and ipv6=true the code that the Ceph dashboard runs
for the discovery service (port 8765) fails, because it requests the address
of the mgr container which returns ipv6 and the mgr code expects ipv4 address

Fixes: https://tracker.ceph.com/issues/63388
Signed-off-by: Theofilos Mouratidis <mtheofilos@gmail.com>
(cherry picked from commit 647b5d67a8a800091acea68d20e87354373b0fac)

18 months agomgr/cephadm: update timestamp on repeat daemon/service events
Adam King [Wed, 18 Oct 2023 18:00:05 +0000 (14:00 -0400)]
mgr/cephadm: update timestamp on repeat daemon/service events

If you have a daemon/service event and then an identical
event happens later (e.g. the same daemon is redeployed
multiple times) the events are not updated on the repeat
instances. In cases like this I think it makes more
sense to update the timestamp so users can see the most
recent time the event happened.

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

18 months agomgr/cephadm: make jaeger-collector urls a dep for jaeger-agent
Adam King [Tue, 9 May 2023 19:06:41 +0000 (15:06 -0400)]
mgr/cephadm: make jaeger-collector urls a dep for jaeger-agent

the jaeger-agent's need to know the url for the collector(s)
that have been deployed. If a collector moves, or we deployed
the agents before the collector, we need to reconfig the agents
with updated info about the collectors. Failure to do so can
leave the jager-agents down reporting

```
Could not create collector proxy","error":"at least one collector hostPort address is required when resolver is not available"
```

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

18 months agoMerge pull request #56073 from zdover23/wip-doc-2024-03-09-backport-56068-to-reef
zdover23 [Sat, 9 Mar 2024 13:39:02 +0000 (23:39 +1000)]
Merge pull request #56073 from zdover23/wip-doc-2024-03-09-backport-56068-to-reef

reef: doc/glossary: add "Crimson" entry

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
18 months agodoc/glossary: add "Crimson" entry
Zac Dover [Fri, 8 Mar 2024 17:17:59 +0000 (03:17 +1000)]
doc/glossary: add "Crimson" entry

Add a "Crimson" entry to the glossary.

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

18 months agoMerge pull request #56041 from zdover23/wip-doc-2024-03-08-backport-56010-to-reef
zdover23 [Sat, 9 Mar 2024 05:11:18 +0000 (15:11 +1000)]
Merge pull request #56041 from zdover23/wip-doc-2024-03-08-backport-56010-to-reef

reef: doc/start: add Slack invite link

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
18 months agodoc/start: add Slack invite link
Zac Dover [Thu, 7 Mar 2024 03:01:47 +0000 (13:01 +1000)]
doc/start: add Slack invite link

Add a link to the ceph-storage Slack invitation page. Previously the
link went to a plain old "this is the ceph-storage Slack" page that did
not direct the reader to sign up.

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

18 months agoMerge pull request #55999 from guits/wip-64750-reef
Adam King [Fri, 8 Mar 2024 20:16:25 +0000 (15:16 -0500)]
Merge pull request #55999 from guits/wip-64750-reef

reef: mgr/node-proxy: handle 'None' statuses returned by RedFish

Reviewed-by: Adam King <adking@redhat.com>
18 months agoMerge pull request #56057 from zdover23/wip-doc-2024-03-08-backport-56045-to-reef
Anthony D'Atri [Fri, 8 Mar 2024 15:59:56 +0000 (10:59 -0500)]
Merge pull request #56057 from zdover23/wip-doc-2024-03-08-backport-56045-to-reef

reef: doc/rados: restore PGcalc tool

18 months agomgr/dashboard: add snap schedule M, Y frequencies
Ivo Almeida [Mon, 26 Feb 2024 11:56:18 +0000 (11:56 +0000)]
mgr/dashboard: add snap schedule M, Y frequencies

Added M and Y (month and year) repeat frequencies to snap schedule
create form.

Fixes: https://tracker.ceph.com/issues/64614
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
(cherry picked from commit be3bb09cca7ff8d10a36a59702bb16fd10aba84e)

18 months agodoc/rados: restore PGcalc tool
Zac Dover [Thu, 7 Mar 2024 17:29:50 +0000 (03:29 +1000)]
doc/rados: restore PGcalc tool

Restore the PGcalc tool to the documentation suite.

Co-authored-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit eaaf72253123de1a66f163f651046817faa97a1a)

18 months agoMerge pull request #56012 from zdover23/wip-doc-2024-03-07-backport-55995-to-reef
Anthony D'Atri [Thu, 7 Mar 2024 15:35:00 +0000 (10:35 -0500)]
Merge pull request #56012 from zdover23/wip-doc-2024-03-07-backport-55995-to-reef

reef: doc/architecture: correct typo

18 months agoMerge pull request #55640 from vshankar/wip-64485-reef
Venky Shankar [Thu, 7 Mar 2024 06:40:19 +0000 (12:10 +0530)]
Merge pull request #55640 from vshankar/wip-64485-reef

reef: mds,cephfs_mirror: add labelled per-client and replication metrics

Reviewed-by: Venky Shankar <vshankar@redhat.com>
18 months agoMerge pull request #55395 from dparmar18/wip-63691-reef
Venky Shankar [Thu, 7 Mar 2024 06:40:04 +0000 (12:10 +0530)]
Merge pull request #55395 from dparmar18/wip-63691-reef

reef: mgr/(object_format && nfs/export): enhance nfs export update failure response

Reviewed-by: Venky Shankar <vshankar@redhat.com>
18 months agoMerge pull request #55302 from neesingh-rh/wip-64144-reef
Venky Shankar [Thu, 7 Mar 2024 06:39:05 +0000 (12:09 +0530)]
Merge pull request #55302 from neesingh-rh/wip-64144-reef

reef: qa: fix rank_asok() to handle errors from asok commands

Reviewed-by: Venky Shankar <vshankar@redhat.com>
18 months agoMerge pull request #54538 from aaSharma14/wip-63571-reef
Nizamudeen A [Thu, 7 Mar 2024 05:18:56 +0000 (10:48 +0530)]
Merge pull request #54538 from aaSharma14/wip-63571-reef

reef: mgr/dashboard: Show the OSDs Out and Down panels as red whenever an OSD is in Out or Down state in Ceph Cluster grafana dashboard

Reviewed-by: Ejdesgaard <NOT@FOUND>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
18 months agoMerge pull request #55993 from rhcs-dashboard/wip-64732-reef
Nizamudeen A [Thu, 7 Mar 2024 04:31:37 +0000 (10:01 +0530)]
Merge pull request #55993 from rhcs-dashboard/wip-64732-reef

reef: mgr/dashboard: fixed cephfs mount command

Reviewed-by: Nizamudeen A <nia@redhat.com>
18 months agodoc/architecture: correct typo
Zac Dover [Wed, 6 Mar 2024 11:40:10 +0000 (21:40 +1000)]
doc/architecture: correct typo

s/client/clients/ where necessary, and add a link to the glossary.

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

18 months agoMerge pull request #56002 from zdover23/wip-doc-2024-03-07-backport-55982-to-reef
Anthony D'Atri [Wed, 6 Mar 2024 18:39:47 +0000 (13:39 -0500)]
Merge pull request #56002 from zdover23/wip-doc-2024-03-07-backport-55982-to-reef

reef: doc/dev: edit teuthology workflow

18 months agoMerge pull request #55836 from vshankar/wip-reef-raw-cluster-cmd
Yuri Weinstein [Wed, 6 Mar 2024 16:05:37 +0000 (08:05 -0800)]
Merge pull request #55836 from vshankar/wip-reef-raw-cluster-cmd

reef: use raw_cluster_cmd instead of run_ceph_cmd

Reviewed-by: Rishabh Dave <ridave@redhat.com>
18 months agoMerge pull request #55943 from vshankar/wip-64705-reef
Yuri Weinstein [Wed, 6 Mar 2024 16:04:37 +0000 (08:04 -0800)]
Merge pull request #55943 from vshankar/wip-64705-reef

reef: qa: remove error string checks and check w/ return value

Reviewed-by: Venky Shankar <vshankar@redhat.com>
18 months agoMerge pull request #55300 from neesingh-rh/wip-64098-reef
Yuri Weinstein [Wed, 6 Mar 2024 16:01:21 +0000 (08:01 -0800)]
Merge pull request #55300 from neesingh-rh/wip-64098-reef

reef: src/mount: kernel mount command returning misleading error message

Reviewed-by: Venky Shankar <vshankar@redhat.com>
18 months agoMerge pull request #54467 from lxbsz/wip-63262
Yuri Weinstein [Wed, 6 Mar 2024 15:59:15 +0000 (07:59 -0800)]
Merge pull request #54467 from lxbsz/wip-63262

reef: mds: fix issuing redundant reintegrate/migrate_stray requests

Reviewed-by: Venky Shankar <vshankar@redhat.com>
18 months agodoc/dev: edit teuthology workflow
Zac Dover [Wed, 6 Mar 2024 07:15:20 +0000 (17:15 +1000)]
doc/dev: edit teuthology workflow

Improve a couple of sentences in
doc/dev/developer_guide_testing_integration_tests/tests-integration-testing-teutology-workflow.rst.

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

18 months agomgr/node-proxy: handle 'None' statuses returned by RedFish
Guillaume Abrioux [Tue, 5 Mar 2024 10:05:18 +0000 (10:05 +0000)]
mgr/node-proxy: handle 'None' statuses returned by RedFish

Looks like RedFish might return 'None' values for some attributes.

for instance:

```
[root@ceph-node-01 ~]# curl -s -k -X GET https://169.254.1.1/redfish/v1/Systems/System.Embedded.1/Storage/AHCI.SL.6-1/Drives/Disk.Direct.0-0:AHCI.SL.6-1 -H "X-Auth-Token: 3264251c28191fa5e7c9ebec49ef90fc"  | jq .Status
{
  "Health": "OK",
  "HealthRollup": "OK",
  "State": "Enabled"
}
[root@ceph-node-01 ~]# curl -s -k -X GET https://169.254.1.1/redfish/v1/Systems/System.Embedded.1/Storage/NonRAID.Slot.2-1/Drives/Disk.Bay.0:Enclosure.Internal.0-1:NonRAID.Slot.2-1 -H "X-Auth-Token: 3264251c28191fa5e7c9ebec49ef90fc" | jq .Status
{
  "Health": null,
  "HealthRollup": null,
  "State": "Enabled"
}
[root@ceph-node-01 ~]#
```

Although this seems to be a bug from RedFish, we need to handle
the case when it happens otherwise it makes the mgr orchestrator module
throw an error.

The idea here is to create a new status "unknown" when we can't fetch the
real status of a component.

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

18 months agomgr/dashboard: fixed cephfs mount command
Ivo Almeida [Tue, 5 Mar 2024 12:37:21 +0000 (12:37 +0000)]
mgr/dashboard: fixed cephfs mount command

Fixes: https://tracker.ceph.com/issues/64716
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
(cherry picked from commit eeb09b19581d353fb68f86bb4c2871f026a35c29)

18 months agousing the it.length() for segment processing.
Gal Salomon [Sun, 3 Mar 2024 12:44:49 +0000 (14:44 +0200)]
using the it.length() for segment processing.
s3select submodule

Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
(cherry picked from commit 8fedb30c1bd6cd393becf88f8d2fe07ea9c6040c)

18 months agoadd a fix related to RGW crash upon compression (assert is replaced by exception)
Gal Salomon [Fri, 1 Mar 2024 12:48:13 +0000 (14:48 +0200)]
add a fix related to RGW crash upon compression (assert is replaced by exception)

Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
(cherry picked from commit 9d8f5d7132741c996a3f66d62a8ec9e9a34fa0c0)

18 months agoadding recent update: json-output and more
Gal Salomon [Tue, 13 Feb 2024 15:47:26 +0000 (17:47 +0200)]
adding recent update: json-output and more

Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
(cherry picked from commit f50385ef71a3d0ac175018cb070dbf2e767e6ed3)

18 months agoqa/cephadm: test for extra daemon features
Adam King [Mon, 19 Jun 2023 18:24:23 +0000 (14:24 -0400)]
qa/cephadm: test for extra daemon features

Specifically, extra_container_args, extra_entrypoint_args,
and custom_configs.

This also provides testing for the CustomContainer
class which previously had no usage in any
of the teuthology tests

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

18 months agopython-common/service_spec: add extra_entrypoint_args to CephExporter Spec
Adam King [Mon, 26 Jun 2023 20:42:52 +0000 (16:42 -0400)]
python-common/service_spec: add extra_entrypoint_args to CephExporter Spec

Similar to the mon, there's no reason for Ceph Exporter
in particular not to have this, it's just missing because
of the timing of when it was merged in.

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

18 months agomgr/cephadm: add extra_entrypoint_args to mon spec
Adam King [Mon, 19 Jun 2023 20:07:31 +0000 (16:07 -0400)]
mgr/cephadm: add extra_entrypoint_args to mon spec

There was no reason for the mon spec to not include
this option. I believe this was just an oversight caused
by the addition of the mon spec and extra_entrypoint_args
in separate PRs around the same time.

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

18 months agomgr/cephadm: add extra_container_args and custom_configs to CustomContainer
Adam King [Mon, 19 Jun 2023 19:46:45 +0000 (15:46 -0400)]
mgr/cephadm: add extra_container_args and custom_configs to CustomContainer

CustomContainer was skipped previously for the extra_container_args
and custom_configs feature as these could already be done
using other fields within the custom container service spec
(the "args" and "files" fields respectively). It seems
desirable for us to allow setting these things for custom
containers the same as for other services for uniformity sake
and this allows us to use custom containers to test
these features.

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

18 months agoqa: remove error string checks and check w/ return value
Venky Shankar [Thu, 25 Jan 2024 09:32:33 +0000 (15:02 +0530)]
qa: remove error string checks and check w/ return value

I ran into this failure once #54972 was merged. The test is validating
the error string returned due to the failed mount. There aren't any
return value checks - which is a _more_ important check. Generic error
string checks will fail once a (error) string is changed (typo, etc..).

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

18 months agoMerge pull request #55936 from zdover23/wip-doc-2024-03-05-backport-55918-to-reef
Anthony D'Atri [Tue, 5 Mar 2024 00:57:19 +0000 (19:57 -0500)]
Merge pull request #55936 from zdover23/wip-doc-2024-03-05-backport-55918-to-reef

reef: doc/rados: link to pg setting commands

18 months agoMerge pull request #55933 from zdover23/wip-doc-2024-03-05-backport-55924-to-reef
Anthony D'Atri [Tue, 5 Mar 2024 00:52:19 +0000 (19:52 -0500)]
Merge pull request #55933 from zdover23/wip-doc-2024-03-05-backport-55924-to-reef

reef: doc/architecture: remove pleonasm

18 months agodoc/rados: link to pg setting commands
Zac Dover [Mon, 4 Mar 2024 10:41:16 +0000 (20:41 +1000)]
doc/rados: link to pg setting commands

Link to the instructions for manually setting the number of PGs per
pool, from the mention of placement groups. These instructions are
included here in response to a request from Ronen Friedman on the
occasion of the removal of links to the PGcalc (see
https://github.com/ceph/ceph/pull/55899#pullrequestreview-1912940118).

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

18 months agodoc/architecture: remove pleonasm
Zac Dover [Mon, 4 Mar 2024 13:41:20 +0000 (23:41 +1000)]
doc/architecture: remove pleonasm

Remove the word "detailed" in a sentence immediately following a
sentence containing the word "detail".

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

18 months ago18.2.2 v18.2.2
Ceph Release Team [Mon, 4 Mar 2024 20:04:05 +0000 (20:04 +0000)]
18.2.2

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
18 months agoMerge pull request #55709 from mcv21/wip-64509-reef
Yuri Weinstein [Mon, 4 Mar 2024 19:12:36 +0000 (11:12 -0800)]
Merge pull request #55709 from mcv21/wip-64509-reef

reef: debian/*.postinst: add adduser as a dependency and specify --home when adduser

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
18 months agoMerge pull request #55901 from zdover23/wip-doc-2024-03-03-backport-55899-to-reef
Anthony D'Atri [Sun, 3 Mar 2024 13:06:51 +0000 (08:06 -0500)]
Merge pull request #55901 from zdover23/wip-doc-2024-03-03-backport-55899-to-reef

reef: doc/rados: remove PGcalc from docs

18 months agodoc/rados: remove PGcalc from docs
Zac Dover [Sun, 3 Mar 2024 10:28:00 +0000 (20:28 +1000)]
doc/rados: remove PGcalc from docs

Remove mention of the "PG calc" tool from the documentation. I have
removed all mention of this in one fell swoop to help posterity restore
mention of this tool if we decide we need to do so.

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

18 months agoMerge pull request #54879 from batrick/wip-63796-reef
Yuri Weinstein [Sat, 2 Mar 2024 00:02:45 +0000 (16:02 -0800)]
Merge pull request #54879 from batrick/wip-63796-reef

reef: pybind/mgr/devicehealth: replace SMART data if exists for same DATETIME

Reviewed-by: Laura Flores <lflores@redhat.com>
18 months agoMerge pull request #55880 from zdover23/wip-doc-2024-03-02-backport-55869-to-reef
Anthony D'Atri [Fri, 1 Mar 2024 23:59:20 +0000 (18:59 -0500)]
Merge pull request #55880 from zdover23/wip-doc-2024-03-02-backport-55869-to-reef

reef: doc/install: add manual RADOSGW install procedure

18 months agoMerge pull request #54122 from batrick/wip-63277-reef
Yuri Weinstein [Fri, 1 Mar 2024 23:57:21 +0000 (15:57 -0800)]
Merge pull request #54122 from batrick/wip-63277-reef

reef: cmake: use or turn off liburing for rocksdb

Reviewed-by: Laura Flores <lflores@redhat.com>
18 months agodoc/install: add manual RADOSGW install procedure
Zac Dover [Fri, 1 Mar 2024 12:11:14 +0000 (22:11 +1000)]
doc/install: add manual RADOSGW install procedure

Add a manual RADOSGW installation procedure to
doc/install/manual-deployment.rst. This procedure was developed by Janne
Johansson and reported to the ceph-users mailing list on 29 Jan 2024
here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/message/LB3YRIKAPOHXYCW7MKLVUJPYWYRQVARU/

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

18 months agoMerge pull request #55827 from afreen23/wip-64640-reef
Nizamudeen A [Fri, 1 Mar 2024 05:14:50 +0000 (10:44 +0530)]
Merge pull request #55827 from afreen23/wip-64640-reef

reef: mgr/dashboard: fix roles page for roles without policies

Reviewed-by: Nizamudeen A <nia@redhat.com>
18 months agoMerge pull request #55852 from zdover23/wip-doc-2024-03-01-backport-55834-to-reef
Anthony D'Atri [Fri, 1 Mar 2024 01:34:52 +0000 (20:34 -0500)]
Merge pull request #55852 from zdover23/wip-doc-2024-03-01-backport-55834-to-reef

reef: doc/dev: edit internals.rst

18 months agodoc/dev: edit internals.rst
Zac Dover [Thu, 29 Feb 2024 07:40:57 +0000 (17:40 +1000)]
doc/dev: edit internals.rst

Edit doc/dev/internals.rst. Make a few sentences pithier.

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

18 months agoMerge pull request #55849 from zdover23/wip-doc-2024-03-01-backport-55835-to-reef
Anthony D'Atri [Thu, 29 Feb 2024 23:46:53 +0000 (18:46 -0500)]
Merge pull request #55849 from zdover23/wip-doc-2024-03-01-backport-55835-to-reef

reef: doc/glossary: improve "MDS" entry

18 months agodoc/glossary: improve "MDS" entry
Zac Dover [Thu, 29 Feb 2024 08:08:10 +0000 (18:08 +1000)]
doc/glossary: improve "MDS" entry

Improve the entry for "MDS" in doc/glossary.rst by linking to the
"ceph-mds" man page and mentioning the relationship between clients and
MDS (or MDSes).

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

19 months agoMerge pull request #55712 from rzarzynski/wip-64406-reef
Yuri Weinstein [Thu, 29 Feb 2024 21:24:56 +0000 (13:24 -0800)]
Merge pull request #55712 from rzarzynski/wip-64406-reef

reef: src/osd/OSDMap.cc: Fix encoder to produce same bytestream

Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
19 months agoMerge PR #55669 into reef
Patrick Donnelly [Thu, 29 Feb 2024 14:18:45 +0000 (09:18 -0500)]
Merge PR #55669 into reef

* refs/pull/55669/head:
qa: test fuse/kclient for mds upgrade seq
qa: ignore OSD_DOWN during cephadm upgrades
qa: ignore warning "Replacing daemon"
qa: ignore MDS_INSUFFICIENT_STANDBY
qa: remove ignorelist error parenthesis
mds: update comment on kclient decoding of MDSMap
qa: do upgrades from quincy and older reef minor releases
mds: reverse MDSMap encoding of max_xattr_size/bal_rank_mask

Reviewed-by: Venky Shankar <vshankar@redhat.com>
19 months agoMerge pull request #55811 from rhcs-dashboard/wip-64610-reef
Nizamudeen A [Thu, 29 Feb 2024 11:08:57 +0000 (16:38 +0530)]
Merge pull request #55811 from rhcs-dashboard/wip-64610-reef

reef: mgr/dashboard: fix subvolume group edit

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
19 months agoreef: use raw_cluster_cmd instead of run_ceph_cmd
Venky Shankar [Thu, 29 Feb 2024 10:31:24 +0000 (16:01 +0530)]
reef: use raw_cluster_cmd instead of run_ceph_cmd

Due to https://github.com/ceph/ceph/pull/50569 not being backported

Signed-off-by: Venky Shankar <vshankar@redhat.com>
19 months agoMerge pull request #55786 from rhcs-dashboard/wip-64595-reef
Nizamudeen A [Thu, 29 Feb 2024 10:32:18 +0000 (16:02 +0530)]
Merge pull request #55786 from rhcs-dashboard/wip-64595-reef

reef: mgr/dashboard: fix volume creation with multiple hosts

Reviewed-by: Nizamudeen A <nia@redhat.com>
19 months agomgr/dashboard: fix roles page for roles without policies
Nizamudeen A [Tue, 27 Feb 2024 07:18:56 +0000 (12:48 +0530)]
mgr/dashboard: fix roles page for roles without policies

If there is no permission policies attached to a role, it fails the
UI with an exception.

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

19 months agoMerge pull request #55665 from idryomov/wip-64423-reef
Yuri Weinstein [Wed, 28 Feb 2024 20:33:06 +0000 (12:33 -0800)]
Merge pull request #55665 from idryomov/wip-64423-reef

reef: librbd: fix split() for SparseExtent and SparseBufferlistExtent

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
19 months agoMerge pull request #55617 from trociny/wip-64464-reef
Yuri Weinstein [Wed, 28 Feb 2024 20:31:56 +0000 (12:31 -0800)]
Merge pull request #55617 from trociny/wip-64464-reef

reef: tools/rbd: make 'children' command support --image-id

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
19 months agomgr/cephadm: make default command timeout field an int
Adam King [Wed, 3 Jan 2024 13:35:05 +0000 (08:35 -0500)]
mgr/cephadm: make default command timeout field an int

When the fields was "secs" instead, we could hit

Traceback (most recent call last):
  File "/usr/share/ceph/mgr/cephadm/serve.py", line 1380, in _run_cephadm_json
    out, err, code = await self._run_cephadm(
  File "/usr/share/ceph/mgr/cephadm/serve.py", line 1525, in _run_cephadm
    raise OrchestratorError(
orchestrator._interface.OrchestratorError: cephadm exited with an error code: 2, stderr: usage: cephadm
       [-h] [--image IMAGE] [--docker] [--data-dir DATA_DIR]
       [--log-dir LOG_DIR] [--logrotate-dir LOGROTATE_DIR]
       [--sysctl-dir SYSCTL_DIR] [--unit-dir UNIT_DIR] [--verbose]
       [--timeout TIMEOUT] [--retry RETRY] [--env ENV] [--no-container-init]
       [--no-cgroups-split]
       {version,pull,inspect-image, . . .
       ...
cephadm: error: argument --timeout: invalid int value: '295.0'

where the value ends up as a floating point value
after converting to a string (which is necessary to actually
pass it to the binary). By setting the field to be an
int, we should be able to avoid this.

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

19 months agoqa/cephadm: add test for cephadm asyncio based timeout
Adam King [Sat, 4 Nov 2023 22:45:17 +0000 (18:45 -0400)]
qa/cephadm: add test for cephadm asyncio based timeout

Adds a test that will set the default cephadm command
timeout and then force a timeout to occur by holding
the cephadm lock and triggering a device refresh.
This works because cephadm ceph-volume commands
require the cephadm lock to run, so the command will
timeout waiting for the lock to become available.

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

19 months agomgr/cephadm: Also catch concurrent.futures.TimeoutError for timeouts
Adam King [Wed, 7 Jun 2023 14:33:13 +0000 (10:33 -0400)]
mgr/cephadm: Also catch concurrent.futures.TimeoutError for timeouts

On python 3.6 which Ceph currently uses for its
container builds (which are based on centos 8 stream builds
hence the python version) the exception raised by a timeout
from a concurrent.futures.Future is successfully caught by
looking for asyncio.TimeoutError. However, in builds with
later python versions, e.g. 3.9.16, the timeout is no
longer caught. This results in situations like

Traceback (most recent call last):
  File "/usr/share/ceph/mgr/cephadm/utils.py", line 79, in do_work
    return f(*arg)
  File "/usr/share/ceph/mgr/cephadm/serve.py", line 241, in refresh
    r = self._refresh_host_devices(host)
  File "/usr/share/ceph/mgr/cephadm/serve.py", line 352, in _refresh_host_devices
    devices = self.mgr.wait_async(self._run_cephadm_json(
  File "/usr/share/ceph/mgr/cephadm/module.py", line 635, in wait_async
    return self.event_loop.get_result(coro, timeout)
  File "/usr/share/ceph/mgr/cephadm/ssh.py", line 63, in get_result
    return future.result(timeout)
  File "/lib64/python3.9/concurrent/futures/_base.py", line 448, in result
    raise TimeoutError()
concurrent.futures._base.TimeoutError

which causes the cephadm module to crash whenever one of these
command timeouts happen. This patch is to also catch the
newer exception type so it works on later python versions as well

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

19 months agonvmeof: Add mount for log location
Roy Sahar [Thu, 8 Feb 2024 15:58:43 +0000 (17:58 +0200)]
nvmeof: Add mount for log location

Signed-off-by: Roy Sahar <royswi@gmail.com>
(cherry picked from commit 5c613b3788d9ae686b4dc29d9414674ecb6f6adb)

Conflicts:
src/cephadm/cephadmlib/daemons/nvmeof.py
src/cephadm/cephadm.py

19 months agodebian/cephadm.postinst: stop using adduser --gecos
Kefu Chai [Sat, 3 Feb 2024 05:46:05 +0000 (13:46 +0800)]
debian/cephadm.postinst: stop using adduser --gecos

--gecos option of adduser is deprecated in debian/bookworm, and
will be removed in debian/trixie,
see https://manpages.debian.org/bookworm/adduser/adduser.8.en.html.
so to be future-proof, let's switch to `usermod --comment`. please
note, since we still need to support ubuntu/jammy which is used in
our CI, and `adduser` shipped by ubuntu/jammy does not support
`--comment` yet, so we cannot use this option.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit e74ec0b27dfb480a2951f85bf00072e95d944772)
(cherry picked from commit 5a236031951a2a6f8b358a25b9238dd1e8281f10)

19 months agodebian/cephadm.postinst: replace tab with spaces
Kefu Chai [Wed, 17 Jan 2024 15:52:48 +0000 (23:52 +0800)]
debian/cephadm.postinst: replace tab with spaces

for better readability, and to be more consistent with the rest
of this file, and other .postinst scripts of this project.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 013eebf5357666cf2509a37eecf69ef4ac349321)
(cherry picked from commit 7cff98556ecc407da17d62ca26b6989d1a2837d2)

19 months agodebian/cephadm.postinst: specify --home when adduser
Kefu Chai [Wed, 17 Jan 2024 15:47:39 +0000 (23:47 +0800)]
debian/cephadm.postinst: specify --home when adduser

quote from adduser/NEWS.Debian.gz:

>  System user home defaults to /nonexistent if --home is not specified.
>  Packages that call adduser to create system accounts should explicitly
>  specify a location for /home (see Lintian check
>  maintainer-script-lacks-home-in-adduser).

so let's follow this change in adduser. otherwise "cephadm"
would have a $HOME at `/nonexistent`.

Fixes: https://tracker.ceph.com/issues/64069
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 90bc0369243077c2aaf67f0de2bab5810b217f4e)
(cherry picked from commit 81c71165defaeedaf127263b7e615938df493b8e)

19 months agodebian/cephadm.postinst: wrap command line lines which is too long
Kefu Chai [Wed, 17 Jan 2024 15:44:23 +0000 (23:44 +0800)]
debian/cephadm.postinst: wrap command line lines which is too long

for better readability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit c517d0b0e95b20cd9bd979405d0248b9419e5c85)
(cherry picked from commit 044bb8a92514c66c24393e184db3b70298c62cb3)

19 months agodebian/ceph-common.postinst: set user directory using adduser
Kefu Chai [Wed, 17 Jan 2024 15:36:12 +0000 (23:36 +0800)]
debian/ceph-common.postinst: set user directory using adduser

now that adduser allows us to set its home directory, we can do
this using adduser instead of using usermod. this change also
silences the warning from lintian
"maintainer-script-lacks-home-in-adduser". lintian complains if
`adduser --system` is called without passing `--home` option.

also, take this opportunity to s/-c/--comment/ in the command line
of `usermod`, for better readability.

Fixes: https://tracker.ceph.com/issues/64069
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit a1a857698cad4f2feeea0b56fd781350e44078b7)
(cherry picked from commit 776a089b09c70ee45f2c84eec05279d6826abf15)

19 months agodebian/control: add adduser to Depends of cephadm and ceph-common
Kefu Chai [Wed, 17 Jan 2024 15:09:02 +0000 (23:09 +0800)]
debian/control: add adduser to Depends of cephadm and ceph-common

in `debian/ceph-common.postinst` and `debian/cephadm.postinst`, we
use `adduser --system` to create the system user when configuring
the corresponding package.

before this change, the dependency is not listed in the runtime
`Depends` section of ceph-common and cephadm.

in this change, the dependency is added. this is also suggested
by Securing Debian Manual, see
https://www.debian.org/doc/manuals/securing-debian-manual/bpp-lower-privs.en.html

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 2a30ddccd04b204821f0496856847e8ffc07835d)
(cherry picked from commit eeaaeeadcdff5fff0732d6f4e89b9d6f7b626c2f)

19 months agobackport mgr/prometheus: fix orch check to prevent Prometheus crash
Redouane Kachach [Thu, 8 Feb 2024 07:25:37 +0000 (08:25 +0100)]
backport mgr/prometheus: fix orch check to prevent Prometheus crash
https://tracker.ceph.com/issues/64339

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