]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agomgr/nfs: remove redundant check 45508/head
John Mulligan [Mon, 28 Feb 2022 20:46:44 +0000 (15:46 -0500)]
mgr/nfs: remove redundant check

Remove the extra check of the cluster id from _apply method. As _apply
is a "private" method that should be only called from other private
methods that have already validated the cluster_id. It also removes
a dependency on the orch-requiring func available_clusters.

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

3 years agomgr/nfs: fix unintentional recursion
John Mulligan [Mon, 28 Feb 2022 20:43:47 +0000 (15:43 -0500)]
mgr/nfs: fix unintentional recursion

The `exports` property of the ExportMgr exists to cache the exports
configuration found in the .nfs namespace. Using that property
within the property method is probably not intentional and is probably
only working due to the lucky construction of the _exports dict
immediately after the None check so that the _exports dict is returned
(and is a mutable type).

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

3 years agomgr/nfs: add known_cluster_ids to generalize nfs cluster id fetching
John Mulligan [Mon, 28 Feb 2022 20:39:24 +0000 (15:39 -0500)]
mgr/nfs: add known_cluster_ids to generalize nfs cluster id fetching

The changes to the nfs module in 8c711afc are working but when I began
writing more test automation I found a few more places in the
export-configuration code path relying on the orchestration module
only. This change generalizes the logic to source nfs clusters from
orchestration when it's enabled but from the .nfs pool when
orchestration is disabled. It then uses that call when loading
the exports cache on the ExportMgr object.

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

3 years agodoc/mgr/nfs: document that nfs exports related mgr call requirements
John Mulligan [Wed, 2 Feb 2022 20:58:08 +0000 (15:58 -0500)]
doc/mgr/nfs: document that nfs exports related mgr call requirements

A recent change in the mgr/nfs module should enable the functioning
of export management commands/API calls as long as the rados namespaces
and objects have been already established. Document this fact, noting
that now only the `ceph nfs cluster ...` calls *require* an
orchestration module.

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

3 years agomgr/nfs: support managing exports without orchestration enabled
John Mulligan [Sat, 29 Jan 2022 16:23:00 +0000 (11:23 -0500)]
mgr/nfs: support managing exports without orchestration enabled

This change allows the `ceph nfs export ...` commands to function
without the entire mgr/nfs subsystem requiring orchestration to be
enabled.  When there's no orchestration available, the code falls back
to examining the namespaces in the ".nfs" rados pool to determine what
cluster_id values are valid.

This change does not add support for creating the rados objects and
namespace needed to manage a nfs cluster. As discussed with the
orchestration group on 2022-01-22, rook does not need the mgr module to
establish the namespace. So, for now, we'll defer the work needed to
create the namespace/objects when orchestration is disabled.

Fixes: https://tracker.ceph.com/issues/54043
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 8c711afc4ab898942a2569b619eb8379ee02ffba)

3 years agomgr/nfs: fix typo in error message
John Mulligan [Fri, 28 Jan 2022 16:30:15 +0000 (11:30 -0500)]
mgr/nfs: fix typo in error message

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

3 years agomgr/nfs: add unit test for normalize_path
John Mulligan [Fri, 28 Jan 2022 16:21:57 +0000 (11:21 -0500)]
mgr/nfs: add unit test for normalize_path

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

3 years agomgr/nfs: change method format_path to function normalize_path
John Mulligan [Fri, 28 Jan 2022 16:07:54 +0000 (11:07 -0500)]
mgr/nfs: change method format_path to function normalize_path

This function was not using self and thus has no need to be a method.
While we're at it, rename it to normalize_path because that's what
it is doing.

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

3 years agomgr/nfs: clean up rados object naming code
John Mulligan [Thu, 27 Jan 2022 22:06:02 +0000 (17:06 -0500)]
mgr/nfs: clean up rados object naming code

The naming of rados objects used to store the nfs config was spread
all over the code, including inline f-strings, not-static methods,
etc.
This change unifies the naming by putting constant string prefixes
and name generating functions into the utils.py file.

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

3 years agomgr/nfs: make _check_rados_notify a function
John Mulligan [Thu, 27 Jan 2022 21:06:50 +0000 (16:06 -0500)]
mgr/nfs: make _check_rados_notify a function

This was previously a staticmethod. This static method was only used by
NFSRados object. Staticmethods are nearly always better implemented as
functions, which is done so here.

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

3 years agomgr/nfs: limit dependency of NFSRados object
John Mulligan [Thu, 27 Jan 2022 20:50:13 +0000 (15:50 -0500)]
mgr/nfs: limit dependency of NFSRados object

Previously, the NFSRados object accepted the "Module" as the
first argument but only used the rados attribute (type rados.Rados).
It's better to limit the scope of types when reasonably possible
so we can see what the true dependencies are. So we restrict
NFSRados to accepting a rados.Rados as the argument.

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

3 years agoMerge pull request #45365 from ronen-fr/wip-rf-42714-pacific
Ronen Friedman [Wed, 16 Mar 2022 08:36:00 +0000 (10:36 +0200)]
Merge pull request #45365 from ronen-fr/wip-rf-42714-pacific

pacific: osd/scrub: only telling the scrubber of awaited-for 'updates' events
A backport of PR#42714.
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #45194 from ronen-fr/wip-rf-45068-pacific
Ronen Friedman [Wed, 16 Mar 2022 08:29:08 +0000 (10:29 +0200)]
Merge pull request #45194 from ronen-fr/wip-rf-45068-pacific

pacific: osd/scrub: stop sending bogus digest-update events
A backport of PR #45068, commit e1b5347.

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45381 from adk3798/pacific-crash-fixes
Adam King [Tue, 15 Mar 2022 14:11:26 +0000 (10:11 -0400)]
Merge pull request #45381 from adk3798/pacific-crash-fixes

pacific: src/ceph-crash.in: various enhancements and fixes

Reviewed-by: Sébastien Han <seb@redhat.com>
3 years agoMerge pull request #45316 from zdover23/wip-doc-pacific-2022-03-10-removing-osd-stub
zdover23 [Mon, 14 Mar 2022 21:30:09 +0000 (07:30 +1000)]
Merge pull request #45316 from zdover23/wip-doc-pacific-2022-03-10-removing-osd-stub

pacific: doc/start: remove osd stub from hardware recs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agosrc/ceph-crash.in: print stderr if available 45381/head
Sébastien Han [Mon, 28 Jun 2021 16:49:15 +0000 (18:49 +0200)]
src/ceph-crash.in: print stderr if available

This is not perfect, but we have seen cases where the CLI returns 0 even
on failure.
For instance:

```sh
[root@rook-ceph-crashcollector-compute-1-66bdfbd886-d2zcd /]# ceph -n client.crash crash post -i /var/lib/ceph/crash/2021-06-28T07\:47\:37.859766Z_6ffb119c-930e-4047-9cfa-a92af783cdd0/meta
malformed crash metadata: time data '2021-06-28T07:47:37.859766' does not match format '%Y-%m-%d %H:%M:%S.%f'
[root@rook-ceph-crashcollector-compute-1-66bdfbd886-d2zcd /]# echo $?
0
```

So until we find the root cause, let's mitigate and perhaps accomodate
for futur similar issues.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit a77b47eeeb5770eeefcf4619ab2105ee7a6a003e)

3 years agosrc/ceph-crash.in: adad log-level support
Sébastien Han [Mon, 28 Jun 2021 16:40:22 +0000 (18:40 +0200)]
src/ceph-crash.in: adad log-level support

Now, the script can run with --log-level DEBUG to enable DEBUG level
logging.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit cb5d7667102a8fc8ae23dc23e0f424ebb5b85b9b)

3 years agosrc/ceph-crash.in: fix --name usage
Sébastien Han [Mon, 28 Jun 2021 16:36:51 +0000 (18:36 +0200)]
src/ceph-crash.in: fix --name usage

Previously when the --name was used, the code will still go through the
initial list. Now if --name is passed, only this user will be used to
upload crashes.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 66037d0c0ba80f2c4009558bb13ad073ca59f954)

3 years agosrc/ceph-crash.in: remove unused frame in handler()
Sébastien Han [Mon, 28 Jun 2021 16:36:08 +0000 (18:36 +0200)]
src/ceph-crash.in: remove unused frame in handler()

frame was unused so let's remove it.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 432c766a99f70884049bf7a1f268287a5a809777)

3 years agosrc/ceph-crash.in: remove unused variable
Sébastien Han [Mon, 28 Jun 2021 16:35:14 +0000 (18:35 +0200)]
src/ceph-crash.in: remove unused variable

stdout was never used so let's remove it.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 3089f0079a7fe5d2cd297d6eedd60a7b3249b42f)

3 years agoosd/scrub: remove the unused should_requeue_blocked_ops() 45365/head
Ronen Friedman [Mon, 9 Aug 2021 10:10:52 +0000 (10:10 +0000)]
osd/scrub: remove the unused should_requeue_blocked_ops()

Following the change in on_applied(), should_requeue_blocked_ops() is no longer in use.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 3c8d7f0e63bd840153e467fdfe5264fb85c518cc)

3 years agoosd/scrub: only telling the scrubber of 'updates' events if these events are waited for
Ronen Friedman [Sun, 8 Aug 2021 14:14:55 +0000 (14:14 +0000)]
osd/scrub: only telling the scrubber of 'updates' events if these events are waited for

Only the Primary, and only when there is an active scrubbing going on and the
scrubber state machine is in WaitUpdates states, should be notified of 'updates'.
The extra messages we queued and processed earlier, apart from creating redundant
log lines and wasting CPU time, were increasing the chance of a race in the handling
of stale scrubs.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 0aed4a5dd63b51288f1e01ca73d9e3632a1238be)

3 years agoMerge pull request #45245 from cbodley/wip-qa-rgw-sts-distro-pacific
Yuri Weinstein [Fri, 11 Mar 2022 17:01:56 +0000 (09:01 -0800)]
Merge pull request #45245 from cbodley/wip-qa-rgw-sts-distro-pacific

pacific: qa/rgw: use symlinks for rgw/sts suite, target supported-random-distro$

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
3 years agoMerge pull request #45087 from dvanders/wip-52075-pacific
Yuri Weinstein [Fri, 11 Mar 2022 15:46:53 +0000 (07:46 -0800)]
Merge pull request #45087 from dvanders/wip-52075-pacific

pacific: rgw: resolve empty ordered bucket listing results w/ CLS filtering *and* bucket index list produces incorrect result when non-ascii entries

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
3 years agoMerge pull request #45060 from dang/wip-dang-postobj-bucket
Yuri Weinstein [Fri, 11 Mar 2022 15:45:16 +0000 (07:45 -0800)]
Merge pull request #45060 from dang/wip-dang-postobj-bucket

pacific: RGW - Zipper - Make sure PostObj has bucket set

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44778 from mkogan1/wip-52900-pacific
Yuri Weinstein [Fri, 11 Mar 2022 15:44:44 +0000 (07:44 -0800)]
Merge pull request #44778 from mkogan1/wip-52900-pacific

pacific: rgw: under fips, set flag to allow md5 in select rgw ops

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44697 from cfsnyder/wip-51775-pacific
Yuri Weinstein [Fri, 11 Mar 2022 15:44:14 +0000 (07:44 -0800)]
Merge pull request #44697 from cfsnyder/wip-51775-pacific

pacific: rgw: Dump Object Lock Retain Date as ISO 8601

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #45328 from kamoltat/wip-ksirivad-backport-pacific-fix-autoscale-doc
Kamoltat Sirivadhna [Thu, 10 Mar 2022 16:53:52 +0000 (11:53 -0500)]
Merge pull request #45328 from kamoltat/wip-ksirivad-backport-pacific-fix-autoscale-doc

 pacfic: doc/rados/operations/placement-groups: fix --bulk docs
Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45301 from rhcs-dashboard/wip-53700-pacific
Ernesto Puerta [Thu, 10 Mar 2022 16:14:10 +0000 (17:14 +0100)]
Merge pull request #45301 from rhcs-dashboard/wip-53700-pacific

pacific: mgr/dashboard: fix white screen on Safari

Reviewed-by: Sarthak0702 <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #45326 from ceph/wip-yuri-pacific-clients
Ilya Dryomov [Thu, 10 Mar 2022 10:45:54 +0000 (11:45 +0100)]
Merge pull request #45326 from ceph/wip-yuri-pacific-clients

qa/tests: added upgrade-clients/client-upgrade-pacific-quincy test

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoosd/scrub: stop sending bogus digest-update events 45194/head
Ronen Friedman [Mon, 28 Feb 2022 11:25:51 +0000 (11:25 +0000)]
osd/scrub: stop sending bogus digest-update events

A backport of a fix (PR #45068, commit e1b5347) made in Quincy.
Direct cherry-picking failed, due to the major Scrub code
refactoring in-between.

Fixes: http://tracker.ceph.com/issues/54423
Manual backport of https://github.com/ceph/ceph/commit/e1b5347b81d17c8a5a1f6e1d4d76d18977ec2b0c
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 years agodoc/rados/operations/placement-groups: typo two 'the' 45328/head
Kamoltat [Wed, 9 Mar 2022 15:36:20 +0000 (15:36 +0000)]
doc/rados/operations/placement-groups: typo two 'the'

typo, should not have two 'the' next to each
other.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 7f1c7637e229c6a1bd69a4b204a56ae49c7fec44)

3 years agodoc/rados/operations/placement-groups: fix --bulk commands
Kamoltat [Mon, 7 Mar 2022 14:52:41 +0000 (14:52 +0000)]
doc/rados/operations/placement-groups: fix --bulk commands

Some parts of the documents regarding
the bulk flag  have typos.

Command for creating a pool

was: `ceph osd create test_pool --bulk`

should be: `ceph osd pool create test_pool --bulk`

Command for setting bulk value in a pool

was: `ceph osd pool set test_pool bulk=<true/false/1/0>`

should be: `ceph osd pool set test_pool bulk <true/false/1/0>`

Also removed a bit of trailing white spaces.

Changed `complements` to `complement`.

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

Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 4a01fc77985e5cf919b99eca86c4c7e8aae242f0)

3 years agoqa/tests: added upgrade-clients/client-upgrade-pacific-quincy test 45326/head
Yuri Weinstein [Wed, 9 Mar 2022 18:41:09 +0000 (10:41 -0800)]
qa/tests: added upgrade-clients/client-upgrade-pacific-quincy test

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 years agorgw: improve bucket index listing cls logging 45087/head
J. Eric Ivancich [Wed, 25 Aug 2021 13:52:31 +0000 (09:52 -0400)]
rgw: improve bucket index listing cls logging

Adding more level 20 logging for bucket index listing.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
3 years agorgw: clean-up logging of function entering to make thorough and consistent
J. Eric Ivancich [Mon, 10 May 2021 21:36:49 +0000 (17:36 -0400)]
rgw: clean-up logging of function entering to make thorough and consistent

This provides more thorough and consistent function tracing in CLS/RGW
when logging is set to 10 or higher.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
3 years agorgw: fix bucket index listing count bug
J. Eric Ivancich [Wed, 25 Aug 2021 13:50:29 +0000 (09:50 -0400)]
rgw: fix bucket index listing count bug

Fix bugs surrounding calculation of number of entries returned and
whether the end of a listing range has been reached.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
3 years agodoc/start: remove osd stub from hardware recs 45316/head
Zac Dover [Wed, 9 Mar 2022 15:26:43 +0000 (01:26 +1000)]
doc/start: remove osd stub from hardware recs

This PR removes a stub section called "OSDS (CEPH-OSD)"
from the hardware-recommendations.rst page. This section
had no content in it.

This PR is made in lieu of a backport. (I had thought
that this section was removed by another PR that was
a backport, but I was wrong. So this fixes it.)

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #45311 from idryomov/wip-test-notify-rebuild-object-map-pacific
Ilya Dryomov [Wed, 9 Mar 2022 12:43:58 +0000 (13:43 +0100)]
Merge pull request #45311 from idryomov/wip-test-notify-rebuild-object-map-pacific

pacific: test/librbd/test_notify.py: effect post object map rebuild assert

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agotest/librbd/test_notify.py: effect post object map rebuild assert 45311/head
Ilya Dryomov [Tue, 8 Mar 2022 12:56:15 +0000 (13:56 +0100)]
test/librbd/test_notify.py: effect post object map rebuild assert

Instead of just optionally skipping update_features test, commit
9c0b239d70cd ("qa/upgrade: conditionally disable update_features
tests") moved it after rebuild_object_map test.  This isn't right
because update_features test invalidates the object map as a side
effect and rebuild_object_map test is what makes it valid again:

  assert((image.flags() & RBD_FLAG_OBJECT_MAP_INVALID) == 0)

Let's make this assert effective, at least when update_features
test isn't skipped.

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

3 years agoMerge pull request #45228 from rkachach/backport_of_45054_and_44779
Adam King [Tue, 8 Mar 2022 19:46:53 +0000 (14:46 -0500)]
Merge pull request #45228 from rkachach/backport_of_45054_and_44779

pacific: mgr/cephadm: Delete ceph.target if last cluster

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45226 from rkachach/backport_of_pr_45023
Adam King [Tue, 8 Mar 2022 19:45:31 +0000 (14:45 -0500)]
Merge pull request #45226 from rkachach/backport_of_pr_45023

pacific: mgr/cephadm: Show an error when invalid format

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45298 from zdover23/wip-doc-pr45139-backport-2nd-attempt-pacific
zdover23 [Tue, 8 Mar 2022 18:16:59 +0000 (04:16 +1000)]
Merge pull request #45298 from zdover23/wip-doc-pr45139-backport-2nd-attempt-pacific

doc/start: include A. D'Atri's hardware-recs recs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agomgr/dashboard: fix white screen on Safari 45301/head
胡玮文 [Mon, 20 Dec 2021 04:54:23 +0000 (12:54 +0800)]
mgr/dashboard: fix white screen on Safari

Safari do not support lookbehind in regular expression.

Fixes: https://tracker.ceph.com/issues/53665
Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit d4b239c63595e1dc9772a135bf6b9c0608f852ce)

3 years agodoc/start: include A. D'Atri's hardware-recs recs 45298/head
Zac Dover [Thu, 24 Feb 2022 07:22:42 +0000 (17:22 +1000)]
doc/start: include A. D'Atri's hardware-recs recs

This PR restores material about partition alignment
and material about separating OS and OSD data that
was removed in an earlier rewrite. The restoration
of this information was requested by Anthony D'Atri in
https://github.com/ceph/ceph/pull/45123/

This PR also includes several refinements to the language
that could not be made to this text until now, owing to my
(Zac's) ignorance and illiteracy.

I call upon Mark Nelson (and anyone else with sufficient
command of the current state of storage technology) to advise
me on whether the Ceph Foundation feels comfortable in the year
2022 referring to QLC as an emerging technology.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(squash) more notes and revisions

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 07a1f7fe0463c5ef4424646e811626ff4bbf729c)
Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #45181 from ideepika/wip-54324-pacific
Yuri Weinstein [Mon, 7 Mar 2022 22:12:22 +0000 (14:12 -0800)]
Merge pull request #45181 from ideepika/wip-54324-pacific

pacific: tools/rbd: expand where option rbd_default_map_options can be set

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
3 years agoMerge pull request #45179 from ideepika/wip-54379-pacific
Yuri Weinstein [Mon, 7 Mar 2022 22:11:48 +0000 (14:11 -0800)]
Merge pull request #45179 from ideepika/wip-54379-pacific

pacific: common: replace BitVector::NoInitAllocator with wrapper struct

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
3 years agoMerge pull request #45170 from pponnuvel/wip-54381-pacific
Yuri Weinstein [Mon, 7 Mar 2022 22:10:40 +0000 (14:10 -0800)]
Merge pull request #45170 from pponnuvel/wip-54381-pacific

pacific: rbd-mirror: make mirror properly detect pool replayer needs restart

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
3 years agoqa/suites/krbd: add rbd_default_map_options override coverage 45181/head
Christopher Hoffman [Wed, 9 Feb 2022 20:28:19 +0000 (20:28 +0000)]
qa/suites/krbd: add rbd_default_map_options override coverage

Add coverage to test precedence, override, and option merge on rbd map.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
(cherry picked from commit 19d46b918169601afe9eb834a2361fb015048c67)

3 years agoqa/suites/krbd: rename rxbounce subsuite
Ilya Dryomov [Fri, 18 Feb 2022 16:06:42 +0000 (17:06 +0100)]
qa/suites/krbd: rename rxbounce subsuite

A new job that doesn't want ms_mode to be set underneath it is about to
be added.  Rename rxbounce to ms_modeless to make this purpose obvious.

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

3 years agorbd: support pool and image level overrides for rbd_default_map_options
Christopher Hoffman [Fri, 4 Feb 2022 21:25:53 +0000 (21:25 +0000)]
rbd: support pool and image level overrides for rbd_default_map_options

Fixes: https://tracker.ceph.com/issues/52850
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
(cherry picked from commit 9afc9712824a92fd6bdb2574c5880ab835236ed1)

3 years agoMerge pull request #45234 from adk3798/pacific-extra-all
Adam King [Sun, 6 Mar 2022 22:26:02 +0000 (17:26 -0500)]
Merge pull request #45234 from adk3798/pacific-extra-all

pacific: mgr/cephadm: extend extra_container_args to other service types

Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #45229 from adk3798/pacific-admin-drain
Adam King [Sun, 6 Mar 2022 17:25:01 +0000 (12:25 -0500)]
Merge pull request #45229 from adk3798/pacific-admin-drain

pacific: mgr/cephadm: block draining last _admin host

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #45231 from adk3798/pacific-admin-label-rm
Adam King [Sun, 6 Mar 2022 17:20:35 +0000 (12:20 -0500)]
Merge pull request #45231 from adk3798/pacific-admin-label-rm

pacific: mgr/cephadm: block removing last instance of _admin label

Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #45262 from idryomov/wip-cmake-disable-dpdk-warnings-pacific
Kefu Chai [Sun, 6 Mar 2022 08:05:35 +0000 (16:05 +0800)]
Merge pull request #45262 from idryomov/wip-cmake-disable-dpdk-warnings-pacific

pacific: cmake: pass RTE_DEVEL_BUILD=n when building dpdk

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agocmake: pass RTE_DEVEL_BUILD=n when building dpdk 45262/head
Kefu Chai [Sat, 5 Mar 2022 04:49:57 +0000 (12:49 +0800)]
cmake: pass RTE_DEVEL_BUILD=n when building dpdk

ceph is still using the Makefile based building system for building
DPDK. and DPDK enables -Werror if RTE_DEVEL_BUILD is 'y' which is
enabled by default when the dpdk is built from a git repo.

but newer GCC is more picky than the older versions, to prevent
the possible FTBFS when we switch to newer GCC for building old
branches whose dpdk submodule might be include the changes addressing
those warnings. let's just disable this option.

the only effect of this option is to add -Werror to CFLAGS. but
the building warnings from DPDK is not our focus when developing
Ceph in the most cases. so it should be fine.

see also
https://github.com/ceph/dpdk/blob/eac901ce29be559b1bb5c5da33fe2bf5c0b4bfd6/doc/build-sdk-quick.txt#L18

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

Conflicts:
cmake/modules/BuildDPDK.cmake [ commit d3c315703ae6 ("cmake:
  pass -Wunused-but-set-variable when building dpdk") not in
  pacific ]

3 years agoMerge pull request #45151 from yaarith/wip-45121-pacific
Yuri Weinstein [Fri, 4 Mar 2022 18:44:29 +0000 (10:44 -0800)]
Merge pull request #45151 from yaarith/wip-45121-pacific

pacific: mgr/devicehealth: skip null pages when extracting wear level

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #45111 from ljflores/wip-54352-pacific
Yuri Weinstein [Fri, 4 Mar 2022 18:42:59 +0000 (10:42 -0800)]
Merge pull request #45111 from ljflores/wip-54352-pacific

pacific: mgr/dashboard: dashboard turns telemetry off when configuring report

Reviewed-by: Yaarit Hatuka <yaarit@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Sarthak0702 <sarthak.0702@gmail.com>
3 years agoMerge pull request #44959 from BenoitKnecht/wip-54232-pacific
Yuri Weinstein [Fri, 4 Mar 2022 18:40:07 +0000 (10:40 -0800)]
Merge pull request #44959 from BenoitKnecht/wip-54232-pacific

pacific: mon: Abort device health when device not found

Reviewed-by: Yaarit Hatuka <yaarit@redhat.com>
3 years agoMerge pull request #45146 from guits/wip-54402-pacific
Guillaume Abrioux [Fri, 4 Mar 2022 12:07:39 +0000 (13:07 +0100)]
Merge pull request #45146 from guits/wip-54402-pacific

pacific: ceph-volume: abort when passed devices have partitions

3 years agoqa/rgw: use symlinks for rgw/sts suite, target supported-random-distro$ 45245/head
Casey Bodley [Mon, 12 Apr 2021 16:16:23 +0000 (12:16 -0400)]
qa/rgw: use symlinks for rgw/sts suite, target supported-random-distro$

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

3 years agomgr/cephadm: extend extra_container_args to other service types 45234/head
Adam King [Wed, 23 Feb 2022 20:43:30 +0000 (15:43 -0500)]
mgr/cephadm: extend extra_container_args to other service types

Otherwise, without this change, this can only be used for mgr,
mon and crash (daemons without their own service spec class)

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

Conflicts:
src/python-common/ceph/deployment/drive_group.py
src/python-common/ceph/deployment/service_spec.py

3 years agomgr/cephadm: block removing last instance of _admin label 45231/head
Adam King [Tue, 1 Mar 2022 01:23:10 +0000 (20:23 -0500)]
mgr/cephadm: block removing last instance of _admin label

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

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

3 years agomgr/cephadm: block draining last _admin host 45229/head
Adam King [Fri, 25 Feb 2022 22:55:06 +0000 (17:55 -0500)]
mgr/cephadm: block draining last _admin host

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

3 years agomgr/cephadm: Delete ceph.target if last cluster 45228/head
Redouane Kachach [Wed, 16 Feb 2022 11:01:57 +0000 (12:01 +0100)]
mgr/cephadm: Delete ceph.target if last cluster
Fixes: https://tracker.ceph.com/issues/46655
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agomgr/cephadm: Adding logic to cleanup several dirs after an rm-cluster
Redouane Kachach [Tue, 25 Jan 2022 17:27:56 +0000 (18:27 +0100)]
mgr/cephadm: Adding logic to cleanup several dirs after an rm-cluster
Fixes: https://tracker.ceph.com/issues/53010
       https://tracker.ceph.com/issues/53815
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agomgr/cephadm: Show an error when invalid format 45226/head
Redouane Kachach [Mon, 14 Feb 2022 14:17:31 +0000 (15:17 +0100)]
mgr/cephadm: Show an error when invalid format
Fixes: https://tracker.ceph.com/issues/54198
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agotest/rgw: fix and add to rgw/cls bi_list tests
J. Eric Ivancich [Tue, 17 Aug 2021 21:35:19 +0000 (17:35 -0400)]
test/rgw: fix and add to rgw/cls bi_list tests

Make sure marker is cleared. Put end-of-list check inside the
conditional with the rest of the test. Add some additional testing.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 1bf058199a13783e227c0e87ea6f3244f3560cfd)

3 years agorgw: fix bucket index list minor calculation bug
J. Eric Ivancich [Wed, 12 Jan 2022 18:41:42 +0000 (13:41 -0500)]
rgw: fix bucket index list minor calculation bug

When "bucket index list" traverses the different regions in the bucket
index assembling the output, it miscalculates how many entries to ask
for at one point. This fixes that.

This fixes previous "rgw: bucket index list can produce I/O errors".

Credit for finding this bug goes to Soumya Koduri <skoduri@redhat.com>.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit aa7605151f0a5f467d50f13f27c7aef42a40cc39)

3 years agorgw: allow ordered bucket listing to work when many filtered out entries
J. Eric Ivancich [Mon, 19 Jul 2021 18:24:11 +0000 (14:24 -0400)]
rgw: allow ordered bucket listing to work when many filtered out entries

A previous PR moved the much of the filtering that's part of bucket
listing to the CLS layer. One unanticipated result was that it is now
possible for a call to return 0 entries. In such a case we want to
retry the call with the marker moved forward (i.e., advanced),
repeatedly if necessary, in order to either retrieve some entries or
to hit the end of the entries. This PR adds that functionality.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 423c18308a35f0f2d6c7697539301cf7001d6329)

3 years agorgw: allow CLSRGWConcurrentIO to handle "advancing" retries
J. Eric Ivancich [Mon, 19 Jul 2021 18:23:42 +0000 (14:23 -0400)]
rgw: allow CLSRGWConcurrentIO to handle "advancing" retries

When doing an asynchronous/concurrent bucket index operation against
multiple bucket index shards, a special error code is set aside to
indicate that an "advancing" retry of a/some shard(s) is necessary. In
that case another asynchronous call is made on the indicated shard(s)
from the client (i.e., CLSRGWConcurrentIO).  It is up to the subclass
of CLSRGWConcurrentIO to handle the retry such that it "advances" and
simply doesn't get stuck, looping forever.

The retry functionality only works when the "need_multiple_rounds"
functionality is not in use.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 5d283074750dc6bd458877bd42921037b5bb7f4b)

3 years agorgw: de-conflate shard_id and request_id in CLSRGWConcurrentIO
J. Eric Ivancich [Fri, 16 Jul 2021 19:31:35 +0000 (15:31 -0400)]
rgw: de-conflate shard_id and request_id in CLSRGWConcurrentIO

When using asynchronous (concurrent) IO for bucket index requests,
there are two int ids that are used that need to be kept separate --
shard id and request id. In many cases they're the same -- shard 0
gets request 0, and so forth.

But in preparation for re-requests, those ids can diverge, where
request 13 maps to shard 2. The existing code maintained the OIDs that
went with each request. This PR also maintains the shard id as
well. Documentation has been beefed up to help future developers
navigate this.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 9606346592dfd6261aa2daa4cbec56f9a72c65fc)

3 years agorgw: bucket index list produces incorrect result when non-ascii entries
J. Eric Ivancich [Tue, 13 Jul 2021 19:36:53 +0000 (15:36 -0400)]
rgw: bucket index list produces incorrect result when non-ascii entries

A recent PR that helped address the issue of non-ascii plain entries
didn't cover all the bases, allowing I/O errors to be produced in some
circumstances during a bucket index list (i.e., `radosgw-admin bi list
...`).

This fixes those issue and does some additional clean-up.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit e714f0dbaf251472d41ccbd682c4d92c32ea5fac)
(cherry picked from commit 3473bf325508a145d65ed013c119370bfae4f940)

3 years agoMerge pull request #45002 from idryomov/wip-krbd-rxbounce-option-pacific
Ilya Dryomov [Mon, 28 Feb 2022 11:20:50 +0000 (12:20 +0100)]
Merge pull request #45002 from idryomov/wip-krbd-rxbounce-option-pacific

pacific: rbd: recognize rxbounce map option

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoMerge pull request #45003 from idryomov/wip-54128-pacific
Ilya Dryomov [Mon, 28 Feb 2022 11:19:00 +0000 (12:19 +0100)]
Merge pull request #45003 from idryomov/wip-54128-pacific

pacific: krbd: return error when no initial monitor address found

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agocommon: replace BitVector::NoInitAllocator with wrapper struct 45179/head
Casey Bodley [Tue, 15 Feb 2022 23:27:10 +0000 (18:27 -0500)]
common: replace BitVector::NoInitAllocator with wrapper struct

in c++20, the deprecated `struct std::allocator<T>::rebind` template was
removed, so `BitVector` no longer compiles. without a `rebind` to
inherit, `std::allocator_traits<NoInitAllocator>::rebind_alloc<U>` was
looking for `NoInitAllocator<U>`, but it isn't a template class

further investigation found that in c++17, `vector<__u32, NoInitAllocator>`
was rebinding this `NoInitAllocator` to `std::allocator<__u32>` and
preventing the no-init optimization from taking effect

instead of messing with the allocator to avoid zero-initialization, wrap
each __u32 in a struct whose constructor does not initialize the value

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

3 years agoMerge pull request #44897 from aclamk/wip-53480-pacific
Yuri Weinstein [Fri, 25 Feb 2022 22:57:15 +0000 (14:57 -0800)]
Merge pull request #44897 from aclamk/wip-53480-pacific

pacific: crush: Fix segfault in update_from_hook

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #44847 from kamoltat/wip-ksirivad-pacific-backport-44241
Yuri Weinstein [Fri, 25 Feb 2022 22:56:47 +0000 (14:56 -0800)]
Merge pull request #44847 from kamoltat/wip-ksirivad-pacific-backport-44241

pacific: mon: osd pool create <pool-name> with --bulk flag

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #44613 from ifed01/wip-ifed-fix-ram-gridy-fsck-pac
Yuri Weinstein [Fri, 25 Feb 2022 22:43:52 +0000 (14:43 -0800)]
Merge pull request #44613 from ifed01/wip-ifed-fix-ram-gridy-fsck-pac

pacific: os/bluestore: make shared blob fsck much less RAM-greedy.

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agoMerge pull request #43313 from idryomov/wip-keyring-resolve-error-pacific
Yuri Weinstein [Fri, 25 Feb 2022 22:40:04 +0000 (14:40 -0800)]
Merge pull request #43313 from idryomov/wip-keyring-resolve-error-pacific

pacific: auth,mon: don't log "unable to find a keyring" error when key is given

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agorbd-mirror: make mirror properly detect pool replayer needs restart 45170/head
Mykola Golub [Fri, 18 Feb 2022 10:42:23 +0000 (10:42 +0000)]
rbd-mirror: make mirror properly detect pool replayer needs restart

When a PoolReplayer detects remote pool metadata change it
sets "stopping" flag expecting the Mirror will restart it.

Although setting "stopping" flag makes the PoolReplayer::run
thread to terminate, the thread's is_started function will still
return true until join is called (and reset the thread id).

This made impossible for the Mirror to detect (by calling
PoolReplayer::is_running) that the PoolReplayer needed restart.

Fixes: https://tracker.ceph.com/issues/54258
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit ad4a2990b87834fe4ae8c9111547d071aa6e75e5)

3 years agoMerge pull request #44975 from vshankar/wip-54241
Yuri Weinstein [Fri, 25 Feb 2022 18:05:53 +0000 (10:05 -0800)]
Merge pull request #44975 from vshankar/wip-54241

pacific: mds: ignore unknown client op when tracking op latency

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
3 years agoMerge pull request #45100 from vshankar/wip-54217
Yuri Weinstein [Fri, 25 Feb 2022 16:23:31 +0000 (08:23 -0800)]
Merge pull request #45100 from vshankar/wip-54217

pacific: mds: kill session when mds do ms_handle_remote_reset

Reviewed-by: Xiubo Li <xiubli@redhat.com>
3 years agoMerge pull request #45099 from vshankar/wip-54220
Yuri Weinstein [Fri, 25 Feb 2022 16:22:05 +0000 (08:22 -0800)]
Merge pull request #45099 from vshankar/wip-54220

pacific: mds: fix seg fault in expire_recursive

Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
3 years agoMerge pull request #45016 from Vicente-Cheng/wip-54194-pacific
Yuri Weinstein [Fri, 25 Feb 2022 16:21:09 +0000 (08:21 -0800)]
Merge pull request #45016 from Vicente-Cheng/wip-54194-pacific

pacific: mds: mds_oft_prefetch_dirfrags default to false

Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #44910 from batrick/i54161
Yuri Weinstein [Fri, 25 Feb 2022 16:19:52 +0000 (08:19 -0800)]
Merge pull request #44910 from batrick/i54161

pacific: mon/MDSMonitor: sanity assert when inline data turned on in MDSMap from v16.2.4 -> v16.2.[567]

Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #44504 from MrFreezeex/wip-53761-pacific
Yuri Weinstein [Fri, 25 Feb 2022 16:19:15 +0000 (08:19 -0800)]
Merge pull request #44504 from MrFreezeex/wip-53761-pacific

pacific: qa/suites/fs: add prefetch_dirfrags false to thrasher suite

Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #42932 from kotreshhr/wip-52384-pacific
Yuri Weinstein [Fri, 25 Feb 2022 16:18:28 +0000 (08:18 -0800)]
Merge pull request #42932 from kotreshhr/wip-52384-pacific

pacific: mgr/volumes: Subvolume removal and clone failure fixes

Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #44869 from neha-ojha/wip-mgr-fixes-pacific
Yuri Weinstein [Thu, 24 Feb 2022 20:44:15 +0000 (12:44 -0800)]
Merge pull request #44869 from neha-ojha/wip-mgr-fixes-pacific

pacific: mgr: various fixes for mgr scalability

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Adam King adking@redhat.com
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agomgr/devicehealth: skip null pages when extracting wear level 45151/head
Yaarit Hatuka [Tue, 22 Feb 2022 19:22:09 +0000 (19:22 +0000)]
mgr/devicehealth: skip null pages when extracting wear level

Some devices have null pages in their ata_device_statistics struct; skip
those pages in order to avoid an AttributeError when extracting device's
wear level.

Fixes: https://tracker.ceph.com/issues/51554
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
(cherry picked from commit 2864ac30d4170ba7b5f60ae01ecfdeee707e026a)

3 years agoceph-volume: abort when passed devices have partitions 45146/head
Guillaume Abrioux [Wed, 23 Feb 2022 08:36:29 +0000 (09:36 +0100)]
ceph-volume: abort when passed devices have partitions

ceph-volume doesn't prevent from using db and/or wal devices
with existing partitions on them.
This can lead to a data loss situation.

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

3 years agoMerge pull request #45123 from zdover23/wip-hardware-recs-backport-2022-02-23-pacific
zdover23 [Wed, 23 Feb 2022 23:16:40 +0000 (09:16 +1000)]
Merge pull request #45123 from zdover23/wip-hardware-recs-backport-2022-02-23-pacific

doc/start: remove journal info from hardware recs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #45075 from chrisphoffman/wip-54298-pacific
Yuri Weinstein [Wed, 23 Feb 2022 17:55:57 +0000 (09:55 -0800)]
Merge pull request #45075 from chrisphoffman/wip-54298-pacific

pacific: cls/rbd: GroupSnapshotNamespace comparator violates ordering rules

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
3 years agoMerge pull request #45072 from idryomov/wip-qemu-task-rbd-package-pacific
Yuri Weinstein [Wed, 23 Feb 2022 16:54:08 +0000 (08:54 -0800)]
Merge pull request #45072 from idryomov/wip-qemu-task-rbd-package-pacific

pacific: qa/tasks/qemu: make sure block-rbd.so is installed

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoMerge pull request #44629 from sebastian-philipp/pacific-backport-44367
Adam King [Wed, 23 Feb 2022 05:18:47 +0000 (00:18 -0500)]
Merge pull request #44629 from sebastian-philipp/pacific-backport-44367

pacific: mgr/cephadm: Fix count for OSDs with OSD specs

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #44632 from sebastian-philipp/pacific-backport-44306
Adam King [Tue, 22 Feb 2022 22:51:27 +0000 (17:51 -0500)]
Merge pull request #44632 from sebastian-philipp/pacific-backport-44306

pacific: cephadm: deal with ambiguity within normalize_image_digest

Reviewed-by: Adam King <adking@redhat.com>
3 years agodoc/start: remove journal info from hardware recs 45123/head
Zac Dover [Sun, 5 Dec 2021 14:44:09 +0000 (00:44 +1000)]
doc/start: remove journal info from hardware recs

This PR removes mentions of journaling from the hardware
recommendations.

Journaling was a FileStore-related practice. BlueStore is
the default backend for Ceph OSDs and has been since
Luminous. The documentation should reflect that.

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

3 years agomgr/cephadm: Fix count for OSDs with OSD specs 44629/head
Sebastian Wagner [Mon, 20 Dec 2021 15:08:07 +0000 (16:08 +0100)]
mgr/cephadm: Fix count for OSDs with OSD specs

osd counting is special

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Conflicts:
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_cephadm.py

3 years agomgr/dashboard: Contact Info should be visible only when Ident channel is checked 45111/head
Sarthak0702 [Wed, 16 Feb 2022 12:45:35 +0000 (18:15 +0530)]
mgr/dashboard: Contact Info should be visible only when Ident channel is checked

Fixes:https://tracker.ceph.com/issues/54133
Signed-off-by: Sarthak0702 <sarthak.0702@gmail.com>
(cherry picked from commit 15211a6378a6fee9316f79ba0b27821891527c38)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.spec.ts
- removed test for perf channel, which doesn't exist in Pacific

3 years agomgr/dashboard: telemetry activate: show ident fields when checked
Aaryan Porwal [Sun, 6 Jun 2021 22:08:37 +0000 (03:38 +0530)]
mgr/dashboard: telemetry activate: show ident fields when checked

Signed-off-by: Aaryan Porwal <aaryanporwal2233@gmail.com>
(cherry picked from commit ad5b3f200529fc0bc511ce99eed338afcaef6a62)