]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Neha Ojha [Tue, 2 Feb 2021 17:43:56 +0000 (17:43 +0000)]
qa/*/test_envlibrados_for_rocksdb: use osd_client_message_cap to prevent slow requests
EnvLibradosMutipoolTest.DBBulkLoadKeysInRandomOrder can overload OSDs and cause
heartbeat timeouts. Tests in test_envlibrados_for_rocksdb also generate slow
requests on OSDs. Use osd_client_message_cap to prevent this.
Since this option is disabled by default, this may be a good way to exercise it.
Fixes: https://tracker.ceph.com/issues/49064
Signed-off-by: Neha Ojha <nojha@redhat.com>
Sebastian Wagner [Mon, 1 Feb 2021 12:22:50 +0000 (13:22 +0100)]
Merge pull request #39200 from mitsu-ko/mypatch
doc/mgr/orchestrator: Unify the content of command and yaml
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 1 Feb 2021 12:15:23 +0000 (20:15 +0800)]
Merge pull request #39201 from tchaikov/wip-sphinx-openapi
doc: silence warnings from openapi sphinx extension
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Kefu Chai [Mon, 1 Feb 2021 11:11:32 +0000 (19:11 +0800)]
Merge pull request #39194 from tchaikov/wip-dashboard-enum
pybind/mgr/dashboard: do not install enum34
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Mitsumasa KONDO [Mon, 1 Feb 2021 09:44:49 +0000 (18:44 +0900)]
doc/mgr/orchestrator: Unify the content of command and yaml
Signed-off-by: Mitsumasa KONDO <kondo.mitsumasa@gmail.com>
Kefu Chai [Mon, 1 Feb 2021 09:53:27 +0000 (17:53 +0800)]
doc: silence warnings from openapi sphinx extension
it prints out
skipping non-JSON example generation.
if an API does not contains example while ":example:" is specified for
openapi extension, and if this API is not a GET request, openapi
extention complains.
see also
https://github.com/sphinx-contrib/openapi/blob/
9dbae9c9a65291c44b27041c63ded1b20611a2fc /sphinxcontrib/openapi/openapi30.py#L191
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Mon, 1 Feb 2021 08:48:04 +0000 (09:48 +0100)]
Merge pull request #39198 from tchaikov/wip-mypy.ini
mypy.ini: fix the unresolve conflict
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
zdover23 [Mon, 1 Feb 2021 07:18:35 +0000 (17:18 +1000)]
Merge pull request #39196 from badone/wip-doc-python3-api
doc/rados/api: Update code samples to python3
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Kefu Chai [Mon, 1 Feb 2021 06:53:03 +0000 (14:53 +0800)]
mypy.ini: fix the unresolved conflict
it was introduced by
a0930a63106e9f0d556e18bd70ffca6566388742 , i failed
to resolve this conflict when resolving the merge confliction.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Brad Hubbard [Mon, 1 Feb 2021 01:11:17 +0000 (11:11 +1000)]
doc/rados/api: Update code samples to python3
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Sun, 31 Jan 2021 09:23:10 +0000 (17:23 +0800)]
Merge pull request #39106 from mgfritch/cephadm-apt-get
cephadm: use `apt-get` for package install/update
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Kefu Chai [Sun, 31 Jan 2021 09:22:20 +0000 (17:22 +0800)]
Merge pull request #39131 from sebastian-philipp/rook-disable-untyped
mgr/rook: disallow_untyped_defs = True
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Kefu Chai [Sun, 31 Jan 2021 04:03:07 +0000 (12:03 +0800)]
pybind/mgr/dashboard: do not install enum34
enum was introduced by python 3.4, but we require python3.6 and up.
so drop it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Thu, 28 Jan 2021 14:13:53 +0000 (15:13 +0100)]
doc: add rook_client._helper to mock_imports
This is due to `mgr/rook` now also includes `._helper`
Co-authored-by Kefu Chai <kchai@redhat.com>
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Thu, 28 Jan 2021 11:44:07 +0000 (12:44 +0100)]
mgr/rook: disallow_untyped_defs = True
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Thu, 28 Jan 2021 12:13:20 +0000 (13:13 +0100)]
mgr/rook: Fix possibly infinite loop in _execute_blight_job
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Sun, 31 Jan 2021 02:34:46 +0000 (10:34 +0800)]
Merge pull request #39143 from adk3798/ha-rgw-data-dir
cephadm: fix get_data_dir calls for ha-rgw daemons
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Daniel-Pivonka <dpivonka@redhat.com>
Kefu Chai [Sun, 31 Jan 2021 02:31:13 +0000 (10:31 +0800)]
Merge pull request #39081 from ifed01/wip-ifed-perpg-instrumentation
os/bluestore: be more verbose when fsck detects stray per-pg omaps
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Sun, 31 Jan 2021 02:29:59 +0000 (10:29 +0800)]
Merge pull request #39095 from tchaikov/wip-cephadm-fsid
cephadm: add fsid if --name is not specified
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Sun, 31 Jan 2021 02:28:54 +0000 (10:28 +0800)]
Merge pull request #39056 from sebastian-philipp/alerts-percent-d
mgr/alerts: interval can be None
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 31 Jan 2021 02:28:13 +0000 (10:28 +0800)]
Merge pull request #38930 from vbashkirtsev/master
client/fuse_ll.cc: use uint64_t for fuse_ll_forget() nlookup argument
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 31 Jan 2021 02:26:38 +0000 (10:26 +0800)]
Merge pull request #39132 from rzarzynski/wip-blk-ptr_node-for-aio
blk: avoid temporary bptrs on aio paths; use ptr_node instead.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Sun, 31 Jan 2021 02:25:46 +0000 (10:25 +0800)]
Merge pull request #39151 from batrick/radosstriper-refactor
libradosstriper: make default layout const and static
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 31 Jan 2021 02:24:36 +0000 (10:24 +0800)]
Merge pull request #39116 from tchaikov/wip-crimson-pgstat
crimson/osd: keep a local copy of pg_stat and cleanups
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sun, 31 Jan 2021 02:17:54 +0000 (10:17 +0800)]
Merge pull request #39158 from tchaikov/wip-mgr-snap-stat-ann
pybind/mgr/{snap-schedule,status,iostat}: add type annotations
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Kefu Chai [Sun, 31 Jan 2021 02:09:27 +0000 (10:09 +0800)]
Merge pull request #39187 from tchaikov/wip-standalone-mon-misc.sh
qa/standalone/mon/misc: verify that len(monmap.features.persistent) == 9
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 30 Jan 2021 16:14:43 +0000 (10:14 -0600)]
Merge PR #39097 into master
* refs/pull/39097/head:
qa/workunits/cephadm/test_cephadm: fix argument
qa/workunits/cephadm/test_cephadm: show exporter output
qa/workunits/cephadm/test_cephadm: don't bother pulling octopus
qa/workunits/cephadm/test_cephadm: behave on terminal
qa/workunits/cepham/test_cephadm: pull only recent images, from quay.ceph.io
qa/workunits/cephadm/test_cephadm: don't respawn for python versions
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Sat, 30 Jan 2021 16:12:43 +0000 (10:12 -0600)]
Merge PR #39172 into master
* refs/pull/39172/head:
mgr/orchestrator: remove 'host' arg for 'orch ls'
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Sat, 30 Jan 2021 16:09:48 +0000 (10:09 -0600)]
Merge PR #39173 into master
* refs/pull/39173/head:
mgr/devicehealth: make CLI commands error when pool doesn't exist
mgr/devicehealth: only create pool when we have some osds
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Sat, 30 Jan 2021 14:45:20 +0000 (22:45 +0800)]
qa/standalone/mon/misc: verify that len(monmap.features.persistent) == 9
in
beb62c029abcf1d596ed624d58cbcb094ee6a292 , FEATURE_QUINCY was added to
ceph::features::mon::get_persistent(), so update the test accordingly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Fri, 29 Jan 2021 20:50:18 +0000 (15:50 -0500)]
Merge pull request #38892 from ceph/update_s3select_add_zero_segment_log
s3select: update s3select submodule to last commit ; add zero segment log
Samuel Just [Fri, 29 Jan 2021 20:25:38 +0000 (12:25 -0800)]
Merge pull request #38767 from myoungwon/wip-manifest-chunk-scrub
osd: add has_manifest_chunk to count chunks in snapshot
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Fri, 29 Jan 2021 20:01:26 +0000 (14:01 -0600)]
Merge PR #39039 into master
* refs/pull/39039/head:
src/test/cli/monmaptool: adjust for new monmap features
qa/tasks/cephadm: allow custom git_url for cephadm_branch pull
qa/suites/rados/upgrade: include pacific-x
qa/suites/upgrade/pacific-x/parallel
qa/suites: some clean up for quincy
mon: updates for quincy
mon: update for quincy ondisk features
script: add pacific
doc/dev/release-checklist: we tagged v17.0.0
ceph-volume: change to quincy
include/ceph_features: retire MON_SINGLE_PAXOS
include/ceph_features: define FEATURE_SERVER_QUINCY
mon/MgrMonitor: add always_on_modules for quincy
add feature/release name quincy
kickoff v17 quincy
doc/dev/release-checklists: uncheck everything!
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Fri, 29 Jan 2021 15:07:15 +0000 (09:07 -0600)]
qa/workunits/cephadm/test_cephadm: fix argument
Signed-off-by: Sage Weil <sage@newdream.net>
Sebastian Wagner [Fri, 29 Jan 2021 18:16:54 +0000 (19:16 +0100)]
Merge pull request #37144 from jmolmo/storage_devices_mgmt
doc: High level workflow for storage devices
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Sage Weil [Fri, 29 Jan 2021 17:45:11 +0000 (11:45 -0600)]
src/test/cli/monmaptool: adjust for new monmap features
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 29 Jan 2021 15:01:37 +0000 (09:01 -0600)]
qa/tasks/cephadm: allow custom git_url for cephadm_branch pull
Normally the git_url is git://git.ceph.com/ceph-ci.git, which mirrors
upstream ceph-ci.git. However, the release branches aren't present there.
Allow a custom git_url so we can pull these from the main ceph.git.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 29 Jan 2021 16:40:44 +0000 (10:40 -0600)]
mgr/devicehealth: make CLI commands error when pool doesn't exist
This is better than silently failing to do anything.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 29 Jan 2021 16:36:39 +0000 (10:36 -0600)]
mgr/devicehealth: only create pool when we have some osds
If we create the pool before we have OSDs, the PGs won't be active+clean
and we'll raise a health warning that we shouldn't. This will annoy
a new users deploying a new cluster, and (more importantly?) make
qa tests fail while deploying initial clusters due to the health
warning.
Signed-off-by: Sage Weil <sage@newdream.net>
Casey Bodley [Fri, 29 Jan 2021 16:01:14 +0000 (11:01 -0500)]
Merge pull request #39025 from yuvalif/wip-yuval-fix-48963
rgw: fix valgrind errors when protected_fixedsize_stack is used
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Fri, 29 Jan 2021 15:45:09 +0000 (09:45 -0600)]
mgr/orchestrator: remove 'host' arg for 'orch ls'
The host arg is unused, and also missing from the documentation.
Signed-off-by: Sage Weil <sage@newdream.net>
Neha Ojha [Fri, 29 Jan 2021 15:37:52 +0000 (07:37 -0800)]
Merge pull request #39152 from neha-ojha/wip-46323
qa/*/thrash_cache_writeback_proxy_none.yaml: disable writeback overlay tests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 11:49:06 +0000 (19:49 +0800)]
Merge pull request #39118 from tchaikov/wip-cmake-rook-client
cmake: install rook-client-python using ExternalProject
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Kefu Chai [Fri, 29 Jan 2021 11:35:02 +0000 (19:35 +0800)]
pybind/mgr/snap-schedule: silence flake8 warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 06:52:25 +0000 (14:52 +0800)]
pybind/mgr/snap-schedule: use use_fs if fs is not specified
the "vol_name" parameter of "fs subvolume getpath" command is not
optional, so we have to pass an fs name to it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 05:38:20 +0000 (13:38 +0800)]
pybind/mgr/snap-schedule: close a string with single quote
if it starts with single quote, we should close it with a single quote
also.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 05:37:54 +0000 (13:37 +0800)]
pybind/mgr/snap-schedule: add typing annotations
please note, the behavior of `updates_schedule_db()` is changed so that
it now returns the return value of the decorated function. this change
makes it a real decorator which keeps the signature of the decorated
function unchanged. the reason why we need this change is that mypy does
not allow us to match the parameter pack of a Callable at the time of
writing.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 05:03:32 +0000 (13:03 +0800)]
pybind/mgr/status: flake8 cleanup
* remove unused import
* wrap long lines
* remove comments which do not start with "# "
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 03:26:15 +0000 (11:26 +0800)]
pybind/mgr/status: add typing annotations
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 04:41:56 +0000 (12:41 +0800)]
pybind/mgr/status: always map 'mds_version' to a list of dict
more consistent this way, as json format is supposed to be consumed by a
parser not human being.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 04:10:52 +0000 (12:10 +0800)]
pybind/mgr/status: construct defaultdict without key
it's simply wrong to construct defaultdict with the key which does not
have the mapped value, what we should do is to specify the
"default_factory" which construct the default value whose key does not
exist in the dict when being accessed.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 03:42:05 +0000 (11:42 +0800)]
pybind/mgr/status: cast return value to int
the return value of get_rate() is fed to mgr_util.format_dimless(),
which always cast the formatted value to int.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 03:25:31 +0000 (11:25 +0800)]
pybind/mgr: correct a MgrModule annotation
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 02:52:39 +0000 (10:52 +0800)]
pybind/mgr/status: use CLIReadCommand for defining commands
simpler this way. and will be more consistent with other mgr modules
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 02:31:04 +0000 (10:31 +0800)]
pybind/mgr/iostat: add typing annotations
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 02:30:19 +0000 (10:30 +0800)]
pybind/mgr: silence flake8 warnings
silence following warnings from flake8
* line too long (107 > 100 characters) [E501]
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Fri, 29 Jan 2021 11:37:15 +0000 (12:37 +0100)]
Merge pull request #38686 from wornet-mwo/wip-doc-add-section-declarative-orch-cmd
doc: added section about retival of Service Specication
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Sebastian Wagner [Fri, 29 Jan 2021 09:27:11 +0000 (10:27 +0100)]
Merge pull request #38875 from pcuzner/new-host-to-maintenance
mgr/orchestrator: add maintenance mode for new hosts
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 29 Jan 2021 09:26:27 +0000 (10:26 +0100)]
Merge pull request #39083 from genesiscloud/orch-non-rotational-filter-fix
python-common/drivegroups: avoid dropping "rotational: 0" from Device Selection
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 29 Jan 2021 09:26:03 +0000 (10:26 +0100)]
Merge pull request #39007 from mgfritch/cephadm-podman-2.0
cephadm: require podman >= 2.0.0
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Fri, 29 Jan 2021 08:24:19 +0000 (16:24 +0800)]
Merge pull request #39157 from xxhdx1985126/wip-crimson-bug-fix
crimson/osd: capture "intervals_included" by value in ReplicatedRecoveryBackend::submit_push_data
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 07:21:51 +0000 (15:21 +0800)]
Merge pull request #39057 from aclamk/wip-mempool-shards-check-random
common/mempool: Improve mempool shard selection
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Xuehan Xu [Fri, 29 Jan 2021 06:44:36 +0000 (14:44 +0800)]
crimson/osd: capture "intervals_included" by value in ReplicatedRecoveryBackend::submit_push_data
ReplicatedRecoveryBackend::submit_push_data()'s parameter "intervals_included" might be an
local varaiable in the outer method, so we should capture it by value to avoid a dangling
reference in the inner lambda
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
galsalomon66 [Sun, 10 Jan 2021 21:30:46 +0000 (23:30 +0200)]
diagnose zero segment while s3select
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
using s3-test with the fix fix_test_file_permission_add_attrib
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
update s3select{
1ea37ae459f957786b9d198510637dfa12f83350 } ; add log tracing zero segments locations
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
s3select submodule update
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
fix comments
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
updating the s3select new features; covering the gap between latest documentation and latest faetures update
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
add some more examples; fixes
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
add between expression to doc; typo
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
typo
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
skipping empty segments
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
skip empty segments to the next segments
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
Neha Ojha [Thu, 28 Jan 2021 19:54:54 +0000 (19:54 +0000)]
qa/*/thrash_cache_writeback_proxy_none.yaml: disable writeback overlay tests
thrash_cache_writeback_proxy_none tests have been failing consistently. Some investigation
shows that the writeback overlay tests are reponsible for it. Instead of removing these
cache tiering tests entirely, we'll disable them for now.
Related to: https://tracker.ceph.com/issues/46323
Signed-off-by: Neha Ojha <nojha@redhat.com>
Patrick Donnelly [Sat, 2 Jan 2021 23:54:23 +0000 (15:54 -0800)]
libradosstriper: make default layout const and static
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
pcuzner [Thu, 28 Jan 2021 21:35:33 +0000 (10:35 +1300)]
Merge pull request #39112 from pcuzner/fix-gather-facts
cephadm:add missing kernel_security property
Sage Weil [Thu, 28 Jan 2021 21:15:02 +0000 (15:15 -0600)]
qa/workunits/cephadm/test_cephadm: show exporter output
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 28 Jan 2021 14:25:54 +0000 (08:25 -0600)]
qa/suites/rados/upgrade: include pacific-x
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 22:01:20 +0000 (16:01 -0600)]
qa/suites/upgrade/pacific-x/parallel
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 22:00:13 +0000 (16:00 -0600)]
qa/suites: some clean up for quincy
- remove upgrades from nautilus
- stubs for completing upgrade to quincy
Still missing the pacific-x upgrade tests.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 21:45:32 +0000 (15:45 -0600)]
mon: updates for quincy
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 20:32:31 +0000 (14:32 -0600)]
mon: update for quincy ondisk features
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 18:08:58 +0000 (12:08 -0600)]
script: add pacific
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 18:07:47 +0000 (12:07 -0600)]
doc/dev/release-checklist: we tagged v17.0.0
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 19:24:06 +0000 (13:24 -0600)]
ceph-volume: change to quincy
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 19:21:14 +0000 (13:21 -0600)]
include/ceph_features: retire MON_SINGLE_PAXOS
X-3 = Q-3 = Nautilus
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 19:19:02 +0000 (13:19 -0600)]
include/ceph_features: define FEATURE_SERVER_QUINCY
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 19:16:20 +0000 (13:16 -0600)]
mon/MgrMonitor: add always_on_modules for quincy
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 19:16:12 +0000 (13:16 -0600)]
add feature/release name quincy
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 22 Jan 2021 20:13:22 +0000 (14:13 -0600)]
kickoff v17 quincy
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 22 Jan 2021 20:11:29 +0000 (14:11 -0600)]
doc/dev/release-checklists: uncheck everything!
Signed-off-by: Sage Weil <sage@newdream.net>
Adam King [Thu, 28 Jan 2021 17:12:57 +0000 (12:12 -0500)]
cephadm: fix get_data_dir calls for ha-rgw daemons
calls need to use the context's data dir rather than daemon type
puts these calls in line with the other daemons
Signed-off-by: Adam King <adking@redhat.com>
Sebastian Wagner [Mon, 25 Jan 2021 10:41:58 +0000 (11:41 +0100)]
mgr/alerts: type checking
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Mon, 25 Jan 2021 10:17:19 +0000 (11:17 +0100)]
mgr/alerts: Avoid suspicious error message
... in case `interval` is not an integer.
Fixes: https://tracker.ceph.com/issues/48972
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Thu, 28 Jan 2021 12:55:11 +0000 (20:55 +0800)]
crimson/osd: use spaces for indent
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2021 07:30:35 +0000 (15:30 +0800)]
crimson/osd: add more constness
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2021 07:23:14 +0000 (15:23 +0800)]
osd: pass function using rvalue reference
instead of passing a copy, pass a reference. so we can save the overhead
of copying the function object.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2021 05:08:51 +0000 (13:08 +0800)]
osd/PeeringState: document prepare_stats_for_publish()
document its parameters
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2021 05:56:30 +0000 (13:56 +0800)]
osd,crimson: pass optional<pg_stat_t> to prepare_stats_for_publish()
to simplify the interface. also save the overhead of passing an empty
pg_stat_t if the existing one is invalidated before calling
prepare_stats_for_publish().
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2021 11:00:46 +0000 (19:00 +0800)]
osd/PeeringState: log epochs in pre_publish
does not make sense to print log the epochs in pg_stats_publish passed
in if it is invalid.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2021 05:27:40 +0000 (13:27 +0800)]
crimson/osd: keep a local copy of pg_stat
so we don't need to prepare it every time when sending pg stats to
mgr.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2021 12:35:36 +0000 (20:35 +0800)]
cmake: install rook-client-python using ExternalProject
so we don't need to rerun the generate_rook_ceph_client.sh script
everytime when building the script. cmake creates a stamp file for
tracking the dependencies and the time of modification of dependencies.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Radoslaw Zarzynski [Thu, 28 Jan 2021 12:15:56 +0000 (13:15 +0100)]
blk: avoid temporary bptrs on aio paths; use ptr_node instead.
This is a slight optimization for the `HAVE_LIBAIO` paths
of the kernel-based `BlockDevice` implementation.
The overall idea is to squeeze temporary, short-living
instances of `ceph::bufferptr` as `ceph::bufferlist`
actually aggregates `ptr_node` (`bufferptr` with the extra
`next` pointer field to form a list). It can be created
directly and this commit switches to exactly this behavior.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sebastian Wagner [Thu, 28 Jan 2021 12:04:07 +0000 (13:04 +0100)]
Merge pull request #39113 from liewegas/fix-datetime-test
python-common: fix test_datetime_to_str_2 on non-UTC hosts
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Thu, 28 Jan 2021 11:20:42 +0000 (19:20 +0800)]
Merge pull request #39100 from xxhdx1985126/wip-crimson-bug-fix-2
crimson/osd: fix recovery related bugs
Reviewed-by: Kefu Chai <kchai@redhat.com>
Xuehan Xu [Wed, 27 Jan 2021 11:07:58 +0000 (19:07 +0800)]
crimson/osd: use do_with to capture MOSDPGPull::take_pulls()'s return
MOSDPGPull::take_pulls() returns a temporary object, so we need to use seastar::do_with
to create an object whose lives until seastar::do_with's inner continuation chain ends
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Yuval Lifshitz [Fri, 22 Jan 2021 14:14:00 +0000 (16:14 +0200)]
rgw: fix valgrind errors when protected_fixedsize_stack is used
Fixes: https://tracker.ceph.com/issues/48963
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
Kefu Chai [Thu, 28 Jan 2021 05:07:53 +0000 (13:07 +0800)]
crimson/osd: group stats related methods together
for better readability
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2021 04:32:43 +0000 (12:32 +0800)]
crimson/osd: move PG::publish_stats_to_osd() to .cc
and move PG::get_stats() to .cc as well
for faster compilation
Signed-off-by: Kefu Chai <kchai@redhat.com>