]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yehuda Sadeh [Sun, 1 Sep 2019 13:37:43 +0000 (06:37 -0700)]
rgw-admin: bucket sync info command
Dumps bucket sources
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sun, 1 Sep 2019 11:25:12 +0000 (04:25 -0700)]
rgw: pass through bucket sync pairs
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 24 Aug 2019 00:15:43 +0000 (17:15 -0700)]
rgw: define bucket sync pipes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 22 Aug 2019 00:24:17 +0000 (17:24 -0700)]
rgw: bucket sync: read local bucket sources
And also add functionality to get bucket sync policy handler (in cr).
Next we'll need to compare local bucket sources with what policy
handler defines, and act if it's different.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 19 Aug 2019 22:43:33 +0000 (15:43 -0700)]
rgw: defined bucket sync sources manager
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 21 Aug 2019 00:02:16 +0000 (17:02 -0700)]
rgw: data sync: split RGWDataSyncEnv
Keep only the environment related fields in there, and have the
sync info related stuff in the containing RGWDataSyncCtx.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 20 Aug 2019 21:02:12 +0000 (14:02 -0700)]
rgw: reduce use of sync_env->store
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 19 Aug 2019 22:21:58 +0000 (15:21 -0700)]
rgw: data sync: rename current bucket sync crs
Add the 'pipe' term as bucket can be synced on multiple pipes.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 17 Aug 2019 00:23:55 +0000 (17:23 -0700)]
rgw: ctl.bucket: add bucket sync related methods
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 16 Aug 2019 22:34:45 +0000 (15:34 -0700)]
rgw: svc.bucket_sync: add new svc for dealing with bucket sync policy
svc.bucket_sync_sobj keeps a cache of bucket sync policies (per bucket
instance), and chains to the metadata cache.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 16 Aug 2019 18:59:44 +0000 (11:59 -0700)]
rgw: rework sync policy
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 12 Aug 2019 22:58:28 +0000 (15:58 -0700)]
rgw: define sync policy structures
Defines sync policy for both zones and buckets.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 21 Feb 2019 22:58:42 +0000 (14:58 -0800)]
rgw: remove unused variable
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 19 Feb 2019 02:29:19 +0000 (18:29 -0800)]
rgw: sync: separate source and dest bucket
This is still incomplete. The idea is that source bucket and destination
bucket do not need to reflect the same entity.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 16 Feb 2019 00:06:51 +0000 (16:06 -0800)]
rgw: bucket sync: integrate bucket sync decisions
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 15 Feb 2019 23:23:32 +0000 (15:23 -0800)]
rgw: store data log entry if bucket sync policy not empty
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 15 Feb 2019 22:06:57 +0000 (14:06 -0800)]
rgw: bucket-granularity sync: define policy structure
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Dec 2019 22:55:25 +0000 (14:55 -0800)]
rgw: test-multi: craft admin command line options differently
The problem was specifically with the "--rgw-cache-enabled false" param. This
doesn't work like that anymore, need to either pass --rgw-cache-enabled=false,
or --no-rgw-cache-enabled.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Dec 2019 22:51:45 +0000 (14:51 -0800)]
rgw-admin: dump command if not found
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Dec 2019 22:51:18 +0000 (14:51 -0800)]
rgw-admin: split remove and delete aliases
Since "zonegroup remove" and "zonegroup delete" are different commands,
don't have them share the same aliases.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Dec 2019 22:50:29 +0000 (14:50 -0800)]
rgw-admin: add "zonegroup remove zone" command
Does the same as "zonegroup remove", but should be used instead of it
as we also have a different "zonegroup delete" command.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 11 Oct 2019 22:27:16 +0000 (15:27 -0700)]
rgw-admin: cmdline, dump expected commands on error
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 11 Oct 2019 21:40:18 +0000 (14:40 -0700)]
rgw-admin: adjust commands
Add missing definitions needed for backward compatibility.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 11 Oct 2019 21:30:24 +0000 (14:30 -0700)]
rgw-admin: use strongly typed enum for cmdline options
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 11 Oct 2019 20:19:32 +0000 (13:19 -0700)]
rgw-admin: cmdline, use generic std::any to hold value
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 11 Oct 2019 19:23:13 +0000 (12:23 -0700)]
rgw-admin: put cmd parser in its own class
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 11 Oct 2019 03:57:42 +0000 (20:57 -0700)]
rgw-admin: command line aliases
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 10 Oct 2019 17:50:03 +0000 (10:50 -0700)]
rgw-admin: remove old manual command parsing code
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 10 Oct 2019 17:48:18 +0000 (10:48 -0700)]
rgw-admin: new command parsing
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Jan Fajerski [Tue, 28 Jan 2020 15:26:14 +0000 (16:26 +0100)]
Merge pull request #32929 from jan--f/wip-43844-master
ceph-volume: batch bluestore fix create_lvs call
Laura Paduano [Tue, 28 Jan 2020 11:13:37 +0000 (12:13 +0100)]
Merge pull request #32836 from s0nea/wip-dashboard-boolean-settings
mgr/dashboard: show checkboxes for booleans
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Lenz Grimmer [Tue, 28 Jan 2020 10:06:24 +0000 (10:06 +0000)]
mgr/dashboard: extend doc by Grafana setting (#32460)
mgr/dashboard: extend doc by Grafana setting
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Lenz Grimmer [Tue, 28 Jan 2020 08:49:10 +0000 (08:49 +0000)]
mgr/dashboard: disable 'Add Capability' button in rgw user edi… (#32610)
mgr/dashboard: disable 'Add Capability' button in rgw user edit form.
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Jan Fajerski [Tue, 28 Jan 2020 08:25:39 +0000 (09:25 +0100)]
ceph-volume: batch bluestore fix create_lvs call
Fixes: https://tracker.ceph.com/issues/43844
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Sage Weil [Mon, 27 Jan 2020 23:38:55 +0000 (17:38 -0600)]
Merge PR #32925 into master
* refs/pull/32925/head:
os/bluestore: fix duplicate onode instance while doing omap repair.
test/store_test: introduce test case for per-pool omap repair.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 27 Jan 2020 22:49:12 +0000 (16:49 -0600)]
Merge PR #32850 into master
* refs/pull/32850/head:
osdc/Objecter: debug pause/unpause transition
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Mon, 27 Jan 2020 21:20:32 +0000 (15:20 -0600)]
Merge PR #32752 into master
* refs/pull/32752/head:
cephadm: remove `logs` command
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 27 Jan 2020 19:28:59 +0000 (13:28 -0600)]
Merge PR #32920 into master
* refs/pull/32920/head:
qa/suites/rados/rest: run restful test on el8
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Igor Fedotov [Mon, 27 Jan 2020 18:47:08 +0000 (21:47 +0300)]
os/bluestore: fix duplicate onode instance while doing omap repair.
Fixes: https://tracker.ceph.com/issues/43824
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Mon, 27 Jan 2020 18:11:51 +0000 (21:11 +0300)]
test/store_test: introduce test case for per-pool omap repair.
This also reproduces
https://tracker.ceph.com/issues/43824
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Sage Weil [Mon, 27 Jan 2020 17:39:53 +0000 (11:39 -0600)]
Merge PR #32812 into master
* refs/pull/32812/head:
mgr/cephadm: get --osd-uuid deploy arg from osdmap
mgr/cephadm: fetch keyring in _create_daemon()
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Mon, 27 Jan 2020 17:36:37 +0000 (11:36 -0600)]
Merge PR #32885 into master
* refs/pull/32885/head:
qa/suites/rados/thrash: debug monc
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Mon, 27 Jan 2020 17:31:36 +0000 (11:31 -0600)]
Merge PR #32886 into master
* refs/pull/32886/head:
cephadm: no --no-systemd arg to ceph-volume deactivate
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Mon, 27 Jan 2020 17:05:29 +0000 (11:05 -0600)]
Merge PR #32851 into master
* refs/pull/32851/head:
qa/standalone/osd/osd-backfill-recovery-log.sh: fix TEST_backfill_log_2
qa/standalone/osd/osd-backfill-recovery-log.sh: fix TEST_backfill_log_1
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Mon, 27 Jan 2020 17:02:07 +0000 (11:02 -0600)]
qa/suites/rados/rest: run restful test on el8
For some reason the requests library has trouble connecting from
ubuntu 18.04. I reproduced this locally on my 18.04 desktop, although
there it fails on the first API request instead of the last (as in QA).
In any case, this appears to be a client library problem.
Fixes: https://tracker.ceph.com/issues/43720
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 27 Jan 2020 16:37:16 +0000 (10:37 -0600)]
Merge PR #32898 into master
* refs/pull/32898/head:
qa/suites/rados/singleton/all/recovery-preemption: fix pg log length
Reviewed-by: Neha Ojha <nojha@redhat.com>
Casey Bodley [Mon, 27 Jan 2020 15:49:33 +0000 (10:49 -0500)]
Merge pull request #32617 from taodd/bug-43563
rgw: update the hash source for multipart entries during resharding
Reviewed-by: Eric J. Ivancich <ivancich@redhat.com>
Casey Bodley [Mon, 27 Jan 2020 15:48:40 +0000 (10:48 -0500)]
Merge pull request #32487 from ofriedma/wip-ofriedma-copy-part-hdr
rgw: Fix upload part copy range able to get almost any string
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Casey Bodley [Mon, 27 Jan 2020 15:48:11 +0000 (10:48 -0500)]
Merge pull request #31887 from ofriedma/wip-ofriedma-lc-hdr-mid
rgw: LC expiration header should present midnight expiration date
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Mon, 27 Jan 2020 15:47:38 +0000 (10:47 -0500)]
Merge pull request #30778 from joke-lee/rgw-ipv6
rgw: fix SignatureDoesNotMatch when use ipv6 address in s3 client
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Mon, 27 Jan 2020 15:46:15 +0000 (10:46 -0500)]
Merge pull request #31977 from ofriedma/wip-ofriedma-dynamic-disable
rgw: Fix dynamic resharding not working for empty zonegroup in period
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Mon, 27 Jan 2020 15:44:17 +0000 (10:44 -0500)]
Merge pull request #31185 from joke-lee/rgw-user-modify-placement
rgw: support specify user default placement and placement_tags when create or modify user
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jan Fajerski [Mon, 27 Jan 2020 15:03:07 +0000 (16:03 +0100)]
Merge pull request #32235 from jan--f/c-v-prepare-size-args
ceph-volume: add sizing arguments to prepare
Patrick Seidensal [Thu, 2 Jan 2020 14:04:14 +0000 (15:04 +0100)]
mgr/dashboard: unify indentation in dashboard.rst
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
Michael Fritch [Mon, 27 Jan 2020 14:21:53 +0000 (07:21 -0700)]
cephadm: remove `logs` command
Fixes: https://tracker.ceph.com/issues/43618
Signed-off-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Mon, 27 Jan 2020 13:40:12 +0000 (07:40 -0600)]
qa/suites/rados/singleton/all/recovery-preemption: fix pg log length
This was broken by the variable PG log lengths in
9c69c2f7cc585b5e13e4d1b0432016d38135a3de .
Disable the new option to get (roughly) the old behavior, or at least the
short logs that we want to trigger some backfill.
Fixes: https://tracker.ceph.com/issues/43810
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 27 Jan 2020 13:14:37 +0000 (07:14 -0600)]
Merge PR #32853 into master
* refs/pull/32853/head:
qa/suites/fs/upgrade: finish at octopus
qa/suites/fs/upgrade: set min-compat-client to octopus
qa/suites/fs/upgrade: set pg_autoscale_mode=off after upgrade
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Mon, 27 Jan 2020 13:08:40 +0000 (07:08 -0600)]
Merge PR #32883 into master
* refs/pull/32883/head:
qa/workunits/rados/test_crash.sh: do not fail if coredump not found
rgw: set bucket quota only when necessary
Reviewed-by: Sage Weil <sage@redhat.com>
Tatjana Dehler [Fri, 24 Jan 2020 16:02:22 +0000 (17:02 +0100)]
mgr/dashboard: show checkboxes for booleans
The frontend showed textboxes for the dashboard settings because
the actual type information was missing here. The REST API then
returned the default type 'str'.
Edit the e2e test case in order to update a different setting as
the 'editMgrModule' method can't handle checkboxes.
Fixes: https://tracker.ceph.com/issues/43769
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Lenz Grimmer [Mon, 27 Jan 2020 08:23:29 +0000 (08:23 +0000)]
monitoring: add details to Prometheus' alerts (#32803)
monitoring: add details to Prometheus' alerts
Reviewed-by: Andreas Jaeger <aj@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Jason Dillaman [Sun, 26 Jan 2020 18:31:39 +0000 (13:31 -0500)]
Merge pull request #32434 from trociny/wip-41559
mgr/rbd_support: implement mirror snapshot scheduler
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Thu, 9 Jan 2020 11:07:22 +0000 (11:07 +0000)]
librbd: optimize mirror_image_info_list (don't open image context)
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Thu, 9 Jan 2020 11:01:46 +0000 (11:01 +0000)]
librbd: make mirror get info request not require image context
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Sun, 26 Jan 2020 14:20:42 +0000 (22:20 +0800)]
qa/workunits/rados/test_crash.sh: do not fail if coredump not found
Fixes: https://tracker.ceph.com/issues/43653
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sun, 26 Jan 2020 17:17:01 +0000 (11:17 -0600)]
cephadm: no --no-systemd arg to ceph-volume deactivate
ceph-volume lvm deactivate: error: unrecognized arguments: --no-systemd
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 26 Jan 2020 17:13:20 +0000 (11:13 -0600)]
qa/suites/rados/thrash: debug monc
Hunting https://tracker.ceph.com/issues/43825
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 26 Jan 2020 16:19:01 +0000 (00:19 +0800)]
rgw: set bucket quota only when necessary
this change fixes the regression introduced by
9a7f76a7
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Fri, 27 Dec 2019 10:37:42 +0000 (10:37 +0000)]
mgr/rbd_support: optimize scanning images in mirror snapshot mode
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Fri, 27 Dec 2019 08:54:31 +0000 (08:54 +0000)]
librbd: add API to list mirror image info
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Sat, 14 Dec 2019 19:56:07 +0000 (19:56 +0000)]
mgr/rbd_support: implement mirror snapshot scheduler
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Fri, 22 Nov 2019 17:56:38 +0000 (17:56 +0000)]
pybind/mgr/rbd_support: split module.py into several files
(it is becoming too large)
Signed-off-by: Mykola Golub <mgolub@suse.com>
Jason Dillaman [Sun, 26 Jan 2020 16:19:11 +0000 (11:19 -0500)]
Merge pull request #32734 from trociny/wip-43589
librbd: don't call refresh from mirror::GetInfoRequest state machine
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Sun, 26 Jan 2020 16:01:57 +0000 (00:01 +0800)]
Merge pull request #32766 from rzarzynski/wip-common-ceph_atomic
crimson, common: introduce ceph::atomic and apply it on bufferlist.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Sun, 26 Jan 2020 15:15:26 +0000 (10:15 -0500)]
Merge pull request #32760 from trociny/wip-43666
librbd: fix potential snapshot remove failure due to duplicate RPC messages
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Sun, 26 Jan 2020 03:56:10 +0000 (11:56 +0800)]
Merge pull request #32730 from tchaikov/wip-mgr-maybe-unused
mgr: better error handling when reading option
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 26 Jan 2020 03:55:21 +0000 (11:55 +0800)]
Merge pull request #32758 from ifed01/wip-ifed-fix-legacy-omap
os/bluestore: upgrade legacy omap to per-pool format automatically.
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 26 Jan 2020 03:53:40 +0000 (11:53 +0800)]
Merge pull request #32764 from liewegas/fix-43552
mon/Session: only index osd ids >= 0
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Sun, 26 Jan 2020 03:45:28 +0000 (11:45 +0800)]
Merge pull request #32753 from mgfritch/cephadm-tox-escape-seq
cephadm: fix tox DeprecationWarning
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 26 Jan 2020 03:41:06 +0000 (11:41 +0800)]
Merge pull request #32352 from rzarzynski/wip-bug-43070
msg/async: reset the V1's session_security in proper EventCenter.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 26 Jan 2020 03:37:01 +0000 (11:37 +0800)]
Merge pull request #32785 from rzarzynski/wip-encoding-no-bl-copy_in-2
common: encode for std::list<T> doesn't use bl::copy_in() anymore.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 24 Jan 2020 23:25:52 +0000 (17:25 -0600)]
qa/suites/fs/upgrade: finish at octopus
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jan 2020 19:43:58 +0000 (13:43 -0600)]
mgr/cephadm: get --osd-uuid deploy arg from osdmap
During the initial OSD creation, we had the osd_uuid handy. However, on
reconfig/redeploy, we don't.
Refactor a bit so that this is extracted from the osdmap by the
_create_daemon() method. While we're at it, make the deployment case
verify that the deployed OSD uuid matches the one in the osdmap.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 24 Jan 2020 23:26:05 +0000 (17:26 -0600)]
qa/suites/fs/upgrade: set min-compat-client to octopus
Signed-off-by: Sage Weil <sage@redhat.com>
J. Eric Ivancich [Sat, 25 Jan 2020 19:12:02 +0000 (14:12 -0500)]
Merge pull request #30272 from ivancich/wip-move-some-bucket-listing-logic-to-cls
rgw: move delimiter-based bucket listing/filtering logic to cls
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Fri, 24 Jan 2020 23:24:39 +0000 (17:24 -0600)]
qa/suites/fs/upgrade: set pg_autoscale_mode=off after upgrade
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 24 Jan 2020 23:21:28 +0000 (17:21 -0600)]
Merge PR #32750 into master
* refs/pull/32750/head:
qa/suites/upgrade/*-x/stress-split: run latest python tests at end
qa/tasks/ceph_manager: kludge around /var/log/ceph permissions
mgr/pg_autoscaler: don't check anything until cluster is nautilus
qa/suites/upgrade: install python3-* as part of final upgrade step
qa/tasks/radosbench: only set object size if != block size
qa/tasks/ceph: simplify mon_health_to_clog suppression during restart
cls_hello: alias write_return_data -> writes_dont_return_data
ceph_test_cls_hello: only do returndata test on octopus+
qa: remove unnecessary package excludes in upgrades/nautilus*
qa: exclude cephadm from upgrade/nautilus-x
qa/suites/upgrade/mimic-x/parallel: fix msgr2 vs octopus ordering
qa/suites/upgrade/nautilus-x/stress-split: fix msgr2 vs octopus ordering
qa/suites/upgrade/mimic-x: fix msgr2 vs octopus ordering
qa/suites/upgrade/nautilus-x: end on octopus
qa/suites/upgrade/mimic-x: finish at octopus
qa/suites/upgrade/nautilus-x: disable TOO_FEW_PGS warning
qa/tasks/ceph: set mon_health_to_clog=false via mon config
qa/suites/upgrade/mimic-x: disable TOO_FEW_PGS warning
Reviewed-by: Kefu Chai <kchai@redhat.com>
Neha [Fri, 24 Jan 2020 22:42:04 +0000 (22:42 +0000)]
qa/standalone/osd/osd-backfill-recovery-log.sh: fix TEST_backfill_log_2
Fixes: https://tracker.ceph.com/issues/43807
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha [Fri, 24 Jan 2020 22:13:00 +0000 (22:13 +0000)]
qa/standalone/osd/osd-backfill-recovery-log.sh: fix TEST_backfill_log_1
Fixes: https://tracker.ceph.com/issues/43807
Signed-off-by: Neha Ojha <nojha@redhat.com>
Patrick Donnelly [Fri, 24 Jan 2020 20:57:07 +0000 (12:57 -0800)]
Merge PR #32804 into master
* refs/pull/32804/head:
pybind: Add test for listxattr
pybind: Add listxattr
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Fri, 24 Jan 2020 20:04:59 +0000 (14:04 -0600)]
Merge PR #32786 into master
* refs/pull/32786/head:
mon/ConfigMonitor: put global/ keys in global section
mon/ConfigMonitor: transition old keys to have global/ prefix
mon/ConfigMonitor: always prefix global config keys with global/
mon/ConfigMonitor: switch to use pending_cleanup boost::optional
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Fri, 24 Jan 2020 20:04:09 +0000 (14:04 -0600)]
Merge PR #32665 into master
* refs/pull/32665/head:
os/bluestore: avoid race between split_cache and get/put pin/unpin
os/bluestore: remove no-op line from split_cache
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Sage Weil [Fri, 24 Jan 2020 20:02:14 +0000 (14:02 -0600)]
Merge PR #32755 into master
* refs/pull/32755/head:
pybind/mgr/*: fix config_notify handling of default values
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 24 Jan 2020 20:01:38 +0000 (14:01 -0600)]
Merge PR #32809 into master
* refs/pull/32809/head:
common/options: bluestore 64k min_alloc_size for HDD
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
J. Eric Ivancich [Fri, 27 Sep 2019 16:05:17 +0000 (12:05 -0400)]
rgw: let newer RGWs work with older OSDs re: cls-side filtering
Previous commits moved bucket list filtering when a delimiter was
specified to the osd/cls layer. However, since rgw's are often
upgraded before osd's are, until we reach verison ceph version 16, an
rgw cannot assume that the osd/cls did the filtering. This is
addressed in the following ways....
First rgw_cls_list_ret now indicates whether filtering was done on the
osd/cls side.
And second, the old filtering code in the rgw is maintained in
RGWRados::Bucket::List::list_objects_ordered, so it can still be
triggered when all osd's are not doing the filtering.
Once we reach ceph version 16, and there is no chance that the rgw is
working with a osd running "young" version 14 code, we can remove the
backward compatibility code in
RGWRados::Bucket::List::list_objects_ordered.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Mon, 9 Sep 2019 20:30:33 +0000 (16:30 -0400)]
rgw: add unit testing for delimiter filtering in cls
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Tue, 6 Aug 2019 21:44:29 +0000 (17:44 -0400)]
rgw: move some bucket index delimiter filtering logic to cls
Currently the cls code that returns bucket index entries does no
filtering when a delimiter is specified. This means that the cls code
will return many entries that the rgw code does not need. This means
unnecessary bucket index entries will be encoded, decoded, and consume
network bandwidth.
A change is made to send a delimiter, if it's specified, to the cls
code, so the filtering can be done there.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Jason Dillaman [Fri, 24 Jan 2020 19:30:22 +0000 (14:30 -0500)]
Merge pull request #32735 from trociny/wip-doc-mirror-snapshot
doc: document "mode" param for "rbd mirror image enable" command
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
J. Eric Ivancich [Tue, 3 Sep 2019 17:03:51 +0000 (13:03 -0400)]
rgw: reformat some code to make it easier to read
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Tue, 3 Sep 2019 19:14:21 +0000 (15:14 -0400)]
rgw: rename search variable to better indicate semantics
cls_cxx_map_get_vals takes a parameter of where in the sequence of
keys to start returning values. In code it's often referred to as the
"start_key", but in fact it only returns values who have keys *after*
it. To clarify the semantics, rename the variable to "start_after_key"
in the bucket listing functions in both rgw and cls.
Also, declare a type RGWRados::check_filter_t, so the type does not
have to be fully literalized multiple times.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Fri, 13 Sep 2019 03:20:55 +0000 (23:20 -0400)]
rgw: change scope of bucket index entry flags
Redefine global constants that define flags in bucket index entries to
struct-scoped.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>