]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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>
5 years agocephfs_features: add metric collection feature support 35608/head
Xiubo Li [Wed, 17 Jun 2020 02:59:22 +0000 (22:59 -0400)]
cephfs_features: add metric collection feature support

In client side we need to known whether mds support the metric
collection or not, or when mds server receieves the metric message
from client side and if it couldn't recognise, the mgr will close
the socket connection directly.

Fixes: https://tracker.ceph.com/issues/46041
Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agoMerge PR #32288 into master
Patrick Donnelly [Wed, 17 Jun 2020 02:26:52 +0000 (19:26 -0700)]
Merge PR #32288 into master

* refs/pull/32288/head:
test_cephfs_shell: remove test_every_shell_cmd_at_invocation
test_cephfs_shell: catch specific exception instead of catching all
cephfs-shell: set return value before exiting
test_cephfs_shell: re-arrange TestCephFSShell's methods
cephfs-shell: re-arrange code under __main__
test_cephfs_shell: add new test for shell cmd at invocation
cephfs-shell: launch shell only if there are no args following

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoosd/PeeringState: fix history.same_interval_since of merge target again 35558/head
xie xingguo [Sat, 13 Jun 2020 07:28:31 +0000 (15:28 +0800)]
osd/PeeringState: fix history.same_interval_since of merge target again

The symptom looks much like we see in
https://tracker.ceph.com/issues/37654.

The root cause is that both merge source and target could be
fabricated PGs (aka placeholders), hence merge target's
same_interval_since could remain 0 after merge.

Fix by adjusting history.same_interval_since to last_epoch_clean
reported by these PGs were found to be ready for merge.
This peer is going to be ignored/purged by primary anyway later
when peering is done.

Fixes: https://tracker.ceph.com/issues/45991
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
5 years agoMerge pull request #35307 from aclamk/wip-rocksdb-sharding-dump
Kefu Chai [Wed, 17 Jun 2020 01:06:46 +0000 (09:06 +0800)]
Merge pull request #35307 from aclamk/wip-rocksdb-sharding-dump

kv/RocksDBStore: Fixes dump of batch commited to rocksdb

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
5 years agoMerge pull request #35562 from tchaikov/wip-drop-copr-repo
Kefu Chai [Wed, 17 Jun 2020 01:01:38 +0000 (09:01 +0800)]
Merge pull request #35562 from tchaikov/wip-drop-copr-repo

install-deps.sh: drop ktdreyer/ceph-el8 copr repo

Reviewed-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #35602 from tchaikov/wip-vstart-ganesha-comment
Kefu Chai [Wed, 17 Jun 2020 01:00:01 +0000 (09:00 +0800)]
Merge pull request #35602 from tchaikov/wip-vstart-ganesha-comment

vstart.sh: update comment to use ganesha from CentOS Storage SIG

Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agotest: flush_pg_stats() ignore OSDs that don't respond to getting sequence 35514/head
David Zafman [Tue, 16 Jun 2020 23:28:58 +0000 (16:28 -0700)]
test: flush_pg_stats() ignore OSDs that don't respond to getting sequence

This eliminates bogus errors in the logs and returned from flush_pg_stats()

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agomgr: Warn when too many reads are repaired on an OSD
David Zafman [Wed, 10 Jun 2020 02:24:00 +0000 (19:24 -0700)]
mgr: Warn when too many reads are repaired on an OSD

Include test case
Configurable by setting mon_osd_warn_num_repaired (default 10)
Ignore new health warning with random eio injection test

Fixes: https://tracker.ceph.com/issues/41564
Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoMerge pull request #35510 from mgfritch/cephadm-bootstrap-timeout
Sebastian Wagner [Tue, 16 Jun 2020 14:45:11 +0000 (16:45 +0200)]
Merge pull request #35510 from mgfritch/cephadm-bootstrap-timeout

cephadm: increase is_available timeout 30s -> 60s

5 years agoMerge pull request #35585 from tchaikov/wip-test-mgr-dashboard-smoke-random-port
Kefu Chai [Tue, 16 Jun 2020 14:34:59 +0000 (22:34 +0800)]
Merge pull request #35585 from tchaikov/wip-test-mgr-dashboard-smoke-random-port

test/mgr/mgr-dashboard-smoke: listen on random ports

Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agotest/librbd: make TestLibRBD.QuiesceWatchError pass 35329/head
Mykola Golub [Tue, 16 Jun 2020 13:43:23 +0000 (14:43 +0100)]
test/librbd: make TestLibRBD.QuiesceWatchError pass

when a duplicate quiesce notification is received

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #35366 from tspmelo/wip-npm-20-05
Lenz Grimmer [Tue, 16 Jun 2020 12:55:15 +0000 (14:55 +0200)]
Merge pull request #35366 from tspmelo/wip-npm-20-05

mgr/dashboard: Update npm packages

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agoMerge pull request #35557 from dillaman/wip-librbd-asio
Mykola Golub [Tue, 16 Jun 2020 11:42:43 +0000 (14:42 +0300)]
Merge pull request #35557 from dillaman/wip-librbd-asio

librbd: initial boost asio integration

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #35412 from sebastian-philipp/doc-cephadm-concepts-fqdn
Sebastian Wagner [Tue, 16 Jun 2020 11:19:28 +0000 (13:19 +0200)]
Merge pull request #35412 from sebastian-philipp/doc-cephadm-concepts-fqdn

doc/cephadm: Add chapter about FQDNs

Reviewed-by: Daniel-Pivonka <dpivonka@redhat.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
5 years agodoc/cephadm: document pool requirement for NFS-Ganesha service 35581/head
Kiefer Chang [Tue, 16 Jun 2020 03:33:36 +0000 (11:33 +0800)]
doc/cephadm: document pool requirement for NFS-Ganesha service

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agovstart.sh: update comment to use ganesha from CentOS Storage SIG 35602/head
Kefu Chai [Tue, 16 Jun 2020 09:03:13 +0000 (17:03 +0800)]
vstart.sh: update comment to use ganesha from CentOS Storage SIG

see https://download.nfs-ganesha.org/3/LATEST/RHEL/

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agotest/mgr/mgr-dashboard-smoke: listen on random ports 35585/head
Kefu Chai [Tue, 16 Jun 2020 08:28:01 +0000 (16:28 +0800)]
test/mgr/mgr-dashboard-smoke: listen on random ports

in hope to reduce the chance to listen an already used port while
running multiple "make check" instances in parallel.

See-also: http://tracker.ceph.com/issues/36737
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/dashboard: use bootstrap variables for colors 35225/head
Ishan Rai [Mon, 25 May 2020 06:53:12 +0000 (06:53 +0000)]
mgr/dashboard: use bootstrap variables for colors

Fixes: https://tracker.ceph.com/issues/38891
Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
5 years agomgr/dashboard: Use a unified quoting style 35466/head
Ishan Rai [Mon, 8 Jun 2020 06:53:57 +0000 (06:53 +0000)]
mgr/dashboard: Use a unified quoting style

Use single quotes across all UI elements such as notifications

Fixes: https://tracker.ceph.com/issues/36070
Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
5 years agoMerge pull request #35524 from sebastian-philipp/cephadm-rm-container-storage
Kefu Chai [Tue, 16 Jun 2020 06:44:01 +0000 (14:44 +0800)]
Merge pull request #35524 from sebastian-philipp/cephadm-rm-container-storage

cephadm: call `podman rm --storage`

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35317 from dsavineau/doc_radosgw_key_typo
Kefu Chai [Tue, 16 Jun 2020 01:41:27 +0000 (09:41 +0800)]
Merge pull request #35317 from dsavineau/doc_radosgw_key_typo

doc/radosgw/admin: fix key subuser typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #35541 into master
Patrick Donnelly [Mon, 15 Jun 2020 23:41:43 +0000 (16:41 -0700)]
Merge PR #35541 into master

* refs/pull/35541/head:
doc/dev: mention -l, -e and -n among useful options
doc/dev: add info on how to retest QA changes without rebuilding

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agocephadm: skip any invalid fsid(s) during infer 35578/head
Michael Fritch [Mon, 15 Jun 2020 21:22:23 +0000 (15:22 -0600)]
cephadm: skip any invalid fsid(s) during infer

Fixes: https://tracker.ceph.com/issues/45999
Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agocephadm: sort the list of inferred fsids
Michael Fritch [Mon, 15 Jun 2020 21:22:08 +0000 (15:22 -0600)]
cephadm: sort the list of inferred fsids

$ cephadm shell
ERROR: Cannot infer an fsid, one must be specified: ['1d5df33f-eb94-4a4f-b192-1d5e770ed0e7', 'unknown']
$ cephadm shell
ERROR: Cannot infer an fsid, one must be specified: ['unknown', '1d5df33f-eb94-4a4f-b192-1d5e770ed0e7']

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agocephadm: UX: Change error message when 'orch host add <host>' fails 35547/head
Adam King [Thu, 11 Jun 2020 18:03:24 +0000 (14:03 -0400)]
cephadm: UX: Change error message when 'orch host add <host>' fails

Instead of printing out a traceback if adding the host fails
during bootstrapping process, should now print error message
telling user host failed to be added

Fixes: https://tracker.ceph.com/issues/45097
Signed-off-by: Adam King <adking@redhat.com>
5 years agodoc/cephadm: Add chapter about FQDNs 35412/head
Sebastian Wagner [Fri, 5 Jun 2020 10:42:54 +0000 (12:42 +0200)]
doc/cephadm: Add chapter about FQDNs

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/dashboard: Update npm packages 35366/head
Tiago Melo [Wed, 13 May 2020 14:47:02 +0000 (14:47 +0000)]
mgr/dashboard: Update npm packages

Fixes: https://tracker.ceph.com/issues/45949
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #35561 from tchaikov/wip-crimson-disable-bluestore-with-allocator
Kefu Chai [Mon, 15 Jun 2020 12:59:06 +0000 (20:59 +0800)]
Merge pull request #35561 from tchaikov/wip-crimson-disable-bluestore-with-allocator

crimson/os: disable alienized bluestore if using seastar allocator

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agomgr/cephadm: annotate scheduling code with comments 35567/head
Joshua Schmid [Mon, 15 Jun 2020 10:13:25 +0000 (12:13 +0200)]
mgr/cephadm: annotate scheduling code with comments

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoMerge pull request #35472 from varshar16/wip-vstart-stop-cephadm
Sebastian Wagner [Mon, 15 Jun 2020 09:21:30 +0000 (11:21 +0200)]
Merge pull request #35472 from varshar16/wip-vstart-stop-cephadm

stop.sh: Kill cephadm deployed daemons

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agocephadm: call `podman rm --storage` 35524/head
Sebastian Wagner [Wed, 10 Jun 2020 12:20:20 +0000 (14:20 +0200)]
cephadm: call `podman rm --storage`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>