]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yehuda Sadeh [Wed, 21 Mar 2018 22:33:45 +0000 (15:33 -0700)]
rgw: add distro dependencies for liboath
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Feb 2018 23:18:03 +0000 (15:18 -0800)]
rgw: fixes following rebase
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 13:58:43 +0000 (05:58 -0800)]
cls/otp: fixes following review
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 13:42:51 +0000 (05:42 -0800)]
rgw, cls/otp: support for base32 seed type
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 12:28:37 +0000 (04:28 -0800)]
cls/otp, rgw-admin: use older liboath api, parse seed once
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 07:30:21 +0000 (23:30 -0800)]
cls/otp: preserve otp history when modifying it
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sun, 3 Dec 2017 14:31:18 +0000 (06:31 -0800)]
rgw-admin, cls/otp: get current time for otp resync from osd
add a new method to the otp objclass that returns the
current time.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sun, 3 Dec 2017 13:53:22 +0000 (05:53 -0800)]
rgw-admin: add mfa resync command
$ radosgw-admin mfa resync --uid=<uid> --totp=serial=<serial> \
--totp-pin=<pin1> --totp-pin=<pin2>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 1 Dec 2017 15:06:36 +0000 (07:06 -0800)]
rgw: cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 1 Dec 2017 15:05:51 +0000 (07:05 -0800)]
cls/otp: integrate with liboath
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 1 Dec 2017 11:24:28 +0000 (03:24 -0800)]
rgw: set objv_tracker for metadata mutate
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 30 Nov 2017 13:49:15 +0000 (05:49 -0800)]
rgw_admin: use metadata mutate for mfa updates
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 30 Nov 2017 10:29:41 +0000 (02:29 -0800)]
rgw: better api for metadata mutation
Unlike the regular user and bucket metadata that are plain
raw rados objects, the otp info is controlled by object
class operations. The metadata manager mutate operation
will deal with the metadata related work that is needed
to happen (objv_tracker, update meta log), and call to
the operation that modifies the otp info.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 23 Nov 2017 02:14:00 +0000 (18:14 -0800)]
rgw: tie otp meta get/put to meta log, objv_tracker
still need to have the radosgw-admin mfa tools to go through meta
instrumentation.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 23 Nov 2017 00:25:41 +0000 (16:25 -0800)]
rgw: trivial implementation of otp meta handlers
Still not there yet. Need to tie into objv_tracker, and metadata log
tooling.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 22 Nov 2017 23:49:32 +0000 (15:49 -0800)]
cls/otp: client api to set multiple keys
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 22 Nov 2017 23:47:46 +0000 (15:47 -0800)]
cls/otp: update header anyway, don't use omap header
Update header even if it might have existed. If running within a compound op
we might not identify it correctly.
Also don't use omap header api.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 21 Nov 2017 23:11:34 +0000 (15:11 -0800)]
rgw: initial work to add otp as metadata provider
To allow transparent multisite sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 21 Nov 2017 22:50:23 +0000 (14:50 -0800)]
rgw: fix mfa setting, verify on object deletion
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 08:18:31 +0000 (00:18 -0800)]
rgw: S3 get bucket versioning returns MFA status
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 08:06:35 +0000 (00:06 -0800)]
rgw: functionality to modify mfa entries in user metadata
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 07:54:33 +0000 (23:54 -0800)]
rgw-admin: new mfa control commands
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 07:51:38 +0000 (23:51 -0800)]
rgw: add otp pool, create otp service functionality
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 07:48:04 +0000 (23:48 -0800)]
cls/otp: implement otp_info_t::dump()
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 07:45:31 +0000 (23:45 -0800)]
cls_otp: treat empty header as -ENOENT
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 17 Nov 2017 23:40:25 +0000 (15:40 -0800)]
rgw: send totp check to the otp objclass
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 17 Nov 2017 22:49:21 +0000 (14:49 -0800)]
rgw: req_state members init refactor
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 16 Nov 2017 01:04:22 +0000 (17:04 -0800)]
cls/otp: add client interfaces
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 15 Nov 2017 01:47:30 +0000 (17:47 -0800)]
cls/otp: implement totp check logic
Currently checking for bogus results, still need to integrate with
totp library.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 14 Nov 2017 23:57:07 +0000 (15:57 -0800)]
cls/otp: initial work
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 9 Nov 2017 23:31:26 +0000 (18:31 -0500)]
rgw: mfa - initial work
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Alfredo Deza [Mon, 9 Apr 2018 13:58:56 +0000 (09:58 -0400)]
Merge pull request #20758 from ceph/wip-cv-doc-typos
ceph-volume doc updates
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Mykola Golub [Mon, 9 Apr 2018 13:22:03 +0000 (16:22 +0300)]
Merge pull request #21249 from dillaman/wip-18844
rbd: improve 'import-diff' corrupt input error messages
Reviewed-by: Mykola Golub <mgolub@suse.com>
Alfredo Deza [Mon, 9 Apr 2018 11:02:50 +0000 (07:02 -0400)]
Merge pull request #21196 from jeffrey4l/fix_typo
ceph-volume: fix typo in ceph-volume lvm prepare help
Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Lenz Grimmer [Mon, 9 Apr 2018 10:34:25 +0000 (12:34 +0200)]
Merge pull request #21270 from Devp00l/ceph-table-action-fix
mgr/dashboard: Fix the data table action selector
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Boris Ranto [Mon, 9 Apr 2018 08:40:42 +0000 (10:40 +0200)]
Merge pull request #21269 from b-ranto/wip-mgr-expose-rgw
mgr: Expose rgw perf counters
Reviewed-by: John Spray <john.spray@redhat.com>
Mykola Golub [Sun, 8 Apr 2018 20:22:38 +0000 (23:22 +0300)]
Merge pull request #21248 from dillaman/wip-23548
librbd: potential race between discard and writeback
Reviewed-by: Mykola Golub <mgolub@suse.com>
Nathan Cutler [Sun, 8 Apr 2018 06:54:27 +0000 (08:54 +0200)]
Merge pull request #17531 from smithfarm/wip-calamari-tests
tests: cleanup: drop calamari tasks
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
Xie Xingguo [Sun, 8 Apr 2018 05:37:00 +0000 (13:37 +0800)]
Merge pull request #21245 from ifed01/wip-ifed-shard-bug-logging
os/bluestore: be more verbose when hitting unloaded shard in extent map
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sat, 7 Apr 2018 09:31:04 +0000 (17:31 +0800)]
Merge pull request #20866 from jan--f/mgr-fix-metadata-return
mon/MonCommands: mgr metadata - improve parameter naming consistency
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:29:57 +0000 (17:29 +0800)]
Merge pull request #21217 from tchaikov/wip-cmp-hobject
common/hobject: preserve the order of hobject
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:29:15 +0000 (17:29 +0800)]
Merge pull request #21211 from tchaikov/wip-clang-without-map-merge
cmake,mds: detect std::map::merge() before using it.
Reviewed-by: Zheng Yan <zyan@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:27:15 +0000 (17:27 +0800)]
Merge pull request #21161 from cbodley/wip-mon-config-obs
config: notify config observers on set_mon_vals()
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:25:48 +0000 (17:25 +0800)]
Merge pull request #21151 from xiexingguo/wip-prune-olr
osd/PGBackend: drop input "snapid_t" from objects_list_range()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:24:56 +0000 (17:24 +0800)]
Merge pull request #21150 from xiexingguo/wip-large-omap-obj-counting
osd/PGBackend: fix large_omap_objects checking
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:23:35 +0000 (17:23 +0800)]
Merge pull request #21119 from Liuchang0812/refine-optracker-history
common, osd: duplicated "start" event in OpTracker, improve OpTracker::dump_ops
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:22:01 +0000 (17:22 +0800)]
Merge pull request #21095 from wido/ceph-metadata-version
common: Add metadata with only Ceph version number and release
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:21:06 +0000 (17:21 +0800)]
Merge pull request #21055 from tchaikov/wip-pr-20994
filestore,rgw: fix types/casts making clang on 32-Bit working
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Willem Jan Withagen [Sun, 1 Apr 2018 12:34:48 +0000 (14:34 +0200)]
mds: Clang does not (yet) support std::map::merge
@tchaikov found:
libc++ still does not support "Splicing Maps and Sets",
see https://libcxx.llvm.org/cxx1z_status.html ,
search for "p0083r3" .
Make this case the more explicit coded.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Tue, 3 Apr 2018 12:00:14 +0000 (20:00 +0800)]
cmake: detect if std::map::merge() is supported
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 03:59:28 +0000 (11:59 +0800)]
Merge pull request #21274 from dzafman/wip-cot-config
tools: Use --no-mon-config so ceph_objectstore_tool.py test doesn't hang
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 7 Apr 2018 02:31:19 +0000 (21:31 -0500)]
Merge PR #20760 into wip-sage-testing-
20180407 .023110
* refs/pull/20760/head:
mon/ConfigMonitor: add 'config reset' command
mon/ConfigMonitor: add 'config log' command
mon/ConfigMap: add ConfigChangeSet
mon/ConfigMonitor: avoid no-op updates
mon/ConfigMonitor: maintain history of all config changes
Sage Weil [Sat, 7 Apr 2018 02:30:18 +0000 (21:30 -0500)]
Merge PR #20516 into wip-sage-testing-
20180407 .023003
* refs/pull/20516/head:
os/filestore: advertise vdo in filestore metadata
os/filestore: implement thin provisioning utilization stats for VDO
os/bluestore/KernelDevice: advertise vdo and physical_size in metadata
os/bluestore/KernelDevice: implement thin utilization stats for VDO
os/bluestore: hook to expose utilization of thinly-provisioned device
common/blkdev: identify VDO devices beneath LVM
common/blkdev: implement VDO helper functions
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Sat, 7 Apr 2018 02:29:32 +0000 (21:29 -0500)]
Merge PR #20512 into wip-sage-testing-
20180407 .022843
* refs/pull/20512/head:
osd: osd_mon_report_interval_min -> osd_mon_report_interval, kill _max
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Sat, 7 Apr 2018 02:28:58 +0000 (21:28 -0500)]
githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 7 Apr 2018 02:27:20 +0000 (21:27 -0500)]
Merge PR #21033 into wip-sage-testing-
20180407 .022623
* refs/pull/21033/head:
buffer: kill push_front
tools/RadosDump: avoid bufferlist::push_front
os/filestore/FileJournal: avoid push_front
erasure-code: avoid bufferlist::push_front
buffer: kill claim_prepend
unittest_compression: avoid claim_prepend
os/bluestore: avoid claim_prepend
osdc/Striper: rewrite assemble_result without push_front or claim_prepend
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
Sage Weil [Sat, 7 Apr 2018 02:27:19 +0000 (21:27 -0500)]
githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Fri, 6 Apr 2018 20:19:03 +0000 (22:19 +0200)]
Merge pull request #19594 from smithfarm/wip-doc-make-check
doc: expand developer documentation of unit tests
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
David Zafman [Fri, 6 Apr 2018 18:52:10 +0000 (11:52 -0700)]
tools: Use --no-mon-config so ceph_objectstore_tool.py test doesn't hang
Signed-off-by: David Zafman <dzafman@redhat.com>
Gregory Farnum [Fri, 6 Apr 2018 18:48:11 +0000 (11:48 -0700)]
Merge pull request #19973 from liewegas/wip-peering-fast-dispatch
osd: fast dispatch of peering events and pg_map + osd sharded wq refactor
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Wed, 21 Feb 2018 16:10:56 +0000 (10:10 -0600)]
osd: osd_mon_report_interval_min -> osd_mon_report_interval, kill _max
The _max isn't used. Drop the _min suffix.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 Apr 2018 15:59:23 +0000 (10:59 -0500)]
Merge pull request #21250 from liewegas/wip-recovery-slow-ops
qa/suites/rados/singleton/all/recovery_preemption: whitelist SLOW_OPS
Sage Weil [Fri, 6 Apr 2018 15:38:45 +0000 (10:38 -0500)]
qa/suites/rados/singleton/all/ec-lost-unfound: whitelist SLOW_OPS
Signed-off-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Fri, 6 Apr 2018 14:36:34 +0000 (16:36 +0200)]
Merge pull request #21239 from rjfd/wip-dashboard-routes
mgr/dashboard: using RoutesDispatcher as HTTP request dispatcher
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Joao Eduardo Luis [Fri, 6 Apr 2018 14:22:28 +0000 (15:22 +0100)]
Merge pull request #19331 from jecluis/wip-mon-osdmap-prune
mon: osdmap prune
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Stephan Müller [Fri, 6 Apr 2018 08:53:17 +0000 (10:53 +0200)]
mgr/dashboard: Fix the data table action selector
Signed-off-by: Stephan Müller <smueller@suse.com>
Casey Bodley [Fri, 6 Apr 2018 13:52:55 +0000 (09:52 -0400)]
Merge pull request #20464 from cbodley/wip-rgw-beast-ssl
rgw: add ssl support to beast frontend
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Nathan Cutler [Fri, 6 Apr 2018 12:18:37 +0000 (14:18 +0200)]
doc: dev: improve headings within Testing chapter
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Boris Ranto [Fri, 6 Apr 2018 10:02:41 +0000 (12:02 +0200)]
rgw: Sanitize rgw perf counter names
The rgw perf counters are currently being named by the rgw names (i.e.
client.rgw.<name>.<something>). This changes their names to something
more sane like rgw.<something>. This also makes data exported by
prometheus ceph-mgr module a lot more useful as you do not need to use
the rgw name to get the metrics for an rgw.
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Fri, 6 Apr 2018 09:19:22 +0000 (11:19 +0200)]
mgr: Expose rgw perf counters
We are filtering rgw perf counters in mgr_module. This commit allows us
to expose rgw perf counters to the mgr modules. This also directly
exports the rgw perf counters via prometheus module since the module
calls the get_all_perf_counters method to get all the perf counters and
then it exports them.
Signed-off-by: Boris Ranto <branto@redhat.com>
Lenz Grimmer [Fri, 6 Apr 2018 09:07:01 +0000 (11:07 +0200)]
Merge pull request #21128 from ricardoasmarques/wip-usage-bar
mgr/dashboard: Add usage bar component
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Fri, 6 Apr 2018 08:50:45 +0000 (10:50 +0200)]
Merge pull request #21240 from rjfd/wip-dashboard-task-fixes
mgr/dashboard: TaskManager bug fixes
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Joao Eduardo Luis [Wed, 21 Feb 2018 12:37:56 +0000 (12:37 +0000)]
qa: enable mon osdmap pruning on 'rados/' suites
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Tue, 20 Feb 2018 15:47:57 +0000 (15:47 +0000)]
qa: enable mon osdmap pruning on rados/monthrash
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Fri, 24 Nov 2017 22:46:55 +0000 (22:46 +0000)]
qa: mon: osdmap pruning standalone/workunit
Keep a standalone wrapper for the workunit, so we can test it locally,
leveraging the ceph-helpers to do the setup. Keep a workunit to be
exercised by teuthology.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Tue, 20 Feb 2018 15:42:39 +0000 (15:42 +0000)]
qa/standalone: change PATH to allow finding sysctl
If, by default, a user's PATH does not contain /sbin and /usr/sbin, we
may have a hard time finding sysctl to adjust the kernel core pattern.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 14 Feb 2018 20:57:57 +0000 (20:57 +0000)]
qa/standalone: deduplicate cleanup code
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 14 Feb 2018 12:20:59 +0000 (12:20 +0000)]
qa/standalone: discard pipe in sysctl kernel.core_pattern
At least verified in openSUSE tumbleweed and ubuntu 16.04,
`sysctl -n kernel.core_pattern` returns a pipe at the start of the
value. We reset core_pattern to its original form once the script is
about to end, but if we do not discard the pipe the new value will
contain an extra pipe (apparently, the pipe is added automatically at
some point, possibly simply on read). We are simply stripping it on
read, as to prevent this behavior.
Additionally, we are also enclosing the reset of kernel.core_pattern in
quotes, so as to make sure patterns that include spaces (e.g., ubuntu's
apport, or tumbleweed's systemd-coredump) are properly reset.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Fri, 24 Nov 2017 22:46:04 +0000 (22:46 +0000)]
mon/OSDMonitor: allow triggering prunes from tick()
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Mon, 4 Dec 2017 23:38:31 +0000 (23:38 +0000)]
mon/OSDMonitor: allow blocking trim if option is enabled
We need to allow blocking osdmap trimming to test osdmap pruning.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Thu, 23 Nov 2017 17:18:39 +0000 (17:18 +0000)]
mon/OSDMonitor: dump osdmap manifest alongside other infos
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Tue, 10 Oct 2017 19:17:11 +0000 (20:17 +0100)]
mon/OSDMonitor: prune full maps on encode_pending
If we have gone over a safety threshold for number of versions, start
pruning full osdmaps, poking holes in the sequence. To make up for the
missing maps, we will rebuild full maps based on the incremental maps
and the closest pinned full map we have available.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Thu, 23 Nov 2017 17:09:31 +0000 (17:09 +0000)]
doc: add dev notes for mon's full osdmap pruning
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Sage Weil [Fri, 6 Apr 2018 02:47:48 +0000 (21:47 -0500)]
osd: legacy pg_create creates pg in current epoch
For the legacy create path, we pregenerate the history and instantiate
the PG at the current epoch.
Signed-off-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Fri, 6 Apr 2018 02:00:46 +0000 (04:00 +0200)]
Merge pull request #21127 from smithfarm/wip-make-dist-py3
build/ops: make-dist: fall back to python3
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Patrick Donnelly [Fri, 6 Apr 2018 00:03:18 +0000 (17:03 -0700)]
Merge PR #21238 into master
* refs/pull/21238/head:
doc: fix typos and other minor errors in cephfs-nfs doc
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 6 Apr 2018 00:02:20 +0000 (17:02 -0700)]
Merge PR #21204 into master
* refs/pull/21204/head:
mds: PendingReleaseNotes and dev doc for open file table
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Thu, 5 Apr 2018 21:37:05 +0000 (17:37 -0400)]
rgw: beast frontend calls shutdown before closing connections
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 16 Mar 2018 20:33:09 +0000 (16:33 -0400)]
qa/rgw: verify suite tests beast with ssl
instead of adding special frontend configs like civetweb_ssl.yaml and
beast_ssl.yaml, added a new proto/ subdirectory for http.yaml and
https.yaml
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 6 Feb 2018 22:06:11 +0000 (17:06 -0500)]
rgw: add ssl support to beast frontend
adds frontend options ssl_certificate, ssl_private_key, ssl_port, ssl_endpoint
Fixes: http://tracker.ceph.com/issues/22832
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 23 Jan 2018 03:24:23 +0000 (22:24 -0500)]
rgw: factor the tcp::socket out of ClientIO
remove ClientIO's dependency on a concrete socket type by moving it into
a derived StreamIO class in rgw_asio_frontend.cc
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Matt Benjamin [Thu, 5 Apr 2018 18:57:41 +0000 (14:57 -0400)]
Merge pull request #20992 from cbodley/wip-dmclock-remove-by-ptr
dmclock: update mClockPriorityQueue with changes in subtree
Sage Weil [Thu, 5 Apr 2018 18:07:53 +0000 (13:07 -0500)]
mon/OSDMonitor: fix warnings
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 5 Apr 2018 18:04:09 +0000 (13:04 -0500)]
mon/OSDMonitor: keep sending legacy create messages for now
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 5 Apr 2018 17:55:18 +0000 (12:55 -0500)]
Merge pull request #21261 from batrick/ceph-update-ceph-object-corpus
ceph-object-corpus: update to fix make check
Patrick Donnelly [Thu, 5 Apr 2018 17:50:32 +0000 (10:50 -0700)]
ceph-object-corpus: update to fix make check
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Jason Dillaman [Wed, 4 Apr 2018 15:48:56 +0000 (11:48 -0400)]
librbd: discard should wait for in-flight cache writeback to complete
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 4 Apr 2018 15:47:05 +0000 (11:47 -0400)]
osdc/ObjectCacher: allow discard to complete in-flight writeback
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Thu, 5 Apr 2018 13:14:13 +0000 (15:14 +0200)]
Merge pull request #21148 from wjwithagen/wjw-setup-virtualenv
tools: FreeBSD basic getopt does not use --options
Reviewed-by: Nathan Cutler <ncutler@suse.com>
John Spray [Thu, 5 Apr 2018 11:00:40 +0000 (12:00 +0100)]
Merge pull request #21237 from guzhongyan/zabbix-fix
mgr/zabbix: Fix wrong log message
Reviewed-by: John Spray <john.spray@redhat.com>