Commit Graph

112412 Commits

Author SHA1 Message Date
Abhishek Lekshmanan
345eca3388 doc: releases: octopus: add v15.2.3 release notes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-06-24 10:56:17 +02:00
Abhishek Lekshmanan
7782387831 doc: releases: add v15.2.2 release notes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-06-24 10:51:24 +02:00
Kefu Chai
e39c79ce3e
Merge pull request #35572 from p-se/wip-pse-prometheus-mod-cache
mgr/prometheus: improve cache

Reviewed-by: Boris Ranto <branto@redhat.com>
2020-06-24 11:32:16 +08:00
Kefu Chai
a5ce32518d
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>
2020-06-24 11:30:27 +08:00
Kefu Chai
bd804905ac
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>
2020-06-24 11:28:51 +08:00
Kefu Chai
7ab1abb312
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>
2020-06-24 11:17:57 +08:00
Kefu Chai
850e7d021d
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>
2020-06-24 11:13:57 +08:00
Kefu Chai
82386013b2
Merge pull request #35656 from ifed01/wip-ifed-fix-spillover-again
os/bluestore: fix spillover test case

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-06-24 11:12:07 +08:00
Kefu Chai
289d43f400
Merge pull request #35416 from yanghonggang/master
os/bluestore: add blkin traces to BlueStore

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-06-24 11:09:49 +08:00
Kefu Chai
4fe3d2574b
Merge pull request #35689 from changchengx/options
common: use template shortcuts like is_unsigned_v

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-06-24 11:08:03 +08:00
Kefu Chai
dc12f5f4db
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>
2020-06-24 11:04:04 +08:00
Kefu Chai
21ad5bf2eb qa/tasks/cephfs: flake8 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-24 10:12:11 +08:00
Kefu Chai
f7251f844e
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>
2020-06-24 09:49:28 +08:00
Kefu Chai
5a6b53c996
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>
2020-06-24 09:41:01 +08:00
Kefu Chai
68e1db0625
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>
2020-06-24 09:38:27 +08:00
Neha Ojha
405d1376a1
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>
2020-06-23 17:18:04 -07:00
Yuri Weinstein
e6da9390ed
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>
2020-06-23 10:40:49 -07:00
Neha Ojha
5c0336f1be qa/suites/perf-basic: remove supported-all-distro
d4a04809fd 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>
2020-06-23 17:00:15 +00:00
Sebastian Wagner
80b15fa580
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>
2020-06-23 17:49:28 +02:00
Sebastian Wagner
563cd2d36e
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>
2020-06-23 17:48:00 +02:00
Lenz Grimmer
7387e4efd6
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>
2020-06-23 17:46:32 +02:00
Kefu Chai
981a7cc923 qa/tasks/cephfs/test_nfs.py: flake8 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-23 23:01:27 +08:00
Kefu Chai
fdcc3a89c7 qa/workunits/mon: flake8 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-23 23:01:27 +08:00
Kefu Chai
48f0e02d76 qa/standalone: flake8 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-23 23:01:27 +08:00
Kefu Chai
663d64bd3b qa/tasks/vstart_runner: flake8 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-23 23:01:27 +08:00
Kefu Chai
fe6c9b5487 qa/tasks/ragweed: flake8 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-23 23:01:27 +08:00
Kefu Chai
2c2b5e0c63 qa/tasks/mgr/test_orchestrator_cli: flake8 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-23 23:01:27 +08:00
Kefu Chai
04290960f4 tasks/mgr/dashboard: flake8 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-23 23:01:27 +08:00
Kefu Chai
2fa726b88c qa/tasks: flake8 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-23 23:00:56 +08:00
Kefu Chai
c02748c8df 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>
2020-06-23 23:00:56 +08:00
Kefu Chai
a7beb90eb0 cmake: add TOX_ENVS keyword to test with listed test envs
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-23 23:00:56 +08:00
Patrick Donnelly
015a2e66a6
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>
2020-06-23 07:22:58 -07:00
Patrick Donnelly
1182ee4097
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>
2020-06-23 07:18:59 -07:00
Patrick Donnelly
0e1dc163db
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>
2020-06-23 06:44:08 -07:00
Radoslaw Zarzynski
a74948bc50 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>
2020-06-23 14:54:31 +02:00
Radoslaw Zarzynski
e8a5ffdf50 crimson/os/alienstore: make the thread pool private.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-06-23 14:51:09 +02:00
Radoslaw Zarzynski
ac7e867e44 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>
2020-06-23 14:51:09 +02:00
Varsha Rao
02d2097e67 vstart: Add ip value to nfs mount information
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-23 16:40:59 +05:30
Lenz Grimmer
58ee1e8065
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>
2020-06-23 12:09:38 +02:00
Kefu Chai
743edd03fd 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>
2020-06-23 17:18:08 +08:00
Sebastian Wagner
b8ea9b0b8f
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>
2020-06-23 11:01:55 +02:00
Radoslaw Zarzynski
b55919071f common/Thread: configure Seastar's memory allocator.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-06-23 10:16:31 +02:00
Radoslaw Zarzynski
aadc52e971 os/bluestore: configure Seastar's allocator for RocksDB's threads.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-06-23 10:16:31 +02:00
Radoslaw Zarzynski
f7715b86ef crimson/os/alienstore: configure Seastar's memory allocator.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-06-23 10:16:31 +02:00
Radoslaw Zarzynski
0ad46affde Revert "crimson/os: disable alienized bluestore if using seastar allocator"
This reverts commit db84151ed7.
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>
2020-06-23 10:16:31 +02:00
Radoslaw Zarzynski
490b6322fb cmake: clean-up the alienstore's CMakeLists.txt.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-06-23 10:16:24 +02:00
Radoslaw Zarzynski
ea039aa16e 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>
2020-06-23 10:16:14 +02:00
Radoslaw Zarzynski
2dab54a03b 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>
2020-06-23 10:16:05 +02:00
Kefu Chai
424396da30 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>
2020-06-23 15:39:41 +08:00
Laura Paduano
daef762649
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>
2020-06-23 07:36:40 +02:00