]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoceph.spec.in: Requires python3-scikit-learn only on fedora and suse 35767/head
Kefu Chai [Thu, 25 Jun 2020 10:04:40 +0000 (18:04 +0800)]
ceph.spec.in: Requires python3-scikit-learn only on fedora and suse

so far, python3-scikit-learn is not packaged by RHEL8/CentOS8 or EPEL8.

see
https://src.fedoraproject.org/rpms/python-scikit-learn/branches?branchname=master

this change should address the regression introduced by
d13b441cdb63e37ad3b8ba36cbd3edc33b1e4bbd

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35648 from ideepika/fix-44948
Kefu Chai [Thu, 25 Jun 2020 08:10:05 +0000 (16:10 +0800)]
Merge pull request #35648 from ideepika/fix-44948

ceph.spec: fix mgr diskprediction_local dependency

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35722 from ideepika/drop-el7
Kefu Chai [Thu, 25 Jun 2020 08:08:53 +0000 (16:08 +0800)]
Merge pull request #35722 from ideepika/drop-el7

ceph.spec: drop support for el7 rpm builds

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35534 from varshar16/wip-doc-fix-SyntaxWarning
Kefu Chai [Thu, 25 Jun 2020 08:02:52 +0000 (16:02 +0800)]
Merge pull request #35534 from varshar16/wip-doc-fix-SyntaxWarning

doc/scripts/gen_state_diagram.py: Fix literal comparison syntax warnings

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35677 from sebastian-philipp/_refresh_hosts_and_daemons_forall_hosts
Sebastian Wagner [Thu, 25 Jun 2020 07:35:29 +0000 (09:35 +0200)]
Merge pull request #35677 from sebastian-philipp/_refresh_hosts_and_daemons_forall_hosts

mgr/cephadm: speedup _refresh_hosts_and_daemons by 10x

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #30592 into master
Patrick Donnelly [Thu, 25 Jun 2020 01:24:17 +0000 (18:24 -0700)]
Merge PR #30592 into master

* refs/pull/30592/head:
qa: fix flake8 warnings
doc: add documentation for new ephemeral pinning feature
mds: enable ephemeral pinning by default
pybind/mgr/volumes: wire up pinning subvolumes/subvolumegroups
qa: adapt tests for empty pinned dir export
qa: break export pin tests into discrete tests
qa: add more ephemeral pin tests
qa: add tests for ephemeral pinning
mds: add maximum random ephemeral pin percentage
mds: replicate random pin state
mds: finish implementation of ephemeral pins
mds: do string equality comparison
mds: add ephemeral pinning for subtrees
mds: trim pinned and empty subtrees
mds: refactor remove_subtree
mds: allow export of pinned directory if empty
mds: reduce subtree processing verbosity
mds: skip export of empty directories
mds: remove frozen export pin from queue
mds: simplify for loop construction
mds: add debug messages for export queue processing
qa: refactor _wait_subtree and _get_subtree
qa: use status from wait_for_daemons
qa: quietly print json output from asok commands

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #35736 from ivancich/wip-orphan-list-timestamp-fix
J. Eric Ivancich [Wed, 24 Jun 2020 23:21:22 +0000 (19:21 -0400)]
Merge pull request #35736 from ivancich/wip-orphan-list-timestamp-fix

rgw: orphan-list timestamp fix

Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
5 years agoqa: fix flake8 warnings 30592/head
Patrick Donnelly [Wed, 24 Jun 2020 17:26:16 +0000 (10:26 -0700)]
qa: fix flake8 warnings

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agodoc: add documentation for new ephemeral pinning feature
Patrick Donnelly [Tue, 9 Jun 2020 22:30:28 +0000 (15:30 -0700)]
doc: add documentation for new ephemeral pinning feature

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: enable ephemeral pinning by default
Patrick Donnelly [Sat, 7 Mar 2020 03:08:32 +0000 (19:08 -0800)]
mds: enable ephemeral pinning by default

This feature is enabled by default for Pacific. This commit will be
dropped in the backport to Octopus.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agopybind/mgr/volumes: wire up pinning subvolumes/subvolumegroups
Patrick Donnelly [Wed, 10 Jun 2020 04:14:23 +0000 (21:14 -0700)]
pybind/mgr/volumes: wire up pinning subvolumes/subvolumegroups

Fixes: https://tracker.ceph.com/issues/41541
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: adapt tests for empty pinned dir export
Patrick Donnelly [Fri, 19 Jun 2020 20:52:22 +0000 (13:52 -0700)]
qa: adapt tests for empty pinned dir export

Previously, empty pinned directories were not migrated.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: break export pin tests into discrete tests
Patrick Donnelly [Mon, 15 Jun 2020 16:40:55 +0000 (09:40 -0700)]
qa: break export pin tests into discrete tests

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: add more ephemeral pin tests
Patrick Donnelly [Tue, 9 Jun 2020 22:28:21 +0000 (15:28 -0700)]
qa: add more ephemeral pin tests

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: add tests for ephemeral pinning
Sidharth Anupkrishnan [Wed, 19 Feb 2020 14:28:15 +0000 (19:58 +0530)]
qa: add tests for ephemeral pinning

Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
5 years agomds: add maximum random ephemeral pin percentage
Patrick Donnelly [Tue, 9 Jun 2020 23:49:20 +0000 (16:49 -0700)]
mds: add maximum random ephemeral pin percentage

This new config is designed to prevent creating too many subtrees from a
random ephemeral pinning policy.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: replicate random pin state
Patrick Donnelly [Tue, 9 Jun 2020 22:15:00 +0000 (15:15 -0700)]
mds: replicate random pin state

This is slightly evil in its current form. The MDS should use locks to
transmit state changes but right now it's just set when the CInode is
replicated. This replication of this state marker is necessary for
failover situations where we want the randomly pinned subtree to remain
pinned across failovers.

Note: this problem does not exist for the ephemeral distributed pins
because simple knowledge of the immediate parent's setting (which is
replicated normally) is sufficient to determine if the CInode is
ephemerally distributed. Ditto for regular export pins.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: finish implementation of ephemeral pins
Patrick Donnelly [Sat, 7 Mar 2020 03:20:58 +0000 (19:20 -0800)]
mds: finish implementation of ephemeral pins

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: do string equality comparison
Patrick Donnelly [Sat, 7 Mar 2020 03:09:50 +0000 (19:09 -0800)]
mds: do string equality comparison

The string::find method would return true for ceph.dir.pin even for the
other ephemeral pin xattr names. For this reason, it was never possible
to actually turn ephemeral pins on!

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: add ephemeral pinning for subtrees
Sidharth Anupkrishnan [Tue, 14 Jan 2020 13:35:47 +0000 (19:05 +0530)]
mds: add ephemeral pinning for subtrees

This PR introduces inode xattrs export_ephemeral_random and
export_ephemeral_distributed which enables two different metadata
distribution strategies - the first being suitable for a more depthwise
scaling of metadata (height of the tree keeps increasing) and the latter
for horizontal scaling (many subtrees under a single parent).
export_ephemeral_distributed applies is not hierarchical. Any direct
descendant directory (i.e. a child directory) has an ephemeral export
pin applied to it according to a consistent hash of the child directory
inode number. export_ephemeral_distributed is hierarchical like
"export_pin". Any CDir loaded into the cache may be ephemerally pinned
to a random rank. Like "export_ephemeral_distributed", the random rank
is determined by a consistent hash.

The metadata distribution strategies are facilitated by using John
Lamping and Eric Veach's Jump Consistent Hashing as the consistent hash
algorithm. This hashing algorithm eliminates the need to store the data
structures representing the consistent hash cluster state and performs
as well as Akamai's original implementation providing a fairly uniform
distribution. This algorithm only works for distributed systems with
numbered buckets (nodes) arranged in ascending order and cluster resizes
does not produce any holes in the arrangement of nodes i.e (0, 1, 2, 3)
--[removing node 1]--> (0, 1, 2). CephFS satisfies these conditions as
the MDSs are arranged as numbered ranks and cluster modifications does
not produce any holes in the resulting arrangement of ranks.

Fixes: https://tracker.ceph.com/issues/41302
Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: trim pinned and empty subtrees
Patrick Donnelly [Fri, 5 Jun 2020 02:00:04 +0000 (19:00 -0700)]
mds: trim pinned and empty subtrees

Before export (and ephemeral) pinned subtrees are stuck in cache
forever.

Add qa test for checking export pinned directories can be trimmed.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: refactor remove_subtree
Patrick Donnelly [Fri, 5 Jun 2020 01:58:10 +0000 (18:58 -0700)]
mds: refactor remove_subtree

Search each map only once as necessary.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: allow export of pinned directory if empty
Patrick Donnelly [Mon, 8 Jun 2020 23:50:44 +0000 (16:50 -0700)]
mds: allow export of pinned directory if empty

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: reduce subtree processing verbosity
Patrick Donnelly [Wed, 10 Jun 2020 16:20:25 +0000 (09:20 -0700)]
mds: reduce subtree processing verbosity

and some mild loop refactoring.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: skip export of empty directories
Patrick Donnelly [Sat, 7 Mar 2020 03:19:49 +0000 (19:19 -0800)]
mds: skip export of empty directories

Note: empty as in no cached sub-entries.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: remove frozen export pin from queue
Patrick Donnelly [Sat, 7 Mar 2020 03:15:03 +0000 (19:15 -0800)]
mds: remove frozen export pin from queue

The export already belongs on the node id so there's no need to keep it
in the queue.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: simplify for loop construction
Patrick Donnelly [Sat, 7 Mar 2020 03:13:46 +0000 (19:13 -0800)]
mds: simplify for loop construction

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomds: add debug messages for export queue processing
Patrick Donnelly [Tue, 9 Jun 2020 22:14:23 +0000 (15:14 -0700)]
mds: add debug messages for export queue processing

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: refactor _wait_subtree and _get_subtree
Patrick Donnelly [Fri, 5 Jun 2020 02:40:00 +0000 (19:40 -0700)]
qa: refactor _wait_subtree and _get_subtree

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: use status from wait_for_daemons
Patrick Donnelly [Fri, 5 Jun 2020 02:49:09 +0000 (19:49 -0700)]
qa: use status from wait_for_daemons

Avoid an extra `fs dump` call.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: quietly print json output from asok commands
Patrick Donnelly [Sun, 14 Jun 2020 03:26:35 +0000 (20:26 -0700)]
qa: quietly print json output from asok commands

Pretty print output once. Use --format=json so the stdout on teuthology
is not pretty printed, taking hundreds of lines.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35752 into master
Patrick Donnelly [Wed, 24 Jun 2020 22:42:25 +0000 (15:42 -0700)]
Merge PR #35752 into master

* refs/pull/35752/head:
qa: fix flake8 error

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoqa: fix flake8 error 35752/head
Patrick Donnelly [Wed, 24 Jun 2020 19:20:33 +0000 (12:20 -0700)]
qa: fix flake8 error

    ./tasks/vstart_runner.py:33:1: F401 'io.BytesIO' imported but unused

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35665 into master
Patrick Donnelly [Wed, 24 Jun 2020 18:42:29 +0000 (11:42 -0700)]
Merge PR #35665 into master

* refs/pull/35665/head:
vstart_runner.py: improve a conditional in _do_run

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #33879 into master
Patrick Donnelly [Wed, 24 Jun 2020 18:35:37 +0000 (11:35 -0700)]
Merge PR #33879 into master

* refs/pull/33879/head:
client: fix snap directory atime

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35518 into master
Patrick Donnelly [Wed, 24 Jun 2020 18:34:47 +0000 (11:34 -0700)]
Merge PR #35518 into master

* refs/pull/35518/head:
mds: fix filelock state when Fsc is issued

Reviewed-by: Zheng Yan <zyan@redhat.com>
5 years agoMerge PR #35522 into master
Patrick Donnelly [Wed, 24 Jun 2020 18:34:04 +0000 (11:34 -0700)]
Merge PR #35522 into master

* refs/pull/35522/head:
vstart_runner: set default values of stdout and stderr to None

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35532 into master
Patrick Donnelly [Wed, 24 Jun 2020 18:32:26 +0000 (11:32 -0700)]
Merge PR #35532 into master

* refs/pull/35532/head:
Revert "Revert "qa/suites/rados/mgr/tasks/module_selftest: whitelist mgr client getting backlisted""

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge PR #35540 into master
Patrick Donnelly [Wed, 24 Jun 2020 18:31:29 +0000 (11:31 -0700)]
Merge PR #35540 into master

* refs/pull/35540/head:
qa/cephfs: don't pass cmd args from run_as_user as str
qa/cephfs: refactor run_as_root() to user run_as_user()

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35582 into master
Patrick Donnelly [Wed, 24 Jun 2020 18:30:33 +0000 (11:30 -0700)]
Merge PR #35582 into master

* refs/pull/35582/head:
mds: reset heartbeat in EMetaBlob replay

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35619 into master
Patrick Donnelly [Wed, 24 Jun 2020 18:29:24 +0000 (11:29 -0700)]
Merge PR #35619 into master

* refs/pull/35619/head:
mds: reset sequence number when new rank0 mds is available
mds: dump mds name when processing mds map

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agorgw: orphan-list timestamp fix 35736/head
J. Eric Ivancich [Tue, 23 Jun 2020 21:05:59 +0000 (17:05 -0400)]
rgw: orphan-list timestamp fix

When creating intermediate and output files, the rgw-orphan-list
script uses a timestamp using the `date` command. The hour was
inserted with "%k" but that padds with a space rather than a zero. So
that's changed to "%H".

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agoMerge pull request #35208 from prateek2211/refactor
Casey Bodley [Wed, 24 Jun 2020 15:12:44 +0000 (11:12 -0400)]
Merge pull request #35208 from prateek2211/refactor

rgw: Replace boost::string_ref/view with std::string_view

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #35331 from yuvalif/fix_issue_43536
Casey Bodley [Wed, 24 Jun 2020 14:58:31 +0000 (10:58 -0400)]
Merge pull request #35331 from yuvalif/fix_issue_43536

rgw/pubsub: remove deprecated radogw-admin pubsub creation commands

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge PR #35604 into master
Patrick Donnelly [Wed, 24 Jun 2020 14:00:26 +0000 (07:00 -0700)]
Merge PR #35604 into master

* refs/pull/35604/head:
CODEOWNERS: added doc-writers team

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #35739 into master
Patrick Donnelly [Wed, 24 Jun 2020 13:54:34 +0000 (06:54 -0700)]
Merge PR #35739 into master

* refs/pull/35739/head:
mgr/volumes/nfs: Reorder imports

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35716 from rzarzynski/wip-bl-rval-claim_append
Kefu Chai [Wed, 24 Jun 2020 13:26:45 +0000 (21:26 +0800)]
Merge pull request #35716 from rzarzynski/wip-bl-rval-claim_append

common, msgr/async: bufferlist::claim_append() doesn't require intermediaries anymore

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35643 from sebastian-philipp/cephadm-fix-already-in-use-msg
Sebastian Wagner [Wed, 24 Jun 2020 13:26:15 +0000 (15:26 +0200)]
Merge pull request #35643 from sebastian-philipp/cephadm-fix-already-in-use-msg

mgr/cephadm: fix broken "already in use" exception message

Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #35633 from matthewoliver/cephadm_bootstap_ipv6
Sebastian Wagner [Wed, 24 Jun 2020 13:25:33 +0000 (15:25 +0200)]
Merge pull request #35633 from matthewoliver/cephadm_bootstap_ipv6

cephadm: Set ms bind ipv6 when mon-ip is ipv6

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35589 from jschmid1/osd_servicedescription_fix
Sebastian Wagner [Wed, 24 Jun 2020 13:08:19 +0000 (15:08 +0200)]
Merge pull request #35589 from jschmid1/osd_servicedescription_fix

mgr/cephadm: exclude osds without osdspec_affinity

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35655 from batrick/i46081
Sebastian Wagner [Wed, 24 Jun 2020 13:06:27 +0000 (15:06 +0200)]
Merge pull request #35655 from batrick/i46081

cephadm: restrict mds caps to cephfs pools

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #35651 from sebastian-philipp/cephadm-unit-run-set-e
Sebastian Wagner [Wed, 24 Jun 2020 13:04:55 +0000 (15:04 +0200)]
Merge pull request #35651 from sebastian-philipp/cephadm-unit-run-set-e

cephadm: unit.run: add `set -e`

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoMerge pull request #35654 from neha-ojha/wip-44186
Kefu Chai [Wed, 24 Jun 2020 12:45:29 +0000 (20:45 +0800)]
Merge pull request #35654 from neha-ojha/wip-44186

pybind/mgr/pg_autoscaler/module.py: do not update event if ev.pg_num== ev.pg_num_target

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #35710 from rhcs-dashboard/wip-46144-fix-sort-ui
Lenz Grimmer [Wed, 24 Jun 2020 11:42:30 +0000 (13:42 +0200)]
Merge pull request #35710 from rhcs-dashboard/wip-46144-fix-sort-ui

mgr/dashboard: fix UI for Device class column in OSDs list

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #35742 from theanalyst/doc/releases/oct-update
Nathan Cutler [Wed, 24 Jun 2020 11:39:05 +0000 (13:39 +0200)]
Merge pull request #35742 from theanalyst/doc/releases/oct-update

doc: releases: updates for octopus

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #35721 from bk201/wip-43971
Lenz Grimmer [Wed, 24 Jun 2020 11:36:40 +0000 (13:36 +0200)]
Merge pull request #35721 from bk201/wip-43971

mgr/dashboard: fix Source column i18n issue in RBD configuration tables

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge pull request #35734 from tspmelo/wip-fix-tooltip
Lenz Grimmer [Wed, 24 Jun 2020 11:33:29 +0000 (13:33 +0200)]
Merge pull request #35734 from tspmelo/wip-fix-tooltip

mgr/dashboard: Fix display of tooltips inside tables

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agodoc: releases: octopus: fixup changelog 35742/head
Abhishek Lekshmanan [Wed, 24 Jun 2020 11:26:54 +0000 (13:26 +0200)]
doc: releases: octopus: fixup changelog

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agodoc: releases: update timeline for octopus
Abhishek Lekshmanan [Wed, 24 Jun 2020 10:43:07 +0000 (12:43 +0200)]
doc: releases: update timeline for octopus

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agomgr/volumes/nfs: Reorder imports 35739/head
Varsha Rao [Wed, 24 Jun 2020 05:14:57 +0000 (05:14 +0000)]
mgr/volumes/nfs: Reorder imports

This patch reorders import to fix "ImportError: cannot import name 'TimedOut'".
As flake8 requires similar import types to be grouped together.

Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agoCODEOWNERS: added doc-writers team 35604/head
Lenz Grimmer [Wed, 24 Jun 2020 10:08:45 +0000 (12:08 +0200)]
CODEOWNERS: added doc-writers team

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
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 agodoc: update releases table
Abhishek Lekshmanan [Wed, 24 Jun 2020 08:57:57 +0000 (10:57 +0200)]
doc: update releases table

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agodoc: releases: octopus: add v15.2.3 release notes
Abhishek Lekshmanan [Wed, 24 Jun 2020 08:56:17 +0000 (10:56 +0200)]
doc: releases: octopus: add v15.2.3 release notes

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agodoc: releases: add v15.2.2 release notes
Abhishek Lekshmanan [Mon, 18 May 2020 13:46:22 +0000 (15:46 +0200)]
doc: releases: add v15.2.2 release notes

Signed-off-by: Abhishek Lekshmanan <abhishek@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 agomgr/dashboard: Fix display of tooltips inside tables 35734/head
Tiago Melo [Tue, 23 Jun 2020 17:52:00 +0000 (17:52 +0000)]
mgr/dashboard: Fix display of tooltips inside tables

Hover event was not being propagated into the components inside the table.

Fixes: https://tracker.ceph.com/issues/45968
Signed-off-by: Tiago Melo <tmelo@suse.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>