]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sidharth Anupkrishnan [Mon, 6 Jul 2020 09:15:46 +0000 (14:45 +0530)]
client: Fix setxattr with 0 size specified
When xattrs are set with 0 size, the value should be set to an empty string.
Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Lenz Grimmer [Tue, 23 Jun 2020 10:09:38 +0000 (12:09 +0200)]
Merge pull request #35668 from bk201/wip-46105
mgr/dashboard: fix browserTarget for zh-Hans and zh-Hant
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Sebastian Wagner [Tue, 23 Jun 2020 09:01:55 +0000 (11:01 +0200)]
Merge pull request #35653 from ideepika/fix-cpatch
src/cstart: fix typo in cstart script
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Laura Paduano [Tue, 23 Jun 2020 05:36:40 +0000 (07:36 +0200)]
Merge pull request #35676 from ishanrai05/autocomplete-background
mgr/dashboard: fix autocomplete input backgrounds in chrome and firefox
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Patrick Donnelly [Tue, 23 Jun 2020 02:19:16 +0000 (19:19 -0700)]
Merge PR #35627 into master
* refs/pull/35627/head:
qa: fix type error in stderr processing
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
zdover23 [Mon, 22 Jun 2020 17:10:13 +0000 (03:10 +1000)]
Merge pull request #35635 from zdover23/wip-doc-man-deploy-mon-bootstrapping-2020-jun
doc/install: add sudo to command
Jan Fajerski [Mon, 22 Jun 2020 16:52:25 +0000 (18:52 +0200)]
Merge pull request #35595 from jan--f/c-v-fix-lvm-functests
ceph-volume: fix lvm functional tests
Casey Bodley [Mon, 22 Jun 2020 15:22:15 +0000 (11:22 -0400)]
Merge pull request #35027 from yuvalif/add_doxygen_target
cmake: add doxygen target for c++ code under src
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Ishan Rai [Fri, 19 Jun 2020 14:56:16 +0000 (14:56 +0000)]
mgr/dashboard: fix autocomplete input backgrounds in chrome and firefox
Fixes: https://tracker.ceph.com/issues/46109
Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
Kefu Chai [Mon, 22 Jun 2020 13:16:10 +0000 (21:16 +0800)]
Merge pull request #35688 from tchaikov/wip-doc-sphinx
admin/doc-requirements: pin sphinx-autodoc-typehints to 1.10.3
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Mon, 22 Jun 2020 12:13:06 +0000 (20:13 +0800)]
Merge pull request #35698 from tchaikov/wip-man-print-file-which-is-non-ascii
man/conf.py: print out path to file which contains undecodable chars
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Mon, 22 Jun 2020 12:07:30 +0000 (20:07 +0800)]
Merge pull request #35701 from tchaikov/wip-doc-sans-utf8
doc/man/8/ceph-objectstore-tool.rst: drop UTF-8 chars
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Mon, 22 Jun 2020 11:53:43 +0000 (19:53 +0800)]
doc/man/8/ceph-objectstore-tool.rst: drop UTF-8 chars
it's a regression introduced by
5a09d7a1ca2e93811505345c31367627bedbea0e
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 22 Jun 2020 11:21:28 +0000 (19:21 +0800)]
man/conf.py: print out path to file which contains undecodable chars
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Mon, 22 Jun 2020 10:19:59 +0000 (12:19 +0200)]
Merge pull request #35640 from sebastian-philipp/doc-cephadm-adopt-placment
doc/cephadm: adopt: fix misleading `apply` examples
Reviewed-by: Stephan Müller <smueller@suse.com>
Sebastian Wagner [Mon, 22 Jun 2020 10:19:29 +0000 (12:19 +0200)]
Merge pull request #35587 from sebastian-philipp/doc-orch-stateless-cli
doc/mgr/orch: Update documentation to the new CLI
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Jan Fajerski [Tue, 16 Jun 2020 11:47:16 +0000 (13:47 +0200)]
ceph-volume: fix lvm functional tests
This is related to https://github.com/ceph/ceph-ansible/pull/5413 and
adjusts the tests to work with the related ansible fix.
Fixes: https://tracker.ceph.com/issues/46131
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Nathan Cutler [Mon, 22 Jun 2020 05:17:16 +0000 (07:17 +0200)]
Merge pull request #35675 from smithfarm/wip-doc-backport-labelling
doc/SubmittingPatches-backports.rst: clarify backport PR labels
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Zac Dover [Thu, 18 Jun 2020 03:23:27 +0000 (13:23 +1000)]
doc/install: add sudo to command
This commit adds "sudo" to a ceph-authtool command
that is missing the "sudo".
Fixes: https://tracker.ceph.com/issues/46065
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 22 Jun 2020 05:10:27 +0000 (13:10 +0800)]
Merge pull request #35691 from bk201/wip-46130
doc/man: fix ceph-objectstore-tool description
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 22 Jun 2020 04:40:16 +0000 (12:40 +0800)]
Merge pull request #35682 from tchaikov/wip-cmake-cxx
cmake: only apply C++ compile options to C++ language
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kiefer Chang [Mon, 22 Jun 2020 03:20:33 +0000 (11:20 +0800)]
doc/man: fix ceph-objectstore-tool description
There should be a `--` between the name and the description.
Fixes: https://tracker.ceph.com/issues/46130
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Kefu Chai [Mon, 22 Jun 2020 01:34:53 +0000 (09:34 +0800)]
doc/conf.py: s/add_javascript/add_js_file/
to address following warning:
jenkins-build/build/workspace/ceph-pr-docs/doc/conf.py:102: RemovedInSphinx40Warning: The app.add_javascript() is deprecated. Please use app.add_js_file() instead.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 22 Jun 2020 00:28:37 +0000 (08:28 +0800)]
admin/doc-requirements: pin sphinx-autodoc-typehints to 1.10.3
to silence following error:
ERROR: sphinx-autodoc-typehints 1.11.0 has requirement Sphinx>=3.0, but you'll have sphinx 2.4.3 which is incompatible.
* update breathe to the latest release, 4.14.2, which supports sphinx <
3.0
* pin sphinx to 2.4.4 the last sphinx before 3.0.0. as if sphinx >= 3.0
is used, we have errors like:
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 18]
CEPH_RADOS_API int rados_aio_append (rados_ioctx_t io, const char *oid, rados_completion_t completion, const char *buf, size_t len)
------------------^
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Sun, 21 Jun 2020 15:47:39 +0000 (18:47 +0300)]
Merge pull request #35658 from dillaman/wip-46083
librbd: race when disabling object map with overlapping in-flight writes
Reviewed-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Sat, 20 Jun 2020 13:28:00 +0000 (21:28 +0800)]
Merge pull request #35588 from jschmid1/osdspec_affinity_to_metadata
osd: expose osdspec_affinity to osd_metadata
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Sat, 20 Jun 2020 13:27:06 +0000 (21:27 +0800)]
Merge pull request #35569 from sungjunyoung/master
install_deps.sh: Add debian based elementary os
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 20 Jun 2020 13:26:24 +0000 (21:26 +0800)]
Merge pull request #35294 from agayev/punch-hole
os/bluestore: Add missing punch_hole call so that object offsets are …
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Kefu Chai [Sat, 20 Jun 2020 13:25:44 +0000 (21:25 +0800)]
Merge pull request #34189 from changchengx/bufferlist
common/buffer: refine bufferlist implementation
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 20 Jun 2020 13:01:12 +0000 (21:01 +0800)]
Merge pull request #35592 from tchaikov/wip-ceph-in-de2
ceph.in: fallback to install path of "ceph" when "ceph-conf" is not found
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sat, 20 Jun 2020 11:53:11 +0000 (19:53 +0800)]
Merge pull request #35078 from idryomov/wip-msgr21
msg/async: New msgr2 crc and secure modes (msgr2.1)
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sat, 20 Jun 2020 11:51:39 +0000 (19:51 +0800)]
Merge pull request #35607 from wuxingyi/schedulerlogger
osd/scheduler: add white space for better readability
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Sat, 20 Jun 2020 11:50:24 +0000 (19:50 +0800)]
Merge pull request #35584 from aclamk/wip-mempool-bufferlist-c_str
common/mempool: copies bufferlist assignment to mempool through rebuild
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sat, 20 Jun 2020 11:47:24 +0000 (19:47 +0800)]
Merge pull request #32271 from toliu/disable-restful-basic-auth
mgr/restful: allow users to disable http authentication
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Thu, 18 Jun 2020 19:20:40 +0000 (15:20 -0400)]
librbd: race when disabling object map with overlapping in-flight writes
The block guard that protects against overlapping updates to the object
map needs to be flushed prior to closing the object map instance.
Fixes: https://tracker.ceph.com/issues/46083
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
zdover23 [Sat, 20 Jun 2020 04:24:06 +0000 (14:24 +1000)]
Merge pull request #33823 from zdover23/wip-doc-ceph-objectstore-tool-2020-mar
doc/man: add manpage for ceph-objectstore-tool
Kefu Chai [Sat, 20 Jun 2020 04:01:55 +0000 (12:01 +0800)]
cmake: only apply C++ compile options to C++ language
we have sources written in C language, and they are compiled along with
C++ source files which uses Seastar library. so when the C compiler sees
the options exposed by seastar, it complains like
1: warning: command line option '-fconcepts' is valid for C++/ObjC++ but
not for C
with this change, only C++ options is added for C++ language.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 19 Jun 2020 22:18:40 +0000 (15:18 -0700)]
Merge pull request #35681 from yuriw/wip-yuriw-crontab-master
qa/tests: removed mimic runs as EOL
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Fri, 19 Jun 2020 22:15:19 +0000 (15:15 -0700)]
qa/tests: removed mimic runs as EOL
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Nathan Cutler [Fri, 19 Jun 2020 16:16:59 +0000 (18:16 +0200)]
Merge pull request #35673 from tspmelo/wip-chromium
mgr/dashboard: Fix e2e chromium binary validation
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Tiago Melo [Fri, 19 Jun 2020 11:19:16 +0000 (11:19 +0000)]
mgr/dashboard: Fix e2e chrome and chromium binaries verification
Fixes: https://tracker.ceph.com/issues/46110
Signed-off-by: Tiago Melo <tmelo@suse.com>
Nathan Cutler [Fri, 19 Jun 2020 14:31:47 +0000 (16:31 +0200)]
Merge pull request #35223 from smithfarm/wip-releases-ordering
doc/releases: list archived releases in correct order
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Nathan Cutler [Fri, 19 Jun 2020 13:48:24 +0000 (15:48 +0200)]
doc/SubmittingPatches-backports.rst: clarify backport PR labels
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Lenz Grimmer [Fri, 19 Jun 2020 13:47:12 +0000 (15:47 +0200)]
Merge pull request #35586 from tspmelo/wip-service-root
mgr/dashboard: Provide all services in root
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Mykola Golub [Fri, 19 Jun 2020 11:50:52 +0000 (14:50 +0300)]
Merge pull request #30670 from trociny/wip-41736
mgr: fix race between module load and notify
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Sebastian Wagner [Fri, 19 Jun 2020 11:21:13 +0000 (13:21 +0200)]
Merge pull request #35141 from matthewoliver/cephadm_iscsi_lib_module_mount
cephadm: Give iscsci a RO /lib/modules bind mounted
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Fri, 19 Jun 2020 10:51:55 +0000 (18:51 +0800)]
Merge pull request #35190 from cybozu/ceph-volume-fix-rejected-reason-in-device-type-mismatch
ceph-volume: report correct rejected reason in inventory if device type is invalid
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Kiefer Chang [Fri, 19 Jun 2020 08:54:24 +0000 (16:54 +0800)]
mgr/dashboard: fix browserTarget for zh-Hans and zh-Hant
Fixes: https://tracker.ceph.com/issues/46105
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Satoru Takeuchi [Fri, 22 May 2020 01:45:32 +0000 (01:45 +0000)]
ceph-volume: show correct rejected reason in inventory if device type is not acceptable
If device type is not acceptable in `c-v inventory`, its rejected reason
becomes "Insufficient space (<5GB)" by mistake. It's because sys_api is
empty due to skipping devices that are neither `disk` nor `device`. We
should report the target device is not acceptable in this case.
Fixes: https://tracker.ceph.com/issues/46102
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Satoru Takeuchi [Fri, 22 May 2020 01:07:17 +0000 (01:07 +0000)]
ceph-volume: cleanup code
Simplify the logic and fix a typo.
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Zac Dover [Fri, 19 Jun 2020 04:30:25 +0000 (14:30 +1000)]
incorporating dzafman's suggestions
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Kefu Chai [Fri, 19 Jun 2020 01:15:29 +0000 (09:15 +0800)]
Merge pull request #35652 from rzarzynski/wip-crimson-thread-cleanup
crimson: clean-up the crimson/thread directory
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Neha Ojha [Thu, 18 Jun 2020 23:25:04 +0000 (16:25 -0700)]
Merge pull request #35632 from dzafman/wip-46064
tools: Add statfs operation to ceph-objecstore-tool
Reviewed-by: Neha Ojha <nojha@redhat.com>
David Zafman [Thu, 18 Jun 2020 01:08:25 +0000 (18:08 -0700)]
tools: Add statfs operation to ceph-objecstore-tool
Fixes: https://tracker.ceph.com/issues/46064
Signed-off-by: David Zafman <dzafman@redhat.com>
Jason Dillaman [Thu, 18 Jun 2020 16:56:31 +0000 (12:56 -0400)]
Merge pull request #35329 from trociny/wip-quiesce_complete
librbd: quiesce/unquiesce API improvements
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Patrick Donnelly [Thu, 18 Jun 2020 16:05:08 +0000 (09:05 -0700)]
Merge PR #35649 into master
* refs/pull/35649/head:
vstart: allow specifying a different ganesha binary
vstart: handle multiple ganesha's more sanely
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Jeff Layton [Wed, 17 Jun 2020 19:49:52 +0000 (15:49 -0400)]
vstart: allow specifying a different ganesha binary
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeff Layton [Wed, 17 Jun 2020 16:11:51 +0000 (12:11 -0400)]
vstart: handle multiple ganesha's more sanely
Currently, if you have more than one ganesha daemon, it clobbers the
log, config and pidfiles from the previous daemons. Give them each
their own files.
While we're in here, move the log and pidfile to the out/ directory
with all of the other logfiles/pidfiles.
Fixes: https://tracker.ceph.com/issues/46079
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jason Dillaman [Thu, 18 Jun 2020 15:37:24 +0000 (11:37 -0400)]
Merge pull request #35650 from trociny/wip-46076
test/rbd_mirror: fix race on test shut down
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Thu, 18 Jun 2020 15:06:06 +0000 (23:06 +0800)]
Merge pull request #35631 from tchaikov/wip-cmake-cleanup
cmake: use add_compile_options() and add_definitions()
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Deepika Upadhyay [Thu, 18 Jun 2020 14:26:06 +0000 (14:26 +0000)]
src/cstart: fix typo in cstart script
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Kefu Chai [Thu, 18 Jun 2020 14:22:38 +0000 (22:22 +0800)]
Merge pull request #35630 from tchaikov/wip-systemd-subvars
cmake: move include(GNUInstallDirs) up
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Radoslaw Zarzynski [Thu, 18 Jun 2020 13:24:14 +0000 (15:24 +0200)]
crimson: move Throttle to src/crimson/common.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Thu, 18 Jun 2020 13:40:43 +0000 (15:40 +0200)]
crimson: make ThreadPool specific to AlienStore.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Patrick Donnelly [Tue, 9 Jun 2020 22:27:09 +0000 (15:27 -0700)]
qa: fix type error in stderr processing
Fixes: 422d736568bd4d92fdf380b07da0ccac46cf3efd
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Mykola Golub [Thu, 18 Jun 2020 13:47:59 +0000 (14:47 +0100)]
test/rbd_mirror: fix race on test shut down
in TestMockImageReplayerSnapshotReplayer.UnlinkRemoteSnapshot
Fixes: https://tracker.ceph.com/issues/46076
Signed-off-by: Mykola Golub <mgolub@suse.com>
Sebastian Wagner [Thu, 18 Jun 2020 12:53:24 +0000 (14:53 +0200)]
Merge pull request #35637 from bk201/wip-46067
stop.sh: do not block script when there is no running cluster
Reviewed-by: Varsha Rao <varao@redhat.com>
Mykola Golub [Thu, 18 Jun 2020 12:49:17 +0000 (15:49 +0300)]
Merge pull request #35603 from dillaman/wip-46034
mgr/prometheus: automatically discover RBD pools for stats gathering
Reviewed-by: Mykola Golub <mgolub@suse.com>
Tiago Melo [Tue, 16 Jun 2020 08:50:20 +0000 (08:50 +0000)]
mgr/dashboard: Provide all services in root
Fixes: https://tracker.ceph.com/issues/46030
Signed-off-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Thu, 18 Jun 2020 10:24:31 +0000 (12:24 +0200)]
Merge pull request #35574 from tspmelo/wip-tslint
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Sebastian Wagner [Thu, 18 Jun 2020 08:56:35 +0000 (10:56 +0200)]
doc/cephadm: adopt: fix misleading `apply` examples
Fixes: https://tracker.ceph.com/issues/46052
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Thu, 18 Jun 2020 09:23:18 +0000 (11:23 +0200)]
Merge pull request #35634 from mgfritch/cephadm-manpage-shell-mount
doc/man: add missing cephadm shell `--mount` option
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Tue, 16 Jun 2020 09:02:37 +0000 (11:02 +0200)]
doc/mgr/orch: Update documentation to the new CLI
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Wed, 17 Jun 2020 23:14:33 +0000 (07:14 +0800)]
cmake: add definitions using add_definitions()
also, add definitions as a list instead of a single string for better
readability
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 17 Jun 2020 23:08:06 +0000 (07:08 +0800)]
cmake: use add_compile_options()
instead of appending compile flags to CMAKE_C_FLAGS, use
add_compile_options(), as COMPILE_OPTIONS is a list, it'd simpler to
append options to it and to access it in a structured way.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 18 Jun 2020 08:33:54 +0000 (16:33 +0800)]
cmake: use string(APPEND...) for appending cflags
* use string(APPEND...) for less repeatings
* `-rdynamic` is a linker option, so it should be added to
`CMAKE_EXE_LINKER_FLAGS` for adding symbols to dynamic
symbol tables so they can be consumed by plugins.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kiefer Chang [Thu, 18 Jun 2020 07:42:50 +0000 (15:42 +0800)]
stop.sh: do not block script when there is no running cluster
A query for current fsid is called inside `do_killcephadm`. This blocks
the script when there is no running cluster. The fix avoids entering the
function if cephadm command fails or returns no daemons.
The change also hides the following output for non-cephadm environments:
```
Unable to locate any of ['podman', 'docker']
```
Fixes: https://tracker.ceph.com/issues/46067
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Kefu Chai [Thu, 18 Jun 2020 05:34:35 +0000 (13:34 +0800)]
Merge pull request #35469 from xxhdx1985126/wip-crimson-block-io-for-recovery
crimson: block io for recovery ---- recovery part 2
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Thu, 18 Jun 2020 02:43:32 +0000 (19:43 -0700)]
Merge PR #35626 into master
* refs/pull/35626/head:
mds: fix whitespace
Reviewed-by: Jos Collin <jcollin@redhat.com>
Michael Fritch [Wed, 17 Jun 2020 16:26:32 +0000 (10:26 -0600)]
doc/man: add missing cephadm shell `--mount` option
also clean-up `--mount` help usage
Signed-off-by: Michael Fritch <mfritch@suse.com>
Xuehan Xu [Mon, 8 Jun 2020 06:41:54 +0000 (14:41 +0800)]
crimson/osd: share map with clients when osdmap epoch doesn't match
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
Xuehan Xu [Mon, 8 Jun 2020 06:41:06 +0000 (14:41 +0800)]
crimson: do not assert in start_backfill_ops
osd_recovery_max_single_start is not necessarily used up in start_recovery_ops, and
start_backfill_ops could be invoked even there's no need to backfill, so do not assert
here, just return.
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
Xuehan Xu [Mon, 8 Jun 2020 06:39:56 +0000 (14:39 +0800)]
crimson/osd: fix client op version issue
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
Xuehan Xu [Tue, 2 Jun 2020 07:45:41 +0000 (15:45 +0800)]
crimson/monc: take care of connection lost when sending messages
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
Xuehan Xu [Mon, 1 Jun 2020 10:50:00 +0000 (18:50 +0800)]
crimson/osd: send "mark me down" messages to monitor when shutting down
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
Xuehan Xu [Mon, 8 Jun 2020 09:58:47 +0000 (17:58 +0800)]
crimson: restart ongoing client_request after peering
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
Xuehan Xu [Mon, 8 Jun 2020 09:58:56 +0000 (17:58 +0800)]
crimson: block io for object recovery
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
Kefu Chai [Thu, 18 Jun 2020 00:35:36 +0000 (08:35 +0800)]
Merge pull request #35507 from aclamk/wip-bluestore-avl-description
BlueStore, added descriptions for AVL allocator parameters
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Wed, 17 Jun 2020 22:33:13 +0000 (06:33 +0800)]
cmake: move include(GNUInstallDirs) up
so systemd/CMakeLists.txt can have access to the variables defined by
it. quote from https://cmake.org/cmake/help/latest/command/include.html.
> Variable reads and writes access the scope of the caller (dynamic
> scoping).
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 17 Jun 2020 20:21:23 +0000 (15:21 -0500)]
Merge pull request #35623 from liewegas/wip-bloomberg
doc/foundation: add bloomberg
Ilya Dryomov [Tue, 12 May 2020 09:45:30 +0000 (11:45 +0200)]
doc/dev/msgr2: fix inconsistencies and update for msgr2.1
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Tue, 21 Apr 2020 08:22:25 +0000 (10:22 +0200)]
msg/async/ProtocolV2: add msgr2.1 feature bit
Use msgr2.1 if the peer supports it and fall back to msgr2.0
otherwise.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Mon, 20 Apr 2020 18:45:01 +0000 (20:45 +0200)]
msg/async/ProtocolV2: store supported features instead of required
We aren't interested in peer_required_features anywhere outside
_handle_peer_banner_payload() -- once we know there is no mismatch,
it's all about peer_supported_features.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Mon, 11 May 2020 12:06:44 +0000 (14:06 +0200)]
msg/async/ProtocolV2: short circuit empty segments and epilogue
In both msgr2.0 and msgr2.1, segments can be empty. In msgr2.1,
epilogue can be empty as well.
Handle both by calling the respective handler function directly
instead of allocating a buffer::ptr_node for an empty buffer and
passing that through READ[_RXBUF].
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Thu, 7 May 2020 12:29:37 +0000 (14:29 +0200)]
msg/async/frames_v2: add initial unit tests
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Mon, 27 Apr 2020 14:07:46 +0000 (16:07 +0200)]
msg/async/crypto_onwire: implement msgr2.1 nonce format
Move to a 64-bit counter to avoid wrapping and having to reset
the session before the counter repeats. This is in line with NIST
Recommendation for GCM [1]:
"... this Recommendation suggests, but does not require, that
the leading (i.e., leftmost) 32 bits of the IV hold the fixed
field; and that the trailing (i.e., rightmost) 64 bits hold the
invocation field."
See commit
bb61e6a5adc3 ("msg/async/ProtocolV2: avoid AES-GCM nonce
reuse vulnerabilities").
[1] https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Thu, 7 May 2020 09:32:52 +0000 (11:32 +0200)]
msg/async/frames_v2: implement msgr2.1 wire format
Implement msgr2.1-crc and msgr2.1-secure modes.
Issues with existing msgr2.0-crc and msgr2.0-secure modes and
their resolution will be described in doc/dev/msgr2.rst.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Patrick Donnelly [Wed, 4 Mar 2020 02:36:54 +0000 (18:36 -0800)]
mds: fix whitespace
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Wed, 17 Jun 2020 18:47:07 +0000 (13:47 -0500)]
doc/foundation: add bloomberg
Signed-off-by: Sage Weil <sage@newdream.net>
Tiago Melo [Mon, 15 Jun 2020 15:36:09 +0000 (15:36 +0000)]
mgr/dashboard: Fix tslint warnings
Signed-off-by: Tiago Melo <tmelo@suse.com>