]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agotest/cls/rgw: test dir_suggest after successful completion 45901/head
Casey Bodley [Thu, 10 Mar 2022 21:41:46 +0000 (16:41 -0500)]
test/cls/rgw: test dir_suggest after successful completion

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

3 years agocls/rgw: rgw_dir_suggest_changes detects race with completion
Casey Bodley [Thu, 10 Mar 2022 20:32:48 +0000 (15:32 -0500)]
cls/rgw: rgw_dir_suggest_changes detects race with completion

if bucket listing races with a pending index transaction, its suggested
removal may be mistakenly applied if that index transaction completes
before the osd receives this suggestion

in `rgw_dir_suggest_changes()`, the sole condition for applying a
suggested change is that the `cur_disk.pending_map` is empty. this is
true after rgw_bucket_complete_op()

on index completion, `rgw_bucket_dir_entry::index_ver` is updated to match
the new value of `rgw_bucket_dir_header::ver`. because most of `struct
rgw_bucket_dir_entry` makes the round trip through bucket listing ->
dir_suggest, we have access to the index_ver of the suggested entry. by
comparing this against the stored entry, we can ignore any suggestions
that were sent before the most recent completion

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

3 years agoMerge pull request #45780 from vshankar/wip-55110-quincy
Yuri Weinstein [Wed, 13 Apr 2022 14:04:34 +0000 (07:04 -0700)]
Merge pull request #45780 from vshankar/wip-55110-quincy

quincy: mount.ceph: remove `ms_mode' mount option when switching to old-syntax

Reviewed-by: Xiubo Li <xiubli@redhat.com>
3 years agoMerge pull request #45857 from ljflores/wip-quincy-55269
Yuri Weinstein [Tue, 12 Apr 2022 20:54:24 +0000 (13:54 -0700)]
Merge pull request #45857 from ljflores/wip-quincy-55269

quincy: mgr/telemetry: anonymize daemons in telemetry `perf_counters`

Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
3 years agoMerge pull request #45627 from ljflores/wip-55051-quincy
Yuri Weinstein [Mon, 11 Apr 2022 19:40:25 +0000 (12:40 -0700)]
Merge pull request #45627 from ljflores/wip-55051-quincy

quincy: admin/doc-requirements: bump sphinx to 4.4.0

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
3 years agomgr/telemetry: fix daemon anonymization in perf_counters 45857/head
Yaarit Hatuka [Sat, 9 Apr 2022 01:12:48 +0000 (21:12 -0400)]
mgr/telemetry: fix daemon anonymization in perf_counters

Anonymized daemons now appear with a SHA1 digest instead of their
original identifier, e.g.:

    "perf_counters": {
        "mon.1b1b829ba9298527f4934053a4742a1710937007": {
            "mon": {
                "election_call": {
                    "value": 1
                },
                ...
                "session_trim": {
                    "value": 0
                }
            },
        ...
        }
    ...
    }

Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
(cherry picked from commit 2f4cc770e7ac9767d6d3be51c1de03f6014a6f98)

3 years agomgr/telemetry: add anonymize_entity_name function
Yaarit Hatuka [Sat, 9 Apr 2022 00:33:04 +0000 (20:33 -0400)]
mgr/telemetry: add anonymize_entity_name function

The ability to anonymize entity names should have its own function
to prevent duplicate code.
Will clean up in a separate commit.

Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
(cherry picked from commit e89d821ee6256b18f94d520baeb07012de80b731)

3 years agomgr/telemetry: anonymize daemons in telemetry perf_counters
Laura Flores [Thu, 7 Apr 2022 22:20:14 +0000 (22:20 +0000)]
mgr/telemetry: anonymize daemons in telemetry perf_counters

In the telemetry perf channel we collect 'perf_counters' of individual daemons.
The monitors appear with their full name, which includes the host name.
The host name part must be anonymized.

To err on the safe side, I have anonymized all daemons except for osds,
since they are not attached to host names.

Fixes: https://tracker.ceph.com/issues/55229
Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit 0fe47b974ccc591c6108eb7a1b26087e62932bce)

3 years agomount.ceph: remove `ms_mode' mount option when switching to old-syntax 45780/head
Venky Shankar [Tue, 29 Mar 2022 13:18:06 +0000 (09:18 -0400)]
mount.ceph: remove `ms_mode' mount option when switching to old-syntax

... and switch to using v1 addresses (if users haven't specified those
explicitly). kernel versions <5.11 do not understand `ms_mode' mount
option which would result in mount failure.

Fixes: http://tracker.ceph.com/issues/55110
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 6e28d3406df06435bea26b465baf97c259942920)

3 years agoMerge pull request #45799 from rhcs-dashboard/fix-grafana-quincy
Yuri Weinstein [Fri, 8 Apr 2022 14:18:38 +0000 (07:18 -0700)]
Merge pull request #45799 from rhcs-dashboard/fix-grafana-quincy

quincy: monitoring: several Grafana fixes

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #45804 from adk3798/nfs-export-quincy
Adam King [Thu, 7 Apr 2022 20:03:27 +0000 (16:03 -0400)]
Merge pull request #45804 from adk3798/nfs-export-quincy

quincy: mgr/nfs: nfs export management backport

Reviewed-by: John Mulligan <jmulligan@redhat.com>
3 years agomgr/nfs: remove redundant check 45804/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 agomgr/dashboard: fix api test issue with pip 45799/head
Ernesto Puerta [Fri, 25 Mar 2022 15:26:48 +0000 (16:26 +0100)]
mgr/dashboard: fix api test issue with pip

Fix
```
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
apache-libcloud 3.5.0 requires requests>=2.26.0, but you have requests 2.25.1 which is incompatible.
Successfully installed CherryPy-13.1.0 PyJWT-2.0.1 Routes-2.4.1 bcrypt-3.1.4 ceph-1.0.0 chardet-4.0.0 cheroot-8.6.0 idna-2.10 jaraco.functools-3.5.0 more-itertools-4.1.0 natsort-8.1.0 portend-3.1.0 pyopenssl-22.0.0 pytz-2022.1 repoze.lru-0.7 requests-2.25.1 tempora-5.0.1
```

Fixes: https://tracker.ceph.com/issues/55060
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 2289ad2bc327b0d86916a1c96f4af2967a80c1b9)

3 years agomgr/cephadm: update monitoring stack versions
Aashish Sharma [Mon, 28 Feb 2022 06:16:14 +0000 (11:46 +0530)]
mgr/cephadm: update monitoring stack versions

Fixes: https://tracker.ceph.com/issues/54311
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 6a328ec30cd2c652c27e3bf070d5de7c2d4367b3)

 Conflicts:
src/cephadm/cephadm
src/pybind/mgr/cephadm/module.py:
        - Accept quincy changes and bring only updates in the Grafana,
          Prometheus, Alertmanager and Node Exporter versions

3 years agomgr/dashboard: upgrade grafana pie-chart and vonage-status-panel versions
Aashish Sharma [Wed, 6 Apr 2022 09:54:41 +0000 (15:24 +0530)]
mgr/dashboard: upgrade grafana pie-chart and vonage-status-panel versions

Fixes:https://tracker.ceph.com/issues/55195
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 2877920f58728eab20abe32fed24618449d76c09)

3 years agomonitoring/grafana: fix version
Ernesto Puerta [Mon, 4 Apr 2022 11:52:43 +0000 (13:52 +0200)]
monitoring/grafana: fix version

Fixes: https://tracker.ceph.com/issues/55172
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 8721bd6c5ddd3c09d04a07e5a2564a5772324c82)

3 years agografana/Makefile: don't push to docker
Ernesto Puerta [Thu, 31 Mar 2022 18:29:17 +0000 (20:29 +0200)]
grafana/Makefile: don't push to docker

Fixes: https://tracker.ceph.com/issues/55155
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 7e6309fac3c4728b3527ab6c709becfb4dcdb126)

3 years agoprometheus: spell check the alert descriptions
Travis Nielsen [Fri, 4 Mar 2022 17:42:02 +0000 (10:42 -0700)]
prometheus: spell check the alert descriptions

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 9cca95b16abd4af3eb3a5630acb3fb7e0cc73a4e)

3 years agomgr/dashboard: Pool overall performance shows multiple entries of same pool in pool...
Aashish Sharma [Thu, 10 Mar 2022 12:20:43 +0000 (17:50 +0530)]
mgr/dashboard: Pool overall performance shows multiple entries of same pool in pool overview

This PR intends to fix this issue

Fixes:https://tracker.ceph.com/issues/54513
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 9719cc795e1d6a38ab8a7e8f3eeb56c13f11c25d)

3 years agomgr/dashboard: fix promtool test for mtu alert
Aashish Sharma [Thu, 24 Mar 2022 09:36:25 +0000 (15:06 +0530)]
mgr/dashboard: fix promtool test for mtu alert

Fixes: https://tracker.ceph.com/issues/55004
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 49d6068463ae9238b6fffcca690dbb5d74b2448a)

3 years agomgr/dashboard: Compare values of MTU alert by device
Patrick Seidensal [Wed, 23 Mar 2022 13:53:58 +0000 (14:53 +0100)]
mgr/dashboard: Compare values of MTU alert by device

Fixes: https://tracker.ceph.com/issues/55004
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit 3821548a37373f87109ab0dac7f3ee2d8f3ead99)

3 years agomgr/dashboard: fix transition-through-oci image workaround in grafana build
Aashish Sharma [Wed, 23 Mar 2022 08:29:28 +0000 (13:59 +0530)]
mgr/dashboard: fix transition-through-oci image workaround in grafana build

Fixes: https://tracker.ceph.com/issues/54311
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 64b0e5ce8a204908e769e7da01a5ee7d075c0481)

3 years agomgr/dashboard/monitoring: update grafana version
Aashish Sharma [Mon, 21 Mar 2022 12:10:03 +0000 (17:40 +0530)]
mgr/dashboard/monitoring: update grafana version

Fixes: https://tracker.ceph.com/issues/54311
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit c306778889c1c65fa7a5d8fd525c5cd3da7f2b78)

3 years agoMerge pull request #45738 from benhanokh/wip-45733-quincy
Yuri Weinstein [Mon, 4 Apr 2022 18:38:28 +0000 (11:38 -0700)]
Merge pull request #45738 from benhanokh/wip-45733-quincy

quincy: os/BlueStore: NCB fix for SimpleBitmap boundary check

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agoMerge pull request #45736 from jtlayton/wip-54614
Yuri Weinstein [Fri, 1 Apr 2022 18:42:21 +0000 (11:42 -0700)]
Merge pull request #45736 from jtlayton/wip-54614

 quincy: osd: support truncation sequences in sparse reads

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45377 from mchangir/wip-54533-quincy
Yuri Weinstein [Fri, 1 Apr 2022 14:23:43 +0000 (07:23 -0700)]
Merge pull request #45377 from mchangir/wip-54533-quincy

quincy: mds,client: add new getvxattr op

Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #45541 from ajarr/wip-54221-quincy
Yuri Weinstein [Thu, 31 Mar 2022 19:03:59 +0000 (12:03 -0700)]
Merge pull request #45541 from ajarr/wip-54221-quincy

quincy: mgr/volumes: Add `fs volume rename` command

Reviewed-by: Venky Shankar vshankar@redhat.com
Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoMerge pull request #45672 from mchangir/wip-55055-quincy
Yuri Weinstein [Thu, 31 Mar 2022 19:02:35 +0000 (12:02 -0700)]
Merge pull request #45672 from mchangir/wip-55055-quincy

quincy: mgr/snap_schedule: restart old schedules

Reviewed-by: Venky Shankar vshankar@redhat.com
Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoos/BlueStore: NCB fix for SimpleBitmap boundary check 45738/head
Gabriel BenHanokh [Thu, 31 Mar 2022 11:47:59 +0000 (14:47 +0300)]
os/BlueStore: NCB fix for SimpleBitmap boundary check
The boundary check in SimpleBitmap is off by one causing an assert to trigger
Also fixed a bug when asking for the next clear_extent on a unaligned map when the last bits in the map were set.
Adding unit-tests
Fixes: https://tracker.ceph.com/issues/55145
Signed-off-by: Gabriel BenHanokh <gbenhano@redhat.com>
(cherry picked from commit 7dfa20863090d5eb58c798b6903386dcce6a52f8)

3 years agoceph_test_rados_io_pp: verify sparse_read behavior with non-zero truncate_seq 45736/head
Jeff Layton [Thu, 3 Mar 2022 21:19:07 +0000 (16:19 -0500)]
ceph_test_rados_io_pp: verify sparse_read behavior with non-zero truncate_seq

Fixes: http://tracker.ceph.com/issues/54280
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 387c7f33e232a4e982aeba3b185923efe42137aa)

3 years agolibrados: add ability to pass a truncate_size/seq to sparse_read
Jeff Layton [Thu, 3 Mar 2022 18:30:31 +0000 (13:30 -0500)]
librados: add ability to pass a truncate_size/seq to sparse_read

Fixes: http://tracker.ceph.com/issues/54280
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit b9bf65ac62f50ddf5616e0544e3c7b8c9030ced6)

3 years agoosd: allow sparse reads with a non-zero truncate-seq
Jeff Layton [Thu, 17 Feb 2022 12:41:31 +0000 (07:41 -0500)]
osd: allow sparse reads with a non-zero truncate-seq

do_read() just uses the truncate_seq to tell how to cap the length of
the read. I see no reason that sparse reads should do anything
differently.

Change do_sparse_read() to cap the requested length at the truncate_size
if the truncate_seq in the request is newer than the one in the object.

Fixes: https://tracker.ceph.com/issues/54280
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 58f3e8bb98b966935898ef1c3eed61be7768d513)

3 years agoMerge pull request #45558 from vshankar/wip-53911-quincy
Yuri Weinstein [Thu, 31 Mar 2022 15:24:11 +0000 (08:24 -0700)]
Merge pull request #45558 from vshankar/wip-53911-quincy

quincy: Revert "mds: kill session when mds do ms_handle_remote_reset"

Reviewed-by: Xiubo Li <xiubli@redhat.com>
3 years agoMerge pull request #45405 from nmshelke/wip-54574-quincy
Yuri Weinstein [Thu, 31 Mar 2022 15:22:45 +0000 (08:22 -0700)]
Merge pull request #45405 from nmshelke/wip-54574-quincy

quincy: mgr/volumes: the 'mode' should honor idempotent subvolume creation

Reviewed-by: Venky Shankar vshankar@redhat.com
Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoMerge pull request #45711 from jdurgin/wip-deb-cherrypy-quincy
Josh Durgin [Wed, 30 Mar 2022 18:24:27 +0000 (11:24 -0700)]
Merge pull request #45711 from jdurgin/wip-deb-cherrypy-quincy

quincy: debian/control: fix python3-cherrypy*3* dependency

Reviewed-by: Adam King <adking@redhat.com>
3 years agodebian/control: fix python3-cherrypy*3* dependency 45711/head
Koen Kooi [Wed, 23 Feb 2022 16:40:48 +0000 (08:40 -0800)]
debian/control: fix python3-cherrypy*3* dependency

The trailing '3' was missed in one instance, ceph-mgr-cephadm, leading to:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ceph-mgr-cephadm : Depends: python3-cherrypy but it is not installable

Which makes the installation fail.

Fixes: 78983ad0d0cce422da32dc4876ac186f6d32c3f5
Signed-off-by: Koen Kooi <koen@softiron.com>
(cherry picked from commit b7b381fe91c0711249a7185b31f3dd60064f3b5a)

3 years agoMerge pull request #45695 from amathuria/amathuri-53923-fix-quincy
Yuri Weinstein [Wed, 30 Mar 2022 14:46:31 +0000 (07:46 -0700)]
Merge pull request #45695 from amathuria/amathuri-53923-fix-quincy

quincy: osd/osd_types: Increasing decode version of scrub_duration in pg stats

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45673 from dsavineau/cephadm_container_image_stable
Yuri Weinstein [Wed, 30 Mar 2022 14:44:47 +0000 (07:44 -0700)]
Merge pull request #45673 from dsavineau/cephadm_container_image_stable

cephadm: set quincy as stable release

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Adam King adking@redhat.com
3 years agoMerge pull request #45604 from cbodley/wip-quincy-arrow-submodule
Yuri Weinstein [Wed, 30 Mar 2022 14:43:30 +0000 (07:43 -0700)]
Merge pull request #45604 from cbodley/wip-quincy-arrow-submodule

quincy: cmake: add submodule for Apache Arrow at v6.0.1

Reviewed-by: galsalomon66 <gal.salomon@gmail.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
3 years agoosd/osd_types: Increasing decode version of scrub_duration in pg stats 45695/head
Aishwarya Mathuria [Tue, 29 Mar 2022 18:05:45 +0000 (23:35 +0530)]
osd/osd_types: Increasing decode version of scrub_duration in pg stats

All new fields added to pg stats after quincy RC need to have the decode field bumped up to avoid decoding errors during an upgrade from quincy RC to the quincy stable version

Fixes: https://tracker.ceph.com/issues/53923
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
(cherry picked from commit 3532b78901cc43ceb375da34a681e5a0f8eb53ac)

3 years agocephadm: set quincy as stable release 45673/head
Dimitri Savineau [Mon, 28 Mar 2022 14:50:51 +0000 (10:50 -0400)]
cephadm: set quincy as stable release

Quincy isn't master anymore so we don't need the DEFAULT_IMAGE_IS_MASTER
variable set to true (which produces a warning message).
This also sets the LATEST_STABLE_RELEASE variable to quincy to match the
DEFAULT_IMAGE_RELEASE variable.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoqa: test snap_schedule with mgr restart 45672/head
Milind Changire [Thu, 24 Feb 2022 06:20:18 +0000 (11:50 +0530)]
qa: test snap_schedule with mgr restart

Scheduled snaps should follow the created schedule even across mgr
restart.

Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit ac6c7240d3b69de128ae2c5f4c172f12e313fd27)

3 years agomgr/snap_schedule: restart old schedules
Milind Changire [Mon, 28 Feb 2022 06:26:09 +0000 (11:56 +0530)]
mgr/snap_schedule: restart old schedules

Old schedules were not picked up from database when mgr was restarted.
Restart old schedules on mgr restart.

Fixes: https://tracker.ceph.com/issues/54052
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit dca7fdb600932d712280dd91a4eb63a17a8800e3)

3 years agomgr/util: add function to list all fs names
Milind Changire [Mon, 28 Feb 2022 06:22:26 +0000 (11:52 +0530)]
mgr/util: add function to list all fs names

Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 24915c8ee926c27e335f6e94341770ee8088e721)

3 years agoMerge pull request #45641 from ronen-fr/wip-rf-45640-quincy
Neha Ojha [Sun, 27 Mar 2022 17:44:00 +0000 (10:44 -0700)]
Merge pull request #45641 from ronen-fr/wip-rf-45640-quincy

Quincy: osd/scrub: restart snap trimming only after scrubbing is done

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45629 from neha-ojha/wip-quincy-stable
Neha Ojha [Sat, 26 Mar 2022 02:28:57 +0000 (19:28 -0700)]
Merge pull request #45629 from neha-ojha/wip-quincy-stable

quincy: src/ceph_release: mark quincy stable

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #45653 from ljflores/wip-quincy-fast-shutdown-backports
Neha Ojha [Sat, 26 Mar 2022 02:28:30 +0000 (19:28 -0700)]
Merge pull request #45653 from ljflores/wip-quincy-fast-shutdown-backports

Quincy: fast shutdown backports

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
3 years agoMerge pull request #45196 from adk3798/quincy-release-default-image
Josh Durgin [Sat, 26 Mar 2022 00:54:20 +0000 (17:54 -0700)]
Merge pull request #45196 from adk3798/quincy-release-default-image

quincy: cephadm: change default image to ceph/ceph:v17

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #45616 from NitzanMordhai/wip-55021-quincy
Neha Ojha [Fri, 25 Mar 2022 20:59:19 +0000 (13:59 -0700)]
Merge pull request #45616 from NitzanMordhai/wip-55021-quincy

quincy: tests: ceph_test_rados_api_watch_notify: watch2Delete reconnect

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45615 from benhanokh/wip-55032-quincy
Neha Ojha [Fri, 25 Mar 2022 20:58:04 +0000 (13:58 -0700)]
Merge pull request #45615 from benhanokh/wip-55032-quincy

quincy: os/bluestore: Disable NCB functionality on rotational drives

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agoMerge pull request #45652 from sseshasa/wip-55069-quincy
Neha Ojha [Fri, 25 Mar 2022 19:35:06 +0000 (12:35 -0700)]
Merge pull request #45652 from sseshasa/wip-55069-quincy

quincy: Doc: Improve mclock config reference documentation & update PendingReleaseNotes.

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45637 from idryomov/wip-diff-iterate-striping-fix-quincy
Ilya Dryomov [Fri, 25 Mar 2022 19:15:53 +0000 (20:15 +0100)]
Merge pull request #45637 from idryomov/wip-diff-iterate-striping-fix-quincy

quincy: librbd: make diff-iterate in fast-diff mode sort and merge reported extents

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
3 years agoMerge pull request #45499 from cfsnyder/wip-54146-quincy
David Galloway [Fri, 25 Mar 2022 19:10:22 +0000 (15:10 -0400)]
Merge pull request #45499 from cfsnyder/wip-54146-quincy

quincy: rgw/admin: fix radosgw-admin datalog list max-entries issue

3 years agoMerge pull request #45504 from cfsnyder/wip-54154-quincy
David Galloway [Fri, 25 Mar 2022 18:44:29 +0000 (14:44 -0400)]
Merge pull request #45504 from cfsnyder/wip-54154-quincy

quincy: rgw: in bucket reshard list, clarify new num shards is tentative

3 years agoMerge pull request #45501 from cfsnyder/wip-54150-quincy
David Galloway [Fri, 25 Mar 2022 18:44:10 +0000 (14:44 -0400)]
Merge pull request #45501 from cfsnyder/wip-54150-quincy

quincy: rgw: RGWPostObj::execute() may lost data.

3 years agoMerge pull request #45498 from cfsnyder/wip-54093-quincy
David Galloway [Fri, 25 Mar 2022 18:41:40 +0000 (14:41 -0400)]
Merge pull request #45498 from cfsnyder/wip-54093-quincy

quincy: rgwlc:  warn on missing RGW_ATTR_LC

3 years agoMerge pull request #45490 from cfsnyder/wip-54076-quincy
David Galloway [Fri, 25 Mar 2022 18:41:13 +0000 (14:41 -0400)]
Merge pull request #45490 from cfsnyder/wip-54076-quincy

quincy: rgw: bucket chown bad memory usage

3 years agoqa/standalone: Fix test_activate_osd() test in ceph-helpers.sh 45653/head
Sridhar Seshasayee [Fri, 25 Mar 2022 16:40:31 +0000 (22:10 +0530)]
qa/standalone: Fix test_activate_osd() test in ceph-helpers.sh

Modify test_activate_osd() to get the type of scheduler in use and then
verify the value of osd_max_backfills. This is because mclock scheduler
overrides this option to 1000 upon OSD initialization.

The test earlier used to pass because the OSD daemon was killed but not
marked down and upon being brought up, the wait for OSD up check was
passing quickly. But the OSD still didn't have the latest config values.

But now upon killing the OSD, the osd_fast_shutdown sequence notifies the
mon (see PR: https://github.com/ceph/ceph/pull/44807) and is marked down
and dead. Upon bringing it up, the wait for OSD up check takes a longer
time and this is sufficient for the config values to be updated. This
results in the correct values being read from the config 'Values' map.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit 3aa2df2e0f6f5bafadc96fd72935e5cf8b2fcf17)

3 years agoosd/OSD: osd_fast_shutdown_notify_mon not quite right
Nitzan Mordechai [Thu, 27 Jan 2022 13:13:28 +0000 (15:13 +0200)]
osd/OSD: osd_fast_shutdown_notify_mon not quite right

When osd_fast_shutdown and osd_fast_shutdown_notify_mon set as true, OSD marked as Down
it should be marked as Dead,

Fixed: https://tracker.ceph.com/issues/53327

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
nd

nd

(cherry picked from commit 07302d5e41c49c885c9398c1c478638023e3f264)

3 years agoosd: make osd_fast_shutdown_notify_mon option true by default
Satoru Takeuchi [Thu, 18 Nov 2021 20:48:18 +0000 (20:48 +0000)]
osd: make osd_fast_shutdown_notify_mon option true by default

osd_fast_shutdown_notify_mon option is false by default. So users suffer
from error log flood, slow ops, and the long I/O timeouts on voluntary OS
shutdown before they are aware of the existence of this option. Let's
make this option true by default.

Fixes: https://tracker.ceph.com/issues/53328
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 729a5b85a6586b47d16acbba2cf8e765e498cd65)

3 years agoPendingReleaseNotes: Add mclock config reference link to an existing note 45652/head
Sridhar Seshasayee [Fri, 18 Mar 2022 14:55:25 +0000 (20:25 +0530)]
PendingReleaseNotes: Add mclock config reference link to an existing note

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit 0511a8eadcc3824362fb8620a09b2796c514fd92)

3 years agodoc: Improvements to mClock configuration reference documentation
Sridhar Seshasayee [Fri, 18 Mar 2022 07:43:52 +0000 (13:13 +0530)]
doc: Improvements to mClock configuration reference documentation

Improve the documentation around.
 - mclock client types.
 - Describe in greater detail about mclock config profiles.
 - Add notes about manually benchmarking OSDs and tuning bluestore throttle
   parameters.
 - Include a couple of missing mclock configuration options.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit afe3a7543c65a521ef0272a292d0e521ec3674c9)

3 years agoMerge pull request #45493 from cfsnyder/wip-54078-quincy
David Galloway [Fri, 25 Mar 2022 16:45:41 +0000 (12:45 -0400)]
Merge pull request #45493 from cfsnyder/wip-54078-quincy

quincy: rgw: Match decode_json with dump for default-placement in RGWZoneGroup.

3 years agoMerge pull request #45576 from idryomov/wip-fix-pids-limit-quincy
Ilya Dryomov [Fri, 25 Mar 2022 16:39:18 +0000 (17:39 +0100)]
Merge pull request #45576 from idryomov/wip-fix-pids-limit-quincy

quincy: cephadm: Remove containers pids-limit

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45494 from cfsnyder/wip-54084-quincy
Yuri Weinstein [Fri, 25 Mar 2022 15:03:32 +0000 (08:03 -0700)]
Merge pull request #45494 from cfsnyder/wip-54084-quincy

quincy: librgw: make rgw file handle versioned

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #45422 from cfsnyder/wip-54428-quincy
Yuri Weinstein [Fri, 25 Mar 2022 15:01:24 +0000 (08:01 -0700)]
Merge pull request #45422 from cfsnyder/wip-54428-quincy

quincy: rgw: add OPT_BUCKET_SYNC_RUN to gc_ops_list, so that

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoosd/scrub: restart snap trimming only after scrubbing is done 45641/head
Ronen Friedman [Fri, 25 Mar 2022 10:45:47 +0000 (10:45 +0000)]
osd/scrub: restart snap trimming only after scrubbing is done

Snap trimming that was postponed as the target PG was scrubbing
must be restarted at scrub completion.
PR #38111 moved trimming restart to just before the scrub fully
terminated. The current PR fixes that.

Trimming is also restarted in those cases where scrub was
queued but aborted immediately.

Fixes: https://tracker.ceph.com/issues/52026
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 948d3266c67bf896d1c20472977b849178d233d3)

3 years agolibrbd: make diff-iterate in fast-diff mode sort and merge reported extents 45637/head
Ilya Dryomov [Sun, 20 Mar 2022 11:10:52 +0000 (12:10 +0100)]
librbd: make diff-iterate in fast-diff mode sort and merge reported extents

Various users, the most notable example being the QEMU driver, assume
that extents are reported in image offset order.

Fixes: https://tracker.ceph.com/issues/53885
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 85e7075d5f021bd2d11024e6646d74a8a9f96e15)

3 years agosrc/ceph_release: mark quincy stable 45629/head
Neha Ojha [Fri, 25 Mar 2022 00:37:33 +0000 (00:37 +0000)]
src/ceph_release: mark quincy stable

we missed marking it dev, but it is now time for the final release
so mark it stable

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45600 from aclamk/wip-55024-quincy
Yuri Weinstein [Thu, 24 Mar 2022 20:19:22 +0000 (13:19 -0700)]
Merge pull request #45600 from aclamk/wip-55024-quincy

quincy: os/bluestore/bluefs: Improve unittest for compaction

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45592 from vumrao/wip-vumrao-55018
Yuri Weinstein [Thu, 24 Mar 2022 20:19:03 +0000 (13:19 -0700)]
Merge pull request #45592 from vumrao/wip-vumrao-55018

quincy: osd/PrimaryLogPG.cc: CEPH_OSD_OP_OMAPRMKEYRANGE should mark omap dirty

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45590 from ronen-fr/wip-rf-44744-quincy
Yuri Weinstein [Thu, 24 Mar 2022 20:18:14 +0000 (13:18 -0700)]
Merge pull request #45590 from ronen-fr/wip-rf-44744-quincy

quincy: scrub/osd: add a missing 'publish stats to osd'

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45585 from idryomov/wip-pool-reverse-lookup-osdmap-quincy
Yuri Weinstein [Thu, 24 Mar 2022 20:17:54 +0000 (13:17 -0700)]
Merge pull request #45585 from idryomov/wip-pool-reverse-lookup-osdmap-quincy

quincy: librados: check latest osdmap on ENOENT in pool_reverse_lookup()

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45524 from sseshasa/wip-54612-quincy
Yuri Weinstein [Thu, 24 Mar 2022 20:17:20 +0000 (13:17 -0700)]
Merge pull request #45524 from sseshasa/wip-54612-quincy

quincy: mon, osd: Add snaptrim stats to the existing PG stats.

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoquincy: cephadm: change default image to ceph/ceph:v17 45196/head
Adam King [Mon, 28 Feb 2022 13:06:44 +0000 (08:06 -0500)]
quincy: cephadm: change default image to ceph/ceph:v17

Should be merged right before the final release is cut (but not before)

Signed-off-by: Adam King <adking@redhat.com>
3 years agomgr/cephadm: use block quote for "typical use" 45627/head
Kefu Chai [Sun, 6 Mar 2022 07:28:16 +0000 (15:28 +0800)]
mgr/cephadm: use block quote for "typical use"

otherwise sphinx takes "Typical use" and the following line as a
field. see also

https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#field-lists

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

3 years agomgr/cephadm: improve the formatting of docstring
Kefu Chai [Sun, 6 Mar 2022 07:20:14 +0000 (15:20 +0800)]
mgr/cephadm: improve the formatting of docstring

add an empty line before a doctest block would help
sphinx to tell where the session starts.

see also https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#doctest-blocks

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

3 years agomgr/cephadm: document notes using "note::" directive
Kefu Chai [Sun, 6 Mar 2022 07:04:21 +0000 (15:04 +0800)]
mgr/cephadm: document notes using "note::" directive

so it can be rendered by sphinx in a better way.

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

3 years agodoc/conf.py: silence warnings from breathe
Kefu Chai [Sun, 6 Mar 2022 06:27:50 +0000 (14:27 +0800)]
doc/conf.py: silence warnings from breathe

breathe calls doxygen for extracting/generating docs from code.
while doxygen complains at seeing undocumented fields/func. these
warnings could fail the sphinx-build command, if it takes warnings
as errors.

in this change, these warnings are silenced.

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

3 years agomgr/cephadm: add empty line after param list in docstring
Kefu Chai [Sun, 6 Mar 2022 06:23:42 +0000 (14:23 +0800)]
mgr/cephadm: add empty line after param list in docstring

this helps to silence the warning from sphinx, like

src/pybind/mgr/orchestrator/_interface.py:docstring of orchestrator._interface.Orchestrator.remove_osds:9: WARNING: Field list ends without a blank line; unexpected unindent.

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

3 years agomgr/cephadm: set docstring for shim() methods
Kefu Chai [Sun, 6 Mar 2022 06:05:07 +0000 (14:05 +0800)]
mgr/cephadm: set docstring for shim() methods

this allows the "rpc"ized methods of OrchestratorClientMixin to
have the docstring defined by the original methods.

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

3 years agoadmin/doc-requirements: bump sphinx to 4.4.0
Kefu Chai [Sat, 5 Mar 2022 17:44:30 +0000 (01:44 +0800)]
admin/doc-requirements: bump sphinx to 4.4.0

bump sphinx to latest stable. to address following build failure

ERROR: sphinx-autodoc-typehints 1.17.0 has requirement Sphinx>=4, but you'll have sphinx 3.5.4 which is incompatible.
ERROR: sphinx-substitution-extensions 2022.2.16 has requirement sphinx>=4.0.0, but you'll have sphinx 3.5.4 which is incompatible.

also bump bump sphinx-rtd-theme, otherwise we'd have following
build failure:

ERROR: sphinx-rtd-theme 0.5.2 has requirement docutils<0.17, but you'll have docutils 0.17.1 which is incompatible.

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

3 years agotests: ceph_test_rados_api_watch_notify: watch2Delete reconnect 45616/head
NitzanMordhai [Sun, 13 Mar 2022 08:52:59 +0000 (08:52 +0000)]
tests: ceph_test_rados_api_watch_notify: watch2Delete reconnect

During test LibRadosWatchNotify.Watch2Delete rados_watch_check can return error -102 if reconnect happened, in that case Broken pipe reconnect and -102 returned

Fixes: https://tracker.ceph.com/issues/51307
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
Signed-off-by: NitzanMordhai <nmordech@redhat.com>
(cherry picked from commit 8c8414a953f198113cec038f83e78e52127f3cc4)

3 years agoFix a problem in store_test::BluestoreBrokenNoSharedBlobRepairTest where the check... 45615/head
Gabriel BenHanokh [Mon, 21 Mar 2022 10:54:10 +0000 (12:54 +0200)]
Fix a problem in store_test::BluestoreBrokenNoSharedBlobRepairTest where the check for active null-fm was wrong and so reporting bogus errors  when null-fm was inactive
The check need to access dynamic value and not config setting (which can be overridden)
Signed-off-by: Gabriel BenHanokh <gbenhano@redhat.com>
(cherry picked from commit 2969539d20a8157d62ae27f842c43b801efdc0ee)

3 years agoBug-Fix from PR-44370 force setting need_to_destage_allocation_file to True on device...
Gabriel BenHanokh [Thu, 17 Mar 2022 20:26:58 +0000 (22:26 +0200)]
Bug-Fix from PR-44370 force setting need_to_destage_allocation_file to True on device expansion without checking if we work in null-fm mode
Signed-off-by: Gabriel Benhanokh <gbenhano@redhat.com>
(cherry picked from commit f7ebef8a804b8ce193bcbee4284dc28102708f37)

3 years agoos/bluestore: Disable NCB functionality on rotational drives
Gabriel BenHanokh [Thu, 10 Mar 2022 15:40:31 +0000 (17:40 +0200)]
os/bluestore: Disable NCB functionality on rotational drives
NCB code needs to recover allocation map after an OSD crash.
The recovery process on rotational drives is about 20x slower than SSD making this solution unacceptable for that environment 

Signed-off-by: Gabriel Benhanokh <gbenhano@redhat.com>
(cherry picked from commit 5fd09658edbf636dd462facfa9878656f641e7de)

3 years agodeb: add build profile for system arrow 45604/head
Casey [Fri, 4 Feb 2022 21:34:30 +0000 (13:34 -0800)]
deb: add build profile for system arrow

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

3 years agoceph.spec.in: add system_arrow and system_utf8proc conditions
Casey [Fri, 4 Feb 2022 21:15:19 +0000 (13:15 -0800)]
ceph.spec.in: add system_arrow and system_utf8proc conditions

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

3 years agocmake: move Arrow targets into find_package modules
Casey [Fri, 4 Feb 2022 21:02:52 +0000 (13:02 -0800)]
cmake: move Arrow targets into find_package modules

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

3 years agocmake: use arrow's find_package modules
Casey [Fri, 4 Feb 2022 20:53:08 +0000 (12:53 -0800)]
cmake: use arrow's find_package modules

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