]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoMerge pull request #35658 from dillaman/wip-46083 wip-rgw-sts-new
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>
5 years agoMerge pull request #35588 from jschmid1/osdspec_affinity_to_metadata
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>
5 years agoMerge pull request #35569 from sungjunyoung/master
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>
5 years agoMerge pull request #35294 from agayev/punch-hole
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>
5 years agoMerge pull request #34189 from changchengx/bufferlist
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>
5 years agoMerge pull request #35592 from tchaikov/wip-ceph-in-de2
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>
5 years agoMerge pull request #35078 from idryomov/wip-msgr21
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>
5 years agoMerge pull request #35607 from wuxingyi/schedulerlogger
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>
5 years agoMerge pull request #35584 from aclamk/wip-mempool-bufferlist-c_str
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>
5 years agoMerge pull request #32271 from toliu/disable-restful-basic-auth
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>
5 years agolibrbd: race when disabling object map with overlapping in-flight writes 35658/head
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>
5 years agoMerge pull request #33823 from zdover23/wip-doc-ceph-objectstore-tool-2020-mar
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

5 years agoMerge pull request #35681 from yuriw/wip-yuriw-crontab-master
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>
5 years agoqa/tests: removed mimic runs as EOL 35681/head
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>
5 years agoMerge pull request #35673 from tspmelo/wip-chromium
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>
5 years agomgr/dashboard: Fix e2e chrome and chromium binaries verification 35673/head
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>
5 years agoMerge pull request #35223 from smithfarm/wip-releases-ordering
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>
5 years agoMerge pull request #35586 from tspmelo/wip-service-root
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>
5 years agoMerge pull request #30670 from trociny/wip-41736
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>
5 years agoMerge pull request #35141 from matthewoliver/cephadm_iscsi_lib_module_mount
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>
5 years agoMerge pull request #35190 from cybozu/ceph-volume-fix-rejected-reason-in-device-type...
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>
5 years agoceph-volume: show correct rejected reason in inventory if device type is not acceptable 35190/head
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>
5 years agoceph-volume: cleanup code
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>
5 years agoincorporating dzafman's suggestions 33823/head
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>
5 years agoMerge pull request #35652 from rzarzynski/wip-crimson-thread-cleanup
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>
5 years agoMerge pull request #35632 from dzafman/wip-46064
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>
5 years agotools: Add statfs operation to ceph-objecstore-tool 35632/head
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>
5 years agoMerge pull request #35329 from trociny/wip-quiesce_complete
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>
5 years agoMerge PR #35649 into master
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>
5 years agovstart: allow specifying a different ganesha binary 35649/head
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>
5 years agovstart: handle multiple ganesha's more sanely
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>
5 years agoMerge pull request #35650 from trociny/wip-46076
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>
5 years agoMerge pull request #35631 from tchaikov/wip-cmake-cleanup
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>
5 years agoMerge pull request #35630 from tchaikov/wip-systemd-subvars
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>
5 years agocrimson: move Throttle to src/crimson/common. 35652/head
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>
5 years agocrimson: make ThreadPool specific to AlienStore.
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>
5 years agotest/rbd_mirror: fix race on test shut down 35650/head
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>
5 years agoMerge pull request #35637 from bk201/wip-46067
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>
5 years agoMerge pull request #35603 from dillaman/wip-46034
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>
5 years agomgr/dashboard: Provide all services in root 35586/head
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>
5 years agoMerge pull request #35574 from tspmelo/wip-tslint
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>
5 years agoMerge pull request #35634 from mgfritch/cephadm-manpage-shell-mount
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>
5 years agocmake: add definitions using add_definitions() 35631/head
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>
5 years agocmake: use add_compile_options()
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>
5 years agocmake: use string(APPEND...) for appending cflags
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>
5 years agostop.sh: do not block script when there is no running cluster 35637/head
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>
5 years agoMerge pull request #35469 from xxhdx1985126/wip-crimson-block-io-for-recovery
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>
5 years agoMerge PR #35626 into master
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>
5 years agodoc/man: add missing cephadm shell `--mount` option 35634/head
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>
5 years agocrimson/osd: share map with clients when osdmap epoch doesn't match 35469/head
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>
5 years agocrimson: do not assert in start_backfill_ops
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>
5 years agocrimson/osd: fix client op version issue
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>
5 years agocrimson/monc: take care of connection lost when sending messages
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>
5 years agocrimson/osd: send "mark me down" messages to monitor when shutting down
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>
5 years agocrimson: restart ongoing client_request after peering
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>
5 years agocrimson: block io for object recovery
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>
5 years agoMerge pull request #35507 from aclamk/wip-bluestore-avl-description
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>
5 years agocmake: move include(GNUInstallDirs) up 35630/head
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>
5 years agoMerge pull request #35623 from liewegas/wip-bloomberg
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

5 years agodoc/dev/msgr2: fix inconsistencies and update for msgr2.1 35078/head
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>
5 years agomsg/async/ProtocolV2: add msgr2.1 feature bit
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>
5 years agomsg/async/ProtocolV2: store supported features instead of required
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>
5 years agomsg/async/ProtocolV2: short circuit empty segments and epilogue
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>
5 years agomsg/async/frames_v2: add initial unit tests
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>
5 years agomsg/async/crypto_onwire: implement msgr2.1 nonce format
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>
5 years agomsg/async/frames_v2: implement msgr2.1 wire format
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>
5 years agomds: fix whitespace 35626/head
Patrick Donnelly [Wed, 4 Mar 2020 02:36:54 +0000 (18:36 -0800)]
mds: fix whitespace

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agodoc/foundation: add bloomberg 35623/head
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>
5 years agomgr/dashboard: Fix tslint warnings 35574/head
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>
5 years agomgr/dashboard: Improve typescript lint
Tiago Melo [Mon, 15 Jun 2020 13:28:59 +0000 (13:28 +0000)]
mgr/dashboard: Improve typescript lint

Fixes: https://tracker.ceph.com/issues/46000
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #35514 from dzafman/wip-41564
David Zafman [Wed, 17 Jun 2020 17:18:04 +0000 (10:18 -0700)]
Merge pull request #35514 from dzafman/wip-41564

mon: Warn when too many reads are repaired on an OSD

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #34933 from tspmelo/wip-remove-entry
Lenz Grimmer [Wed, 17 Jun 2020 17:12:14 +0000 (19:12 +0200)]
Merge pull request #34933 from tspmelo/wip-remove-entry

mgr/dashboard: Remove entryComponents

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge pull request #35505 from tspmelo/wip-ng-dropdown
Lenz Grimmer [Wed, 17 Jun 2020 17:10:27 +0000 (19:10 +0200)]
Merge pull request #35505 from tspmelo/wip-ng-dropdown

mgr/dashboard: Use ng-bootstrap for Dropdown

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge PR #32111 into master
Patrick Donnelly [Wed, 17 Jun 2020 16:42:21 +0000 (09:42 -0700)]
Merge PR #32111 into master

* refs/pull/32111/head:
test_cephfs_shell: run cephfs-shell with conf file

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoMerge PR #35539 into master
Patrick Donnelly [Wed, 17 Jun 2020 16:38:36 +0000 (09:38 -0700)]
Merge PR #35539 into master

* refs/pull/35539/head:
vstart_runner: set omit_sudo to True by default

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35608 into master
Patrick Donnelly [Wed, 17 Jun 2020 16:31:34 +0000 (09:31 -0700)]
Merge PR #35608 into master

* refs/pull/35608/head:
cephfs_features: add metric collection feature support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge pull request #35578 from mgfritch/cephadm-infer-fsid-ukn
Sebastian Wagner [Wed, 17 Jun 2020 15:38:01 +0000 (17:38 +0200)]
Merge pull request #35578 from mgfritch/cephadm-infer-fsid-ukn

cephadm: skip any invalid fsid(s) during infer

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35567 from ceph/cephadm_annotate_scheduler
Sebastian Wagner [Wed, 17 Jun 2020 14:27:59 +0000 (16:27 +0200)]
Merge pull request #35567 from ceph/cephadm_annotate_scheduler

mgr/cephadm: annotate scheduling code with comments

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35492 from liewegas/wip-bocloud
Sage Weil [Wed, 17 Jun 2020 14:16:44 +0000 (09:16 -0500)]
Merge pull request #35492 from liewegas/wip-bocloud

doc/foundation: drop BoCloud

5 years agoMerge pull request #35581 from bk201/ganesha-doc-pool-existence
Sebastian Wagner [Wed, 17 Jun 2020 13:10:46 +0000 (15:10 +0200)]
Merge pull request #35581 from bk201/ganesha-doc-pool-existence

mgr/cephadm: document pool requirement for NFS-Ganesha service

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Alexandra Settle <asettle@suse.com>
5 years agoMerge pull request #35225 from ishanrai05/bootstrap-variables
Lenz Grimmer [Wed, 17 Jun 2020 12:27:31 +0000 (14:27 +0200)]
Merge pull request #35225 from ishanrai05/bootstrap-variables

mgr/dashboard: use bootstrap variables for colors

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/prometheus: automatically discover RBD pools for stats gathering 35603/head
Jason Dillaman [Tue, 16 Jun 2020 14:33:32 +0000 (10:33 -0400)]
mgr/prometheus: automatically discover RBD pools for stats gathering

To simplify configuration, the existing 'rbd_stats_pools' config option
now accepts '*' as a wildcard for the pool and/or namespace portion of
the <pool>[/<namespace>] spec.

Fixes: https://tracker.ceph.com/issues/46034
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #35559 from xiexingguo/wip-split-child-stat
Kefu Chai [Wed, 17 Jun 2020 11:51:59 +0000 (19:51 +0800)]
Merge pull request #35559 from xiexingguo/wip-split-child-stat

osd/PeeringState: fix info.stats.up[acting] of splitting child

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: yanjun <yan.jun8@zte.com.cn>
5 years agotest_cephfs_shell: run cephfs-shell with conf file 32111/head
Rishabh Dave [Tue, 26 May 2020 12:00:03 +0000 (17:30 +0530)]
test_cephfs_shell: run cephfs-shell with conf file

And set colors to False and debug to True in this conf file.

stdout captured by Python code in this testsuite can contain the colour
codes along with the expected string output. Setting colors to False in
cephfs-shell.conf should fix this.

Setting debug to False should help with analyzing test failures since
it enables printing messages that helps debugging (stacktrace for
cephfs-shell code, for example).

Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #35395 from kshtsk/wip-registry-conf
Kefu Chai [Wed, 17 Jun 2020 11:49:20 +0000 (19:49 +0800)]
Merge pull request #35395 from kshtsk/wip-registry-conf

qa/tasks/cephadm: setup site based container registry

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35277 from aclamk/wip-limit-wal-sharding
Kefu Chai [Wed, 17 Jun 2020 11:47:25 +0000 (19:47 +0800)]
Merge pull request #35277 from aclamk/wip-limit-wal-sharding

kv/RocksDBStore: Set size for WALs in sharding mode.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
5 years agoMerge pull request #35547 from adk3798/cephadm-45097
Kefu Chai [Wed, 17 Jun 2020 11:45:26 +0000 (19:45 +0800)]
Merge pull request #35547 from adk3798/cephadm-45097

cephadm: UX: Change error message when 'orch host add <host>' fails

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
5 years agoMerge pull request #35552 from jan--f/systemd-osd-libexec
Kefu Chai [Wed, 17 Jun 2020 11:44:04 +0000 (19:44 +0800)]
Merge pull request #35552 from jan--f/systemd-osd-libexec

systemd/ceph-osd: ceph-osd-prestart.sh now lives in /usr/libexec

Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35558 from xiexingguo/wip-45991
Kefu Chai [Wed, 17 Jun 2020 11:41:07 +0000 (19:41 +0800)]
Merge pull request #35558 from xiexingguo/wip-45991

osd/PG: fix history.same_interval_since of merge target again

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35497 from ifed01/wip-ifed-remove-wal-preext
Kefu Chai [Wed, 17 Jun 2020 11:38:16 +0000 (19:38 +0800)]
Merge pull request #35497 from ifed01/wip-ifed-remove-wal-preext

os/bluestore: remove preextended WAL support.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
5 years agoMerge pull request #35549 from mgfritch/cephadm-iscsi-strip-version
Kefu Chai [Wed, 17 Jun 2020 11:36:21 +0000 (19:36 +0800)]
Merge pull request #35549 from mgfritch/cephadm-iscsi-strip-version

cephadm: strip whitespace from iscsi version

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agoMerge pull request #34643 from aclamk/wip-fix-bluefs-log-dump-v2
Kefu Chai [Wed, 17 Jun 2020 11:34:28 +0000 (19:34 +0800)]
Merge pull request #34643 from aclamk/wip-fix-bluefs-log-dump-v2

os/bluestore/BlueFS: Make log_dump possible without opening bluefs

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #35146 from wjwithagen/wjw-fix-shufflerandom
Kefu Chai [Wed, 17 Jun 2020 11:32:14 +0000 (19:32 +0800)]
Merge pull request #35146 from wjwithagen/wjw-fix-shufflerandom

rgw: replace deleted std function: randomshuffle

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35609 from tchaikov/wip-mgr-volumes-nfs-fstring
Kefu Chai [Wed, 17 Jun 2020 11:26:02 +0000 (19:26 +0800)]
Merge pull request #35609 from tchaikov/wip-mgr-volumes-nfs-fstring

mgr/volumes/nfs: use f-string for creating Exception

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
5 years agoMerge pull request #35466 from ishanrai05/quotes
Lenz Grimmer [Wed, 17 Jun 2020 10:46:17 +0000 (12:46 +0200)]
Merge pull request #35466 from ishanrai05/quotes

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #35614 from tchaikov/wip-install-deps-enable-required-crb-repo
Kefu Chai [Wed, 17 Jun 2020 10:37:50 +0000 (18:37 +0800)]
Merge pull request #35614 from tchaikov/wip-install-deps-enable-required-crb-repo

install-deps.sh: do not enable unavailable repos

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
5 years agoMerge pull request #35295 from rhcs-dashboard/fix-snapshot-dropdown
Lenz Grimmer [Wed, 17 Jun 2020 10:14:52 +0000 (12:14 +0200)]
Merge pull request #35295 from rhcs-dashboard/fix-snapshot-dropdown

mgr/dashboard: cropped actions menu in nested details

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #35493 from mgfritch/orch-service-spec-validate
Sebastian Wagner [Wed, 17 Jun 2020 08:08:37 +0000 (10:08 +0200)]
Merge pull request #35493 from mgfritch/orch-service-spec-validate

python-common: fix ServiceSpec validation

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoinstall-deps.sh: do not enable unavailable repos 35614/head
Kefu Chai [Wed, 17 Jun 2020 08:00:23 +0000 (16:00 +0800)]
install-deps.sh: do not enable unavailable repos

should be specific when enabling codeready-builder repos, there is
chance that some repos are just not available, while the required one
is. for instance, "codeready-builder-for-rhel-8-x86_64-eus-debug-rpms"
might not be available. and in that case, `install-deps.sh` just fails.

so in this change, only the required one is enabled. see also
https://fedoraproject.org/wiki/EPEL

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/volumes/nfs: use f-string for creating Exception 35609/head
Kefu Chai [Wed, 17 Jun 2020 04:34:17 +0000 (12:34 +0800)]
mgr/volumes/nfs: use f-string for creating Exception

for better understanding the reason of the failure

Signed-off-by: Kefu Chai <kchai@redhat.com>