]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agosrc/blk: fix block_device_t return if no aio libs present 42791/head
Deepika Upadhyay [Mon, 16 Aug 2021 14:04:33 +0000 (19:34 +0530)]
src/blk: fix block_device_t return if no aio libs present

In cases, when no libaio are present in the system, compilation fails,
return block_device_t as unknown

fixes: https://tracker.ceph.com/issues/50947#note-1

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoMerge PR #42318 into master
Sage Weil [Tue, 10 Aug 2021 20:47:34 +0000 (16:47 -0400)]
Merge PR #42318 into master

* refs/pull/42318/head:
mgr/rook: update DefaultFetcher device path to look at local and fix bug
mgr/rook: add node and PV name information to Device in DefaultFetcher
mgr/rook: fix typing errors in Fetcher classes
mgr/rook: create and use DefaultFetcher and LSOFetcher classes
mgr/rook: create KubernetesCustomResource class to fetch CRs
mgr/rook: fix device ls error handling
mgr/rook: change storage class module option name and default value
mgr/rook: fix typing errors related to storage_class_name and device ls
mgr/rook: make `device ls` only display pvs in specified storage class
mgr/rook: add StorageV1Api and storage_class_name to RookCluster
mgr/rook: add StorageV1Api to RookOrchestrator
mgr/rook: add mgr/rook/storage_class_name to ceph config
mgr/rook: ceph orch device ls fetch and display info about PVs
mgr/rook: add CustomObjectsApi to RookCluster

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
3 years agoMerge PR #42613 into master
Sage Weil [Tue, 10 Aug 2021 20:47:21 +0000 (16:47 -0400)]
Merge PR #42613 into master

* refs/pull/42613/head:
qa/suites/roch/rook/smoke: test rook 1.7.0, not 1.6.2
qa/tasks/rook: set storage_class to scratch

Reviewed-by: merge 42318
3 years agoMerge PR #42691 into master
Sage Weil [Tue, 10 Aug 2021 20:37:38 +0000 (16:37 -0400)]
Merge PR #42691 into master

* refs/pull/42691/head:
mgr/nfs: add --port to 'nfs cluster create' and port to 'nfs cluster info'
qa/suites/orch/cephadm/smoke-roleless: test taking ganeshas offline
qa/tasks/vip: exec with bash -ex
qa/suites/orch/cephadm: separate test_nfs from test_orch_cli

Reviewed-by: Varsha Rao <varao@redhat.com>
3 years agoMerge pull request #42574 from soumyakoduri/wip-skoduri-dbstore-fixes
Daniel Gryniewicz [Tue, 10 Aug 2021 17:49:17 +0000 (13:49 -0400)]
Merge pull request #42574 from soumyakoduri/wip-skoduri-dbstore-fixes

rgw/dbstore: Fix DBstore build conflicts

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #42729 from cyx1231st/wip-seastore-interruptive-future
Kefu Chai [Tue, 10 Aug 2021 16:45:00 +0000 (00:45 +0800)]
Merge pull request #42729 from cyx1231st/wip-seastore-interruptive-future

crimson/os/seastore: wrap up interruptive-futures in seastore

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #42733 from rzarzynski/wip-script-run-cbt-with-cyanstore
Kefu Chai [Tue, 10 Aug 2021 15:29:42 +0000 (23:29 +0800)]
Merge pull request #42733 from rzarzynski/wip-script-run-cbt-with-cyanstore

script: run-cbt.sh tests crimson with CyanStore instead of MemStore.

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #42525 from zdover23/wip-doc-rados-config-storage-devices-front...
Josh Durgin [Tue, 10 Aug 2021 15:11:35 +0000 (08:11 -0700)]
Merge pull request #42525 from zdover23/wip-doc-rados-config-storage-devices-front-matter-2021-07-28

doc/rados: rewrite storage device front matter

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge PR #42680 into master
Sage Weil [Tue, 10 Aug 2021 14:36:37 +0000 (10:36 -0400)]
Merge PR #42680 into master

* refs/pull/42680/head:
src/pybind/mgr/nfs/tests: pass cluster_id to from_export_block()
src/pybind/mgr/nfs: remove `tag` option
src/pybind/mgr/nfs: remove per daemon config test
src/pybind/mgr/nfs: directly use cluster_id and remove daemon related stuff

Reviewed-by: Sage Weil <sage@redhat.com>
3 years agoMerge PR #42627 into master
Sage Weil [Tue, 10 Aug 2021 14:35:59 +0000 (10:35 -0400)]
Merge PR #42627 into master

* refs/pull/42627/head:
.github/labeler: add nfs dev doc
doc/dev/vstart-ganesha: update about RGW export
src/vstart: update ganesha pid dir location
src/vstart: create rgw export for nfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
3 years agoscript: run-cbt.sh tests crimson with CyanStore instead of MemStore. 42733/head
Radoslaw Zarzynski [Tue, 10 Aug 2021 12:34:45 +0000 (12:34 +0000)]
script: run-cbt.sh tests crimson with CyanStore instead of MemStore.

These tests were always supposed to run against CyanStore. However,
commit e6ed65db8b4e0a2f8026c2e35a12dd292c5f2b8c (PR #42437) changed
the meaning of `--memstore` and introduced `--cyanstore` to be used
instead. This commit makes `run-cbt.sh` aware about the new switch.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agodoc/rados: rewrite storage device front matter 42525/head
Zac Dover [Wed, 28 Jul 2021 14:37:46 +0000 (00:37 +1000)]
doc/rados: rewrite storage device front matter

This PR updates the text in the RADOS Guide
(the Ceph Storage Cluster Guide) that appears
at the beginning of the "Storage Devices"
chapter. I did the following:

- rewrote some of the sentences so that
  they read more like written text than like
  spoken language
- added "Ceph Manager" to the list of daemons
  that a Ceph cluster comprises
- that's about it.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #42262 from wjwithagen/wjw-fix-d3n-cache
Mark Kogan [Tue, 10 Aug 2021 11:08:44 +0000 (14:08 +0300)]
Merge pull request #42262 from wjwithagen/wjw-fix-d3n-cache

rgw: conditionalize d3n_datacache use of libAIO

3 years agoMerge pull request #42728 from cyx1231st/wip-crimson-msgr-fix-compression
Kefu Chai [Tue, 10 Aug 2021 09:50:15 +0000 (17:50 +0800)]
Merge pull request #42728 from cyx1231st/wip-crimson-msgr-fix-compression

crimson/net/ProtocolV2: disable COMPRESSION in crimson msgr features

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agocrimson/net/ProtocolV2: disable COMPRESSION in crimson msgr features 42728/head
Yingxin Cheng [Tue, 10 Aug 2021 01:40:56 +0000 (09:40 +0800)]
crimson/net/ProtocolV2: disable COMPRESSION in crimson msgr features

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #42672 from aclamk/wip-bluestore-tool-conf
Kefu Chai [Tue, 10 Aug 2021 04:16:19 +0000 (12:16 +0800)]
Merge pull request #42672 from aclamk/wip-bluestore-tool-conf

tools/ceph-bluestore-tool: Enable configuration options from monitor/ceph.conf

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agocrimson/os/seastore: drop retired_extent_gate_t 42729/head
Yingxin Cheng [Fri, 6 Aug 2021 06:51:50 +0000 (14:51 +0800)]
crimson/os/seastore: drop retired_extent_gate_t

retired_extent_gate_t is no longer needed after integrating
interruptive-future.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seatore: drop the temporary InterruptedTransactionManager
Yingxin Cheng [Fri, 6 Aug 2021 06:14:23 +0000 (14:14 +0800)]
crimson/os/seatore: drop the temporary InterruptedTransactionManager

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: wrap up interruptive-futures in seastore
Yingxin Cheng [Thu, 5 Aug 2021 07:40:43 +0000 (15:40 +0800)]
crimson/os/seastore: wrap up interruptive-futures in seastore

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: convert ObjectDataHandler with interruptible-future
Yingxin Cheng [Tue, 3 Aug 2021 08:41:26 +0000 (16:41 +0800)]
crimson/os/seastore: convert ObjectDataHandler with interruptible-future

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge PR #42535 into master
Sage Weil [Mon, 9 Aug 2021 23:33:52 +0000 (19:33 -0400)]
Merge PR #42535 into master

* refs/pull/42535/head:
mgr/cephadm: quay.io for non-ceph images too
mgr/cephadm: DEFAULT_IMAGE from quay, not docker
doc/install/containers: quay.io!

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge PR #42726 into master
Sage Weil [Mon, 9 Aug 2021 23:33:41 +0000 (19:33 -0400)]
Merge PR #42726 into master

* refs/pull/42726/head:
cephadm: fix container name detection

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #42568 from kamoltat/wip-autoscaler-profile-status-print
Neha Ojha [Mon, 9 Aug 2021 22:11:19 +0000 (15:11 -0700)]
Merge pull request #42568 from kamoltat/wip-autoscaler-profile-status-print

pybind/mgr/pg_autoscaler: Added PROFILE to autoscale-status

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #42469 from BlaineEXE/ceph-volume-work-around-atari-partitions
Guillaume Abrioux [Mon, 9 Aug 2021 20:32:43 +0000 (22:32 +0200)]
Merge pull request #42469 from BlaineEXE/ceph-volume-work-around-atari-partitions

ceph-volume: work around phantom atari partitions

3 years agoMerge PR #42709 into master
Sage Weil [Mon, 9 Aug 2021 19:23:11 +0000 (15:23 -0400)]
Merge PR #42709 into master

* refs/pull/42709/head:
qa/tasks/kubeadm: force docker cgroup engine to systemd

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
3 years agoMerge pull request #42722 from neha-ojha/wip-remove-rgw-perf
Neha Ojha [Mon, 9 Aug 2021 18:42:41 +0000 (11:42 -0700)]
Merge pull request #42722 from neha-ojha/wip-remove-rgw-perf

qa/suites/rados/perf/ceph.yaml: remove rgw

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
3 years agocephadm: fix container name detection 42726/head
Sage Weil [Mon, 9 Aug 2021 18:15:28 +0000 (14:15 -0400)]
cephadm: fix container name detection

'enter' was broken because we weren't correctly identifying the container
name.  Strip the newline from the inspect result so that we can reliably
match against the 'running' state.

Signed-off-by: Sage Weil <sage@newdream.net>
3 years agoqa/suites/perf-basic/ceph.yaml: remove rgw 42722/head
Neha Ojha [Mon, 9 Aug 2021 17:31:50 +0000 (17:31 +0000)]
qa/suites/perf-basic/ceph.yaml: remove rgw

This is no longer required because we removed cosbench workloads in
fd350fd0150a2d4072f055658c20314a435a19ba.

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #42697 from rhcs-dashboard/52082-cephadm-e2e-improv
Ernesto Puerta [Mon, 9 Aug 2021 16:19:26 +0000 (18:19 +0200)]
Merge pull request #42697 from rhcs-dashboard/52082-cephadm-e2e-improv

mgr/dashboard: cephadm e2e start script: add --expanded option

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #42701 from ceph/fix-dashboard_sso_doc-master
Ernesto Puerta [Mon, 9 Aug 2021 16:07:10 +0000 (18:07 +0200)]
Merge pull request #42701 from ceph/fix-dashboard_sso_doc-master

mgr/dashboard: clarify SSO documentation

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #42688 from cbodley/wip-52069
Casey Bodley [Mon, 9 Aug 2021 15:51:36 +0000 (11:51 -0400)]
Merge pull request #42688 from cbodley/wip-52069

qa/rgw: update apache-maven mirror for rgw/hadoop-s3a

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #42689 from cbodley/wip-52070
Casey Bodley [Mon, 9 Aug 2021 15:51:21 +0000 (11:51 -0400)]
Merge pull request #42689 from cbodley/wip-52070

qa/rgw: barbican and pykmip tasks upgrade pip before installing pytz

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agomgr/nfs: add --port to 'nfs cluster create' and port to 'nfs cluster info' 42691/head
Sage Weil [Thu, 5 Aug 2021 21:57:58 +0000 (17:57 -0400)]
mgr/nfs: add --port to 'nfs cluster create' and port to 'nfs cluster info'

Fixes: https://tracker.ceph.com/issues/51787
Signed-off-by: Sage Weil <sage@newdream.net>
3 years agoMerge pull request #42581 from CongMinYin/perf
Ilya Dryomov [Mon, 9 Aug 2021 15:12:29 +0000 (17:12 +0200)]
Merge pull request #42581 from CongMinYin/perf

librbd/cache/pwl: fix buf_persist and add writeback_lat perf counters

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoqa/suites/rados/perf/ceph.yaml: remove rgw
Neha Ojha [Mon, 9 Aug 2021 14:35:01 +0000 (14:35 +0000)]
qa/suites/rados/perf/ceph.yaml: remove rgw

This is no longer required because we removed cosbench workloads in
fd350fd0150a2d4072f055658c20314a435a19ba. This is also required to prevent
failures like the following or any other changes that break the rgw task:

```
2021-08-06T20:13:25.812 INFO:teuthology.orchestra.run.smithi060.stderr:curl: (7) Failed to connect to smithi060.front.sepia.ceph.com port 80: Connection refused
2021-08-06T20:15:33.813 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_04c2febe7099917d97a71271f17abb5710030132/teuthology/contextutil.py", line 31, in nested
    vars.append(enter())
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_3c0f8c8164075af7aac4d1f2805d3f4580709461/qa/tasks/rgw.py", line 191, in start_rgw
    wait_for_radosgw(url, remote)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_3c0f8c8164075af7aac4d1f2805d3f4580709461/qa/tasks/util/rgw.py", line 94, in wait_for_radosgw
    assert exit_status == 0
AssertionError
```

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agoqa/suites/orch/cephadm/smoke-roleless: test taking ganeshas offline
Sage Weil [Thu, 5 Aug 2021 18:41:20 +0000 (14:41 -0400)]
qa/suites/orch/cephadm/smoke-roleless: test taking ganeshas offline

Signed-off-by: Sage Weil <sage@newdream.net>
3 years agoMerge pull request #42718 from mkogan1/rgw-fix-vstart-X
Casey Bodley [Mon, 9 Aug 2021 14:19:15 +0000 (10:19 -0400)]
Merge pull request #42718 from mkogan1/rgw-fix-vstart-X

rgw: fix vstart -X after default ms_mon_client_mode = secure

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agodoc/rados/operations/placement-groups: added bias + profile 42568/head
Kamoltat [Fri, 6 Aug 2021 04:23:29 +0000 (04:23 +0000)]
doc/rados/operations/placement-groups: added bias + profile

Added documentations on the autoscale profile and bias

Signed-off-by: Kamoltat <ksirivad@redhat.com>
3 years agoMerge pull request #42715 from tchaikov/wip-crimson-tls-int-cond
Kefu Chai [Mon, 9 Aug 2021 13:31:15 +0000 (21:31 +0800)]
Merge pull request #42715 from tchaikov/wip-crimson-tls-int-cond

crimson/common: instantiate interrupt_cond in .cc

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agomgr/dashboard: cephadm e2e start script: add --expanded option 42697/head
Alfonso Martínez [Mon, 9 Aug 2021 13:14:21 +0000 (15:14 +0200)]
mgr/dashboard: cephadm e2e start script: add --expanded option

- Additional improvements: clean npm cache in jenkins env.; display mgr logs on error.

Fixes: https://tracker.ceph.com/issues/52082
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
3 years agoMerge pull request #42662 from trociny/wip-52063
Ilya Dryomov [Mon, 9 Aug 2021 12:58:25 +0000 (14:58 +0200)]
Merge pull request #42662 from trociny/wip-52063

rbd-mirror: fix potential async op tracker leak in start_image_replayers

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #42708 from cbodley/wip-rgw-meta-sync-behind-after-trim
Casey Bodley [Mon, 9 Aug 2021 12:55:57 +0000 (08:55 -0400)]
Merge pull request #42708 from cbodley/wip-rgw-meta-sync-behind-after-trim

radosgw-admin: 'sync status' is not behind if there are no mdlog entries

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 years agocrimson: build without "using namespace std" 42715/head
Kefu Chai [Mon, 9 Aug 2021 11:12:05 +0000 (19:12 +0800)]
crimson: build without "using namespace std"

* add "std::" prefix in headers
* add "using" declarations in .cc files.

so we don't reply on "using namespace std" in one or more included
headers.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agorgw: fix vstart -X after default ms_mon_client_mode = secure 42718/head
Mark Kogan [Mon, 9 Aug 2021 09:53:23 +0000 (09:53 +0000)]
rgw: fix vstart -X after default ms_mon_client_mode = secure

after merging of PR #42587 rgw is unable to start when cephx is disabled using vstart.sh -X

Fixes: https://tracker.ceph.com/issues/52103
Signed-off-by: Mark Kogan <mkogan@redhat.com>
3 years agoMerge pull request #42611 from s0nea/wip-doc-transifex-resource
Ernesto Puerta [Mon, 9 Aug 2021 08:59:32 +0000 (10:59 +0200)]
Merge pull request #42611 from s0nea/wip-doc-transifex-resource

doc/dev: Dashboard translations release update

Reviewed-by: aaryanporwal <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
3 years agocrimson/common: instantiate interrupt_cond in .cc
Kefu Chai [Sun, 8 Aug 2021 17:21:38 +0000 (01:21 +0800)]
crimson/common: instantiate interrupt_cond in .cc

so we can explicitly instantiate it.

this should address the segfault when accessing interrupt_cond when
it is defined as a plain thread local storage template variable in the
header file.

it seems Clang is not able to identify the access to TLS variable and
the value of %fs segment register of the main thread is always zero if
interrupt_cond is defined as a plain global variable stored in
thread local storage.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agotest/crimson: drop copy assignment operator
Kefu Chai [Sun, 8 Aug 2021 13:41:34 +0000 (21:41 +0800)]
test/crimson: drop copy assignment operator

because of the const reference member variable of `parent`:

const delta_overlay_t &parent;

we are not allowed to mutate it. so the explicitly defaulted copy assignment
operator is implicitly deleted

this change silences the warnings from Clang like:

 ../src/test/crimson/seastore/test_transaction_manager.cc:159:12: warning: explicitly defaulted copy assignment operator is implicitly deleted [-Wdefaulted-function-deleted]
         iterator &operator=(const iterator &) = default;
                   ^
 ../src/test/crimson/seastore/test_transaction_manager.cc:98:25: note: copy assignment operator of 'iterator' is implicitly deleted because field 'parent' is of reference type 'const transaction_manager_$
         const delta_overlay_t &parent;
                                ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #42711 from tchaikov/wip-seastar
Kefu Chai [Sun, 8 Aug 2021 13:24:33 +0000 (21:24 +0800)]
Merge pull request #42711 from tchaikov/wip-seastar

seastar: pick up change adding ioctl and fcntl support

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoseastar: pick up change adding ioctl and fcntl support 42711/head
Kefu Chai [Sat, 7 Aug 2021 03:56:35 +0000 (11:56 +0800)]
seastar: pick up change adding ioctl and fcntl support

prepare for the better support of ZNS.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #42668 from tchaikov/wip-doc-ci
Kefu Chai [Sat, 7 Aug 2021 02:59:14 +0000 (10:59 +0800)]
Merge pull request #42668 from tchaikov/wip-doc-ci

doc/dev/continuous-integration: document chacra

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agodoc/dev/continuous-integration: document chacra 42668/head
Kefu Chai [Thu, 5 Aug 2021 08:21:31 +0000 (16:21 +0800)]
doc/dev/continuous-integration: document chacra

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agolibrbd/cache/pwl/rwl: fix buf_persist and add writeback_lat perf counters 42581/head
Yin Congmin [Fri, 30 Jul 2021 05:55:28 +0000 (13:55 +0800)]
librbd/cache/pwl/rwl: fix buf_persist and add writeback_lat perf counters

initialize buf_persist_time, then change name buf_persist_time to
buf_persist_start_time, change flush to internal_flush. add
writeback_lat perf conters. update some print formats for perf.

Fixes: https://tracker.ceph.com/issues/52090
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
3 years agoqa/suites/roch/rook/smoke: test rook 1.7.0, not 1.6.2 42613/head
Sage Weil [Fri, 6 Aug 2021 21:50:20 +0000 (17:50 -0400)]
qa/suites/roch/rook/smoke: test rook 1.7.0, not 1.6.2

The RBAC changes so that we can see the PVs etc are needed by mgr/rook.

Signed-off-by: Sage Weil <sage@newdream.net>
3 years agoMerge pull request #42149 from hualongfeng/fix_sync_point
Ilya Dryomov [Fri, 6 Aug 2021 21:09:44 +0000 (23:09 +0200)]
Merge pull request #42149 from hualongfeng/fix_sync_point

librbd/cache/pwl: avoid stack overflow caused by nested shared_ptr destruction

Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoradosgw-admin: 'sync status' is not behind if there are no mdlog entries 42708/head
Casey Bodley [Fri, 6 Aug 2021 19:14:26 +0000 (15:14 -0400)]
radosgw-admin: 'sync status' is not behind if there are no mdlog entries

if remote mdlogs are trimmed prematurely, sync status will report
that it's behind the remote's max-marker even if there are no mdlog
entries to sync

for each behind shard, we fetch the next mdlog entry from the remote. if
we get an empty listing, remove that shard from behind_shards. this
logic now has to run before we print "behind shards:" so that empty
shards aren't listed

Fixes: https://tracker.ceph.com/issues/52091
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agolibrbd/cache/pwl: avoid stack overflow caused by nested shared_ptr destruction 42149/head
Hualong Feng [Fri, 2 Jul 2021 06:22:06 +0000 (14:22 +0800)]
librbd/cache/pwl: avoid stack overflow caused by nested shared_ptr destruction

Destruction of nested shared_ptr will cause stack overflow.
With the explicit assignment of nullptr, the deleted node
is completely disconnected from the current linked list

-------              *******               -------
|sync | <--earlier-- |sync | <--earlier-x- |sync |
|point| --later----> |point| --later----x> |point|
-------              *******               -------
   |                    |                     |
   V                    V                     V
-------              -------               -------
|log_ | ---next----> |log_ | ---next----x> |log_ |
|entry|              |entry|               |entry|
-------              -------               -------

earlier: earlier_sync_point
later:   later_sync_point
next:    next_sync_point_entry

Fixes: https://tracker.ceph.com/issues/51418
Signed-off-by: Feng Hualong <hualong.feng@intel.com>
3 years agoqa/tasks/kubeadm: force docker cgroup engine to systemd 42709/head
Sage Weil [Fri, 6 Aug 2021 19:21:08 +0000 (14:21 -0500)]
qa/tasks/kubeadm: force docker cgroup engine to systemd

Signed-off-by: Sage Weil <sage@newdream.net>
3 years agoMerge pull request #42705 from tchaikov/wip-clang-fixes
Kefu Chai [Fri, 6 Aug 2021 18:05:30 +0000 (02:05 +0800)]
Merge pull request #42705 from tchaikov/wip-clang-fixes

crimson, test/crimson, msg: clang fixes

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agodoc,mgr/dashboard: clarify SSO documentation 42701/head
Ernesto Puerta [Fri, 6 Aug 2021 12:18:32 +0000 (14:18 +0200)]
doc,mgr/dashboard: clarify SSO documentation

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #42660 from zdover23/wip-doc-2021-08-04rados-config-storage-device...
Josh Durgin [Fri, 6 Aug 2021 16:59:48 +0000 (09:59 -0700)]
Merge pull request #42660 from zdover23/wip-doc-2021-08-04rados-config-storage-devices-filestore

doc/rados: rewrite "FileStore" section

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agocrimson/os/seastore: do not capture unused variable 42705/head
Kefu Chai [Fri, 6 Aug 2021 16:42:31 +0000 (00:42 +0800)]
crimson/os/seastore: do not capture unused variable

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agotest/crimson/seastore: drop duplicated i++
Kefu Chai [Fri, 6 Aug 2021 16:39:11 +0000 (00:39 +0800)]
test/crimson/seastore: drop duplicated i++

for two reasons:

* to silence Clang warning
* it's very unusual to do this. and this is a bad smell.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agotest/crimson/seastore: capture labels by defining new variables
Kefu Chai [Fri, 6 Aug 2021 16:37:28 +0000 (00:37 +0800)]
test/crimson/seastore: capture labels by defining new variables

structured binding does not define variables, so we have to define
variables in capture list for capturing them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agomsg/async/compression_onwire: include used header
Kefu Chai [Fri, 6 Aug 2021 16:36:39 +0000 (00:36 +0800)]
msg/async/compression_onwire: include used header

this fixes the FTBFS with Clang + libc++.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #42700 from tchaikov/wip-crimson-cleanup
Kefu Chai [Fri, 6 Aug 2021 15:44:35 +0000 (23:44 +0800)]
Merge pull request #42700 from tchaikov/wip-crimson-cleanup

crimson/os/seastore: do not capture unused variable

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #36517 from giladmaya/on_wire_compression
Neha Ojha [Fri, 6 Aug 2021 15:07:58 +0000 (08:07 -0700)]
Merge pull request #36517 from giladmaya/on_wire_compression

msgr: added support in on-wire compression for osd-osd communication

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #42686 from dsavineau/cephadm_almalinux_distro
Sebastian Wagner [Fri, 6 Aug 2021 14:51:32 +0000 (16:51 +0200)]
Merge pull request #42686 from dsavineau/cephadm_almalinux_distro

cephadm: add AlmaLinux to supported distro

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
3 years ago.github/labeler: add nfs dev doc 42627/head
Varsha Rao [Wed, 4 Aug 2021 11:03:43 +0000 (16:33 +0530)]
.github/labeler: add nfs dev doc

Signed-off-by: Varsha Rao <varao@redhat.com>
3 years agodoc/dev/vstart-ganesha: update about RGW export
Varsha Rao [Wed, 4 Aug 2021 10:46:29 +0000 (16:16 +0530)]
doc/dev/vstart-ganesha: update about RGW export

Fixes: https://tracker.ceph.com/issues/51683
Signed-off-by: Varsha Rao <varao@redhat.com>
3 years agosrc/vstart: update ganesha pid dir location
Varsha Rao [Wed, 4 Aug 2021 10:39:54 +0000 (16:09 +0530)]
src/vstart: update ganesha pid dir location

Signed-off-by: Varsha Rao <varao@redhat.com>
3 years agosrc/vstart: create rgw export for nfs
Varsha Rao [Wed, 4 Aug 2021 10:35:47 +0000 (16:05 +0530)]
src/vstart: create rgw export for nfs

Fixes: https://tracker.ceph.com/issues/51800
Signed-off-by: Varsha Rao <varao@redhat.com>
3 years agoMerge pull request #42608 from joscollin/wip-B51975-keyerror-null-foo
Venky Shankar [Fri, 6 Aug 2021 12:16:04 +0000 (17:46 +0530)]
Merge pull request #42608 from joscollin/wip-B51975-keyerror-null-foo

pybind/mgr/stats: validate cmdtag

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agotest/crimson: mark final class "final" 42700/head
Kefu Chai [Fri, 6 Aug 2021 11:48:19 +0000 (19:48 +0800)]
test/crimson: mark final class "final"

silences warning from Clang like:

../src/test/crimson/seastore/test_object_data_handler.cc:33:16: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class]
  ~TestOnode() final = default;
               ^
../src/test/crimson/seastore/test_object_data_handler.cc:20:7: note: mark 'TestOnode' as 'final' to silence this warning
class TestOnode : public Onode {
      ^
1 warning generated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agocrimson/os/seastore: do not capture unused variable
Kefu Chai [Fri, 6 Aug 2021 11:24:34 +0000 (19:24 +0800)]
crimson/os/seastore: do not capture unused variable

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #42698 from tchaikov/wip-cmake-attr
Kefu Chai [Fri, 6 Aug 2021 11:21:25 +0000 (19:21 +0800)]
Merge pull request #42698 from tchaikov/wip-cmake-attr

cmake: fail on unknown attribute

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
3 years agoMerge pull request #42607 from tchaikov/wip-ceph-dencoder
Kefu Chai [Fri, 6 Aug 2021 10:39:36 +0000 (18:39 +0800)]
Merge pull request #42607 from tchaikov/wip-ceph-dencoder

tools/ceph-dencoder: refactor to address segfault when compiled w/ clang

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocmake: fail on unknown attribute 42698/head
Kefu Chai [Fri, 6 Aug 2021 09:26:16 +0000 (17:26 +0800)]
cmake: fail on unknown attribute

on Clang, the option for detecting unknown attribute is
-Wunknown-attributes, so "-Wattributes -Werror" does not fail the test
when the C compiler is Clang.

in this change, we just turn all warnings into errors.
this should fail the test if the compiler does not understand
`__attribute__((__symver__ ...))`

Fixes: https://tracker.ceph.com/issues/40060
Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #42602 from b-ranto/wip-lto
Kefu Chai [Fri, 6 Aug 2021 05:45:01 +0000 (13:45 +0800)]
Merge pull request #42602 from b-ranto/wip-lto

rados+rpm: Update symver defs and re-enable LTO

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #42564 from myoungwon/wip-fix-45423
Kefu Chai [Fri, 6 Aug 2021 04:26:32 +0000 (12:26 +0800)]
Merge pull request #42564 from myoungwon/wip-fix-45423

test: fix wrong alarm (HitSetWrite)

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #42277 from tchaikov/wip-vstart-runner-cleanups
Kefu Chai [Fri, 6 Aug 2021 02:33:19 +0000 (10:33 +0800)]
Merge pull request #42277 from tchaikov/wip-vstart-runner-cleanups

qa/tasks/vstart_runner: do not send SIGTERM if no matched pid

Reviewed-by: Rishabh Dave <ridave@redhat.com>
3 years agoMerge pull request #42663 from cyx1231st/wip-fix-lba-empty-delta
Kefu Chai [Fri, 6 Aug 2021 02:28:46 +0000 (10:28 +0800)]
Merge pull request #42663 from cyx1231st/wip-fix-lba-empty-delta

crimson/os/seastore/lba_manager: remove assert non-empty delta

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #42669 from tchaikov/wip-doc-ext-confval
Kefu Chai [Fri, 6 Aug 2021 01:16:30 +0000 (09:16 +0800)]
Merge pull request #42669 from tchaikov/wip-doc-ext-confval

doc/_ext: print out the module which fails the build

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #42681 from tchaikov/wip-fmt-a
Kefu Chai [Fri, 6 Aug 2021 01:14:13 +0000 (09:14 +0800)]
Merge pull request #42681 from tchaikov/wip-fmt-a

cmake: link bundled fmt statically

Reviewed-by: Boris Ranto <branto@redhat.com>
3 years agoMerge pull request #42593 from ceph/wip-yuriw-release-15.2.14-master
David Galloway [Thu, 5 Aug 2021 23:12:48 +0000 (19:12 -0400)]
Merge pull request #42593 from ceph/wip-yuriw-release-15.2.14-master

doc: 15.2.14 Release Notes

3 years agodoc/releases/octopus.rst: add notable changes for mgr and core 42593/head
Neha Ojha [Thu, 5 Aug 2021 16:47:56 +0000 (16:47 +0000)]
doc/releases/octopus.rst: add notable changes for mgr and core

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agodoc: add note about mon trimming of old MDSMaps
Patrick Donnelly [Tue, 3 Aug 2021 17:57:28 +0000 (10:57 -0700)]
doc: add note about mon trimming of old MDSMaps

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agodoc: 15.2.14 Release Notes
Yuri Weinstein [Tue, 3 Aug 2021 16:25:39 +0000 (09:25 -0700)]
doc: 15.2.14 Release Notes

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoqa/tasks/vip: exec with bash -ex
Sage Weil [Thu, 5 Aug 2021 20:17:42 +0000 (16:17 -0400)]
qa/tasks/vip: exec with bash -ex

Signed-off-by: Sage Weil <sage@newdream.net>
3 years agoceph-volume: work around phantom atari partitions 42469/head
Blaine Gardner [Fri, 23 Jul 2021 18:56:35 +0000 (12:56 -0600)]
ceph-volume: work around phantom atari partitions

See Rook issue https://github.com/rook/rook/issues/7940 for full
information.

Ceph bluestore disks can sometimes appear as though they have "phantom"
Atari (AHDI) partitions created on them when they don't in reality. This
is due to a series of bugs in the Linux kernel when it is built with
Atari support enabled. This behavior does not appear for raw mode OSDs on
partitions, only on disks.

Changing the on-disk format of Bluestore OSDs comes with
backwards-compatibility challenges, and fixing the issue in the Kernel
could be years before users get a fix. Working around the Kernel issue
in ceph-volume is therefore the best place to fix the issue for Ceph.

To work around the issue in Ceph volume, there are two behaviors that need
adjusted:
1. `ceph-volume inventory` should not report that a partition is
   available if the parent device is a BlueStore OSD.
2. `ceph-volume raw list` should report parent disks if the disk is a
   BlueStore OSD and not report the disk's children, BUT it should still
   report children if the parent disk is not a BlueStore OSD.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
3 years agoqa/rgw: barbican and pykmip tasks upgrade pip before installing pytz 42689/head
Casey Bodley [Thu, 5 Aug 2021 19:05:36 +0000 (15:05 -0400)]
qa/rgw: barbican and pykmip tasks upgrade pip before installing pytz

Downloading https://files.pythonhosted.org/packages/9b/77/461087a514d2e8ece1c975d8216bc03f7048e6090c5166bc34115afdaa53/cryptography-3.4.7.tar.gz (546kB)
  Complete output from command python setup.py egg_info:

          =============================DEBUG ASSISTANCE==========================
          If you are seeing an error here please try the following to
          successfully install cryptography:

          Upgrade to the latest pip and try again. This will fix errors for most
          users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
          =============================DEBUG ASSISTANCE==========================

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-7fhnk5us/cryptography/setup.py", line 14, in <module>
      from setuptools_rust import RustExtension
  ModuleNotFoundError: No module named 'setuptools_rust'

Fixes: https://tracker.ceph.com/issues/52070
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #42505 from wzbxqt327/put_obj_rentention
Casey Bodley [Thu, 5 Aug 2021 19:22:29 +0000 (15:22 -0400)]
Merge pull request #42505 from wzbxqt327/put_obj_rentention

rgw: add the condition of lock mode conversion to PutObjRentention

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #42531 from ivancich/wip-user-utilized-stats
Casey Bodley [Thu, 5 Aug 2021 19:22:05 +0000 (15:22 -0400)]
Merge pull request #42531 from ivancich/wip-user-utilized-stats

rgw: user stats showing 0 value for "size_utilized" and "size_kb_utilized" fields

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #42597 from ivancich/wip-rename-f
Casey Bodley [Thu, 5 Aug 2021 19:21:45 +0000 (15:21 -0400)]
Merge pull request #42597 from ivancich/wip-rename-f

rgw: clean up some code

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agoMerge pull request #42125 from ivancich/wip-cls-empty-listing
Casey Bodley [Thu, 5 Aug 2021 19:21:22 +0000 (15:21 -0400)]
Merge pull request #42125 from ivancich/wip-cls-empty-listing

rgw: resolve empty ordered bucket listing results w/ CLS filtering

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #42182 from tengfWang/rgw-swift-check-container-name
Casey Bodley [Thu, 5 Aug 2021 19:21:00 +0000 (15:21 -0400)]
Merge pull request #42182 from tengfWang/rgw-swift-check-container-name

rgw: remove the three-character limit when creating a container with swift interface

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #42397 from mkogan1/rgw-d3n-rem-ops-log
Casey Bodley [Thu, 5 Aug 2021 19:20:24 +0000 (15:20 -0400)]
Merge pull request #42397 from mkogan1/rgw-d3n-rem-ops-log

rgw: d3n: remove legacy requirement to enable rgw_enable_ops_log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agoqa/rgw: update apache-maven mirror for rgw/hadoop-s3a 42688/head
Casey Bodley [Thu, 5 Aug 2021 18:50:05 +0000 (14:50 -0400)]
qa/rgw: update apache-maven mirror for rgw/hadoop-s3a

Fixes: https://tracker.ceph.com/issues/52069
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoqa/suites/orch/cephadm: separate test_nfs from test_orch_cli
Sage Weil [Thu, 5 Aug 2021 18:00:07 +0000 (14:00 -0400)]
qa/suites/orch/cephadm: separate test_nfs from test_orch_cli

Signed-off-by: Sage Weil <sage@newdream.net>
3 years agocephadm: add AlmaLinux to supported distro 42686/head
Dimitri Savineau [Thu, 5 Aug 2021 17:47:56 +0000 (13:47 -0400)]
cephadm: add AlmaLinux to supported distro

AlmaLinux [1] is an open-source 1:1 binary compatible fork of RHEL.

[1] https://almalinux.org/

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #42673 from guits/update_cephadm_doc
Kefu Chai [Thu, 5 Aug 2021 15:34:19 +0000 (23:34 +0800)]
Merge pull request #42673 from guits/update_cephadm_doc

doc/cephadm: update documentation

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>