]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agomgr/dashboard: Bypass current selection when calling CdTableAction::disableDesc(). 35419/head
Volker Theile [Tue, 23 Jun 2020 10:19:54 +0000 (12:19 +0200)]
mgr/dashboard: Bypass current selection when calling CdTableAction::disableDesc().

Signed-off-by: Volker Theile <vtheile@suse.com>
5 years agomgr/dashboard: Add host labels in UI
Volker Theile [Thu, 4 Jun 2020 13:57:34 +0000 (15:57 +0200)]
mgr/dashboard: Add host labels in UI

Fixes: https://tracker.ceph.com/issues/45897
Signed-off-by: Volker Theile <vtheile@suse.com>
s

s

s

5 years agoMerge pull request #35473 from aclamk/fix-45903-bluefs-log-growth
Kefu Chai [Wed, 24 Jun 2020 09:50:48 +0000 (17:50 +0800)]
Merge pull request #35473 from aclamk/fix-45903-bluefs-log-growth

os/bluestore: fix bluefs log growth.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #35572 from p-se/wip-pse-prometheus-mod-cache
Kefu Chai [Wed, 24 Jun 2020 03:32:16 +0000 (11:32 +0800)]
Merge pull request #35572 from p-se/wip-pse-prometheus-mod-cache

mgr/prometheus: improve cache

Reviewed-by: Boris Ranto <branto@redhat.com>
5 years agoMerge pull request #35155 from yuvalif/verify_wraparound_in_cls_q
Kefu Chai [Wed, 24 Jun 2020 03:30:27 +0000 (11:30 +0800)]
Merge pull request #35155 from yuvalif/verify_wraparound_in_cls_q

cls/queue: add unit test to verify behaviour when queue wraps

Reviewed-by: Pritha Srivastava <prsivas@redhat.com>
5 years agoMerge pull request #35674 from tchaikov/wip-qa-tox
Kefu Chai [Wed, 24 Jun 2020 03:28:51 +0000 (11:28 +0800)]
Merge pull request #35674 from tchaikov/wip-qa-tox

qa,cmake: enable flake8 and import-tasks tests

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #35580 from xiexingguo/wip-46024
Kefu Chai [Wed, 24 Jun 2020 03:17:57 +0000 (11:17 +0800)]
Merge pull request #35580 from xiexingguo/wip-46024

common, osd: add sanity checks around osd_scrub_max_preemptions

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
5 years agoMerge pull request #35662 from neha-ojha/wip-42820
Kefu Chai [Wed, 24 Jun 2020 03:13:57 +0000 (11:13 +0800)]
Merge pull request #35662 from neha-ojha/wip-42820

mgr/DaemonServer.cc: make 'config show' on fsid work

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #35656 from ifed01/wip-ifed-fix-spillover-again
Kefu Chai [Wed, 24 Jun 2020 03:12:07 +0000 (11:12 +0800)]
Merge pull request #35656 from ifed01/wip-ifed-fix-spillover-again

os/bluestore: fix spillover test case

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35416 from yanghonggang/master
Kefu Chai [Wed, 24 Jun 2020 03:09:49 +0000 (11:09 +0800)]
Merge pull request #35416 from yanghonggang/master

os/bluestore: add blkin traces to BlueStore

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #35689 from changchengx/options
Kefu Chai [Wed, 24 Jun 2020 03:08:03 +0000 (11:08 +0800)]
Merge pull request #35689 from changchengx/options

common: use template shortcuts like is_unsigned_v

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35660 from mgfritch/orch-yaml-safe-load
Kefu Chai [Wed, 24 Jun 2020 03:04:04 +0000 (11:04 +0800)]
Merge pull request #35660 from mgfritch/orch-yaml-safe-load

mgr/orch: read untrusted input using the yaml SafeLoader

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoqa/tasks/cephfs: flake8 fixes 35674/head
Kefu Chai [Fri, 19 Jun 2020 11:26:44 +0000 (19:26 +0800)]
qa/tasks/cephfs: flake8 fixes

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35621 from rzarzynski/wip-crimson-alien_memory
Kefu Chai [Wed, 24 Jun 2020 01:49:28 +0000 (09:49 +0800)]
Merge pull request #35621 from rzarzynski/wip-crimson-alien_memory

crimson: experimentally run AlienStore with Seastar's default allocator

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35727 from rzarzynski/wip-crimson-no-msgrv2.1
Kefu Chai [Wed, 24 Jun 2020 01:41:01 +0000 (09:41 +0800)]
Merge pull request #35727 from rzarzynski/wip-crimson-no-msgrv2.1

crimson/msgr: don't advertise the on-wire format v2.1.

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35719 from tchaikov/wip-cephadm-sans-el7
Kefu Chai [Wed, 24 Jun 2020 01:38:27 +0000 (09:38 +0800)]
Merge pull request #35719 from tchaikov/wip-cephadm-sans-el7

qa/suites/rados: do not test with el7

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #32855 from jdurgin/wip-message-cap
Neha Ojha [Wed, 24 Jun 2020 00:18:04 +0000 (17:18 -0700)]
Merge pull request #32855 from jdurgin/wip-message-cap

osd: make message cap option usable again

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
5 years agoMerge pull request #35732 from neha-ojha/wip-perf-distro
Yuri Weinstein [Tue, 23 Jun 2020 17:40:49 +0000 (10:40 -0700)]
Merge pull request #35732 from neha-ojha/wip-perf-distro

qa/suites/perf-basic: remove supported-all-distro

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoqa/suites/perf-basic: remove supported-all-distro 35732/head
Neha Ojha [Tue, 23 Jun 2020 17:00:15 +0000 (17:00 +0000)]
qa/suites/perf-basic: remove supported-all-distro

d4a04809fd7fd8aaf447005f76a1090db99d75c5 did not serve it's purpose, we
need to remove supported-all-distro to only run on ubuntu_latest

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35678 from sebastian-philipp/cephadm-availabe-ssh-set
Sebastian Wagner [Tue, 23 Jun 2020 15:49:28 +0000 (17:49 +0200)]
Merge pull request #35678 from sebastian-philipp/cephadm-availabe-ssh-set

mgr/cephadm: make `orch status` fail, if ssh key is not set

Reviewed-by: Ricardo Marques <rimarques@suse.com>
5 years agoMerge pull request #35645 from sebastian-philipp/python-common-remove-old-cephadm...
Sebastian Wagner [Tue, 23 Jun 2020 15:48:00 +0000 (17:48 +0200)]
Merge pull request #35645 from sebastian-philipp/python-common-remove-old-cephadm-orch.py

python-common: remove old `cephadm_orchestrator.py`

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #35242 from bk201/wip-38234
Lenz Grimmer [Tue, 23 Jun 2020 15:46:32 +0000 (17:46 +0200)]
Merge pull request #35242 from bk201/wip-38234

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoqa/tasks/cephfs/test_nfs.py: flake8 fixes
Kefu Chai [Sat, 20 Jun 2020 02:49:45 +0000 (10:49 +0800)]
qa/tasks/cephfs/test_nfs.py: flake8 fixes

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/workunits/mon: flake8 fixes
Kefu Chai [Sat, 20 Jun 2020 02:07:00 +0000 (10:07 +0800)]
qa/workunits/mon: flake8 fixes

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/standalone: flake8 fixes
Kefu Chai [Sat, 20 Jun 2020 02:05:42 +0000 (10:05 +0800)]
qa/standalone: flake8 fixes

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/vstart_runner: flake8 fixes
Kefu Chai [Fri, 19 Jun 2020 11:29:03 +0000 (19:29 +0800)]
qa/tasks/vstart_runner: flake8 fixes

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/ragweed: flake8 fixes
Kefu Chai [Fri, 19 Jun 2020 11:28:15 +0000 (19:28 +0800)]
qa/tasks/ragweed: flake8 fixes

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/mgr/test_orchestrator_cli: flake8 fixes
Kefu Chai [Fri, 19 Jun 2020 11:27:49 +0000 (19:27 +0800)]
qa/tasks/mgr/test_orchestrator_cli: flake8 fixes

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agotasks/mgr/dashboard: flake8 fixes
Kefu Chai [Fri, 19 Jun 2020 11:27:25 +0000 (19:27 +0800)]
tasks/mgr/dashboard: flake8 fixes

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks: flake8 fixes
Kefu Chai [Fri, 19 Jun 2020 11:26:10 +0000 (19:26 +0800)]
qa/tasks: flake8 fixes

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa: drop flake8-py2 test
Kefu Chai [Fri, 19 Jun 2020 10:44:57 +0000 (18:44 +0800)]
qa: drop flake8-py2 test

as we've dropped py2 support, no need to run flake8 with python2
anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocmake: add TOX_ENVS keyword to test with listed test envs
Kefu Chai [Fri, 19 Jun 2020 10:43:53 +0000 (18:43 +0800)]
cmake: add TOX_ENVS keyword to test with listed test envs

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #35702 into master
Patrick Donnelly [Tue, 23 Jun 2020 14:22:58 +0000 (07:22 -0700)]
Merge PR #35702 into master

* refs/pull/35702/head:
vstart: just use ganesha.nfsd that's in $PATH

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
5 years agoMerge PR #35724 into master
Patrick Donnelly [Tue, 23 Jun 2020 14:18:59 +0000 (07:18 -0700)]
Merge PR #35724 into master

* refs/pull/35724/head:
vstart: Add ip value to nfs mount information

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35646 into master
Patrick Donnelly [Tue, 23 Jun 2020 13:44:08 +0000 (06:44 -0700)]
Merge PR #35646 into master

* refs/pull/35646/head:
qa/tasks/cephfs/nfs: Poll for max 60 seconds to ensure removal of ganesha services
pybind/mgr/volumes/nfs: Remove unused cephfs module
mgr/volumes/nfs: Ignore if ganesha disconnects

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
5 years agocrimson/msgr: don't advertise the on-wire format v2.1. 35727/head
Radoslaw Zarzynski [Tue, 23 Jun 2020 12:53:35 +0000 (14:53 +0200)]
crimson/msgr: don't advertise the on-wire format v2.1.

We don't support it yet.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/os/alienstore: make the thread pool private. 35621/head
Radoslaw Zarzynski [Mon, 22 Jun 2020 16:30:25 +0000 (18:30 +0200)]
crimson/os/alienstore: make the thread pool private.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson, common: validate the BlueStore's config for AlienStore.
Radoslaw Zarzynski [Mon, 22 Jun 2020 15:37:53 +0000 (17:37 +0200)]
crimson, common: validate the BlueStore's config for AlienStore.

This commit bases on the idea from Kefu Chai. Thanks!

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agovstart: Add ip value to nfs mount information 35724/head
Varsha Rao [Mon, 22 Jun 2020 18:38:50 +0000 (00:08 +0530)]
vstart: Add ip value to nfs mount information

Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #35668 from bk201/wip-46105
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>
5 years agoqa/suites/rados/thrash-old-clients: disable verify_ceph_hash 35719/head
Kefu Chai [Tue, 23 Jun 2020 07:40:30 +0000 (15:40 +0800)]
qa/suites/rados/thrash-old-clients: disable verify_ceph_hash

in this test, older ceph clients are installed on el7, but the ceph
cluster is deployed using cephadm, which in turn pulls ceph container
images built using the ceph being tested on el8.

since we've dropped the build of master on el7, there is no need to
verify if ceph package is available if cephadm is used for deploying the
cluster.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35653 from ideepika/fix-cpatch
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>
5 years agocommon/Thread: configure Seastar's memory allocator.
Radoslaw Zarzynski [Tue, 16 Jun 2020 13:25:10 +0000 (15:25 +0200)]
common/Thread: configure Seastar's memory allocator.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoos/bluestore: configure Seastar's allocator for RocksDB's threads.
Radoslaw Zarzynski [Tue, 16 Jun 2020 13:09:37 +0000 (15:09 +0200)]
os/bluestore: configure Seastar's allocator for RocksDB's threads.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/os/alienstore: configure Seastar's memory allocator.
Radoslaw Zarzynski [Mon, 15 Jun 2020 15:32:10 +0000 (17:32 +0200)]
crimson/os/alienstore: configure Seastar's memory allocator.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoRevert "crimson/os: disable alienized bluestore if using seastar allocator"
Radoslaw Zarzynski [Wed, 17 Jun 2020 16:35:47 +0000 (18:35 +0200)]
Revert "crimson/os: disable alienized bluestore if using seastar allocator"

This reverts commit db84151ed728f6951f891690e3bb704139e2ed9a.
It's not necessary as further commits will bring experimental
(and restricted) support for running AlienStore on top of the
default Seastar's allocator.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocmake: clean-up the alienstore's CMakeLists.txt.
Radoslaw Zarzynski [Mon, 22 Jun 2020 14:43:17 +0000 (16:43 +0200)]
cmake: clean-up the alienstore's CMakeLists.txt.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocmake: restrict crush_objs in libcrimson-alienstore.a.
Radoslaw Zarzynski [Mon, 22 Jun 2020 14:24:29 +0000 (16:24 +0200)]
cmake: restrict crush_objs in libcrimson-alienstore.a.

The problem this commit deals with is that alienized
set of some `src/common` has included all `crush_srcs`:

  ```
  set(crush_srcs
    builder.c
    mapper.c
    crush.c
    hash.c
    CrushWrapper.cc
    CrushCompiler.cc
    CrushTester.cc
    CrushLocation.cc)
  ```

while only `CrushLocation.cc` has been altered with
the `TOPNSPC` macro -- other files lack the namespace
differentiation. This leads to a conflict with
`libcrimson-common.a` which includes the same files:

  ```
  add_library(crimson-common STATIC
  ...
    ${PROJECT_SOURCE_DIR}/src/crush/builder.c
    ${PROJECT_SOURCE_DIR}/src/crush/mapper.c
    ${PROJECT_SOURCE_DIR}/src/crush/crush.c
    ${PROJECT_SOURCE_DIR}/src/crush/hash.c
    ${PROJECT_SOURCE_DIR}/src/crush/CrushWrapper.cc
    ${PROJECT_SOURCE_DIR}/src/crush/CrushCompiler.cc
    ${PROJECT_SOURCE_DIR}/src/crush/CrushTester.cc
    ${PROJECT_SOURCE_DIR}/src/crush/CrushLocation.cc
  ```

Another, potential problem is linking with a variant
built `WITH_ALIEN` setting.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocmake: move buffer_seastar.cc into libcrimson-common.a.
Radoslaw Zarzynski [Mon, 22 Jun 2020 14:18:38 +0000 (16:18 +0200)]
cmake: move buffer_seastar.cc into libcrimson-common.a.

Before the commit it was a part of libcrimson.a. However, this
assignment misses the dependency MonMac.cc has towards it:

  ```
  ../../../lib/libcrimson-common.a(MonMap.cc.o): In function `operator()':
  /work/ceph-2/src/mon/MonMap.cc:671: undefined reference to `ceph::buffer::v15_2_0::create(seastar::temporary_buffer<char>&&)'
  /work/ceph-2/src/mon/MonMap.cc:671: undefined reference to `ceph::buffer::v15_2_0::create(seastar::temporary_buffer<char>&&)'
  ```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoqa/suites/rados: do not test with el7
Kefu Chai [Tue, 23 Jun 2020 05:51:09 +0000 (13:51 +0800)]
qa/suites/rados: do not test with el7

since we stopped building master on el7, there is no need to test
cephadm with el7 anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35676 from ishanrai05/autocomplete-background
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>
5 years agoMerge PR #35627 into master
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>
5 years agoRevert "ceph_osd: remove client message cap limit" 32855/head
Josh Durgin [Sat, 25 Jan 2020 00:36:56 +0000 (19:36 -0500)]
Revert "ceph_osd: remove client message cap limit"

This reverts commit 45d5ac3ea040d6a7213b63d1c582e3a1bbaae8d4.

Without a msg throttler, we can't change osd_client_message_cap cap.
The throttler is designed to work with 0 as a max, so change the
default to 0 to disable it by default instead.

This doesn't affect the default behavior, it only lets us use this
option again.

Fixes: https://tracker.ceph.com/issues/46143
Conflicts:
src/ceph_osd.cc - new style of gconf() access

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35635 from zdover23/wip-doc-man-deploy-mon-bootstrapping-2020-jun
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

5 years agoMerge pull request #35595 from jan--f/c-v-fix-lvm-functests
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

5 years agomgr/DaemonServer.cc: make 'config show' on fsid work 35662/head
Neha Ojha [Thu, 18 Jun 2020 21:59:40 +0000 (21:59 +0000)]
mgr/DaemonServer.cc: make 'config show' on fsid work

This follows 5661dd75efd48251b7f433b1ffe01c9c52906e96, which added special
handling for "config get" to work on fsid.

Fixes: https://tracker.ceph.com/issues/46123
Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35027 from yuvalif/add_doxygen_target
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>
5 years agomgr/dashboard: fix autocomplete input backgrounds in chrome and firefox 35676/head
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>
5 years agomgr/prometheus: enable mypy type checking for prometheus module 35572/head
Patrick Seidensal [Tue, 9 Jun 2020 12:46:34 +0000 (14:46 +0200)]
mgr/prometheus: enable mypy type checking for prometheus module

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agoMerge pull request #35688 from tchaikov/wip-doc-sphinx
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>
5 years agovstart: just use ganesha.nfsd that's in $PATH 35702/head
Jeff Layton [Mon, 22 Jun 2020 12:31:46 +0000 (08:31 -0400)]
vstart: just use ganesha.nfsd that's in $PATH

In an earlier patch, I added a --ganesha-path option, but that left out
ganesha-rados-grace, which also could be in an alternate path. Instead,
just change vstart to run whatever ganesha.nfsd it finds in $PATH. We
already do that for ganesha-rados-grace so it should be fine to do that
for ganesha.nfsd as well.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge pull request #35698 from tchaikov/wip-man-print-file-which-is-non-ascii
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>
5 years agoMerge pull request #35701 from tchaikov/wip-doc-sans-utf8
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>
5 years agodoc/man/8/ceph-objectstore-tool.rst: drop UTF-8 chars 35701/head
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>
5 years agoman/conf.py: print out path to file which contains undecodable chars 35698/head
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>
5 years agoMerge pull request #35640 from sebastian-philipp/doc-cephadm-adopt-placment
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>
5 years agoMerge pull request #35587 from sebastian-philipp/doc-orch-stateless-cli
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>
5 years agomgr/prometheus: improve Prometheus module cache
Patrick Seidensal [Tue, 9 Jun 2020 10:35:00 +0000 (12:35 +0200)]
mgr/prometheus: improve Prometheus module cache

Improve cache by running requests in a thread and prevent multiple
requests to Ceph from multiple sources (e.g. Prometheus instances) which
increase load on the manager.

Fixes: https://tracker.ceph.com/issues/45554
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agoceph-volume: fix lvm functional tests 35595/head
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>
5 years agoqa/tasks/cephfs/nfs: Poll for max 60 seconds to ensure removal of ganesha services 35646/head
Varsha Rao [Fri, 19 Jun 2020 09:00:22 +0000 (14:30 +0530)]
qa/tasks/cephfs/nfs: Poll for max 60 seconds to ensure removal of ganesha services

Fixes: https://tracker.ceph.com/issues/46104
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agopybind/mgr/volumes/nfs: Remove unused cephfs module
Varsha Rao [Fri, 19 Jun 2020 17:55:53 +0000 (23:25 +0530)]
pybind/mgr/volumes/nfs: Remove unused cephfs module

Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agomgr/volumes/nfs: Ignore if ganesha disconnects
Varsha Rao [Thu, 18 Jun 2020 08:47:11 +0000 (14:17 +0530)]
mgr/volumes/nfs: Ignore if ganesha disconnects

Fixes: https://tracker.ceph.com/issues/46046
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #35675 from smithfarm/wip-doc-backport-labelling
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>
5 years agodoc/install: add sudo to command 35635/head
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>
5 years agoMerge pull request #35691 from bk201/wip-46130
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>
5 years agoMerge pull request #35682 from tchaikov/wip-cmake-cxx
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>
5 years agodoc/man: fix ceph-objectstore-tool description 35691/head
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>
5 years agodoc/conf.py: s/add_javascript/add_js_file/ 35688/head
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>
5 years agoadmin/doc-requirements: pin sphinx-autodoc-typehints to 1.10.3
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>
5 years agocommon: short variable template with suffix_v/_t 35689/head
Changcheng Liu [Mon, 22 Jun 2020 01:39:59 +0000 (09:39 +0800)]
common: short variable template with suffix_v/_t

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
5 years agocommon: typo fix for readability
Changcheng Liu [Mon, 22 Jun 2020 01:33:05 +0000 (09:33 +0800)]
common: typo fix for readability

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
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 agocmake: only apply C++ compile options to C++ language 35682/head
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>
5 years agoos/bluestore: add blkin traces to BlueStore 35416/head
Yang Honggang [Fri, 19 Jun 2020 16:17:40 +0000 (00:17 +0800)]
os/bluestore: add blkin traces to BlueStore

Signed-off-by: Yang Honggang <yanghonggang@kuaishou.com>
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/cephadm: make `orch status` fail, if ssh key is not set 35678/head
Sebastian Wagner [Fri, 19 Jun 2020 15:50:04 +0000 (17:50 +0200)]
mgr/cephadm: make `orch status` fail, if ssh key is not set

ceph-salt relies on the output of `orch status` to determine the
end of the bootstrap process.

Signed-off-by: Sebastian Wagner <sebastian.wagner@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>