]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
ashitakasam [Fri, 16 Mar 2018 02:51:23 +0000 (10:51 +0800)]
doc: 'daemon' is misspelled in doc/cephfs/health-messages.rst and src/tools/rbd_recover_tool/README
Signed-off-by: ashitakasam <694240887@qq.com>
Sage Weil [Sun, 18 Mar 2018 23:39:46 +0000 (18:39 -0500)]
Merge remote-tracking branch 'gh/mimic-dev2'
Sage Weil [Sun, 18 Mar 2018 22:19:11 +0000 (17:19 -0500)]
Merge pull request #20944 from liewegas/wip-23339
osd: make scrub wait for ec read/modify/writes to apply
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Sun, 18 Mar 2018 07:30:07 +0000 (02:30 -0500)]
osd/ReplciatedBackend: do not op_applied on zeroed eversion_t
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 17 Mar 2018 19:50:27 +0000 (14:50 -0500)]
osd/PG: wait for pushes and last_update_applied before requesting replica scrub
Wait on the primary for the EC backend to finish r/m/w cycles before we
ask the replicas to scrub. Otherwise we will wait on the primary but the
replicas will scrub immediately and we'll get a mismatched result!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 17 Mar 2018 16:20:06 +0000 (11:20 -0500)]
osd/ECBackend: do not op_applied on zero at_version for dummy rollforward transaction
The dummy rollforward transactions have at_version=0'0; do not call
op_applied on those.
This ensures that the op_applied call
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 17 Mar 2018 23:06:05 +0000 (18:06 -0500)]
Merge pull request #20948 from liewegas/wip-ecsubread-decode
osd/ECMsgTypes: fix ECSubRead compat decode
Reviewed-by: Myna Vajha <mynaramana@gmail.com>
Mykola Golub [Sat, 17 Mar 2018 20:16:03 +0000 (22:16 +0200)]
Merge pull request #20939 from dillaman/wip-cls-rbd-group
cls/rbd: group_image_list incorrectly flagged as RW
Reviewed-by: Mykola Golub <mgolub@suse.com>
Patrick Donnelly [Sat, 17 Mar 2018 18:30:23 +0000 (11:30 -0700)]
Merge PR #20903 into master
* refs/pull/20903/head:
PendingReleaseNotes: add note about upgrading MDS
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Wed, 14 Mar 2018 22:30:12 +0000 (15:30 -0700)]
PendingReleaseNotes: add note about upgrading MDS
Fixes: https://tracker.ceph.com/issues/23172
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Fri, 16 Mar 2018 22:47:55 +0000 (17:47 -0500)]
osd/ECMsgTypes: fix ECSubRead compat decode
Populate subchunks based on to_read, not attrs_to_read.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Mar 2018 19:57:35 +0000 (14:57 -0500)]
Partial revert "osd/PG: drop scrub machinery to wait for last_updated_applied"
This reverts commit
c489112a1dbcbb63024ba9c8c0abff6ef0c815d8 (well,
part of it).
We want the scrub machinery that will wait on an EC read/modify/write
until it has been queued with the ObjectStore, but we don't need the
parts that used to worry about queued but unapplied writes in FileStore
not being visible.
Fixes: http://tracker.ceph.com/issues/23339
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Mar 2018 19:57:27 +0000 (14:57 -0500)]
osd/PrimaryLogPG: restore op_applied in PGBackend
Call it when we queue the submitted write. For ReplicatedPG this is
inside submit_transaction(), and for ECBackend it's when we finally
submit the write for disk (possibly delayed by a read/modify/write).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Mar 2018 19:02:49 +0000 (14:02 -0500)]
Revert "osd/PG: remove last_updated_applied, op_applied()"
This reverts commit
c1c495f09754986772c28c9cc7414609572a385c .
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Mar 2018 20:13:19 +0000 (15:13 -0500)]
Merge PR #20879 into wip-sage-testing-
20180316 .201311
* refs/pull/20879/head:
qa/rgw: disable s3tests for lifecycle_expiration
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Kefu Chai [Fri, 16 Mar 2018 16:36:10 +0000 (00:36 +0800)]
Merge pull request #20911 from guzhongyan/ConfM-cleanup
mon/ConfigMonitor: clean up prepare_command()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 16 Mar 2018 16:35:30 +0000 (00:35 +0800)]
Merge pull request #20914 from ibmibmibm/patch-1
os/memstore: Fix wrong use of lock_guard
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 16 Mar 2018 16:34:29 +0000 (00:34 +0800)]
Merge pull request #20930 from badone/wip-Log-delete_type_mismatch
log: Fix AddressSanitizer: new-delete-type-mismatch
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 27 Feb 2018 22:30:16 +0000 (16:30 -0600)]
wa/standalong/mon/osd-pool-create: debug and increase delay
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Mar 2018 15:09:27 +0000 (10:09 -0500)]
osd/ECMsgTypes: print subchunks in ECSubRead operator<<
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Fri, 16 Mar 2018 13:19:32 +0000 (09:19 -0400)]
Merge pull request #20928 from dillaman/wip-dashboard-iscsi
mgr/dashboard: fix 500 error on block device iSCSI status page
Reviewed-by: Ricardo Dias <rdias@suse.com>
Casey Bodley [Fri, 16 Mar 2018 13:04:10 +0000 (09:04 -0400)]
Merge pull request #20863 from rjfd/wip-qa-fix-ssl-conflict
qa/rgw: renamed ssl task to openssl_keys
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Fri, 16 Mar 2018 12:59:08 +0000 (08:59 -0400)]
cls/rbd: group_image_list incorrectly flagged as RW
Fixes: http://tracker.ceph.com/issues/23388
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 15 Mar 2018 21:41:20 +0000 (17:41 -0400)]
mgr/dashboard: fix 500 error on block device iSCSI status page
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Ricardo Dias [Fri, 16 Mar 2018 09:38:52 +0000 (09:38 +0000)]
Merge pull request #20925 from rjfd/wip-dashboard-fix-qa
qa/suites/rados/mgr/tasks/dashboard_v2: add fail_on_skip = false
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ricardo Dias [Thu, 15 Mar 2018 16:38:14 +0000 (16:38 +0000)]
qa/suites/rados/mgr/tasks/dashboard: add fail_on_skip = false
This commit prevents dashboard API tests to be tagged as failed when
some test is decorated with @skip.
Signed-off-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Fri, 16 Mar 2018 08:36:51 +0000 (16:36 +0800)]
Merge pull request #20912 from rjfd/wip-dashboard-rename
mgr/dashboard: replace dashboard with dashboard_v2
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ricardo Dias [Thu, 15 Mar 2018 08:50:22 +0000 (08:50 +0000)]
mgr/dashboard: renamed dashboard_v2 to dashboard
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Thu, 15 Mar 2018 08:21:17 +0000 (08:21 +0000)]
mgr/dashboard: remove dashboard module
Signed-off-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Fri, 16 Mar 2018 03:23:02 +0000 (11:23 +0800)]
Merge pull request #20916 from tspmelo/fix-mgr-perf-counter
mgr/dashboard_v2: fix test_perf_counters_mgr_get
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 16 Mar 2018 03:20:48 +0000 (11:20 +0800)]
Merge pull request #20892 from guzhongyan/fix-mgrc
mgr: fix MSG_MGR_MAP handling
Reviewed-by: John Spray <john.spray@redhat.com>
Josh Durgin [Thu, 15 Mar 2018 22:39:34 +0000 (15:39 -0700)]
Merge pull request #19811 from neha-ojha/wip-async-recovery
osd: async recovery
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Thu, 15 Mar 2018 21:07:09 +0000 (16:07 -0500)]
Merge pull request #20922 from idryomov/wip-osdmap-encoding-fix
osd/OSDMap: fix HAVE_FEATURE logic in encode()
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Mar 2018 21:02:30 +0000 (16:02 -0500)]
Merge remote-tracking branch 'gh/mimic-dev2'
# Conflicts:
# qa/standalone/osd/repro_long_log.sh
Sage Weil [Thu, 15 Mar 2018 20:59:58 +0000 (15:59 -0500)]
Merge pull request #20917 from liewegas/wip-no-query-debug
osd: debug dispatch_context cases where queries not sent
Reviewed-by: Josh Durgin <jduring@redhat.com>
Sage Weil [Thu, 15 Mar 2018 20:59:42 +0000 (15:59 -0500)]
Merge pull request #20918 from liewegas/wip-less-many
qa/suites/rados: fewer msgr failures
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 15 Mar 2018 20:59:22 +0000 (15:59 -0500)]
Merge pull request #20919 from liewegas/wip-cot
qa/standalone/osd/repro_long_log: no-mon-config for cot
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Neha Ojha [Thu, 15 Mar 2018 19:59:28 +0000 (12:59 -0700)]
PG: dout cleanup
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 15 Mar 2018 00:42:28 +0000 (17:42 -0700)]
PG: add async recovery and backfill to pg dout() prefix
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 15 Mar 2018 00:32:47 +0000 (17:32 -0700)]
PG: use clear_location() to clear out missing_loc
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Sun, 11 Mar 2018 05:27:23 +0000 (21:27 -0800)]
PG: use get_recovery_read to prevent race during recovery deletes
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 8 Mar 2018 16:07:57 +0000 (08:07 -0800)]
PG: handle async targets with missing clone in _rollback_to()
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 1 Mar 2018 20:01:18 +0000 (12:01 -0800)]
ECBackend: send correct stats to async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 27 Feb 2018 18:37:56 +0000 (10:37 -0800)]
qa: modify TEST_recovery_sizeup() to handle async recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 22 Feb 2018 22:09:45 +0000 (14:09 -0800)]
PG: want set size should not be below min_size
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 21 Feb 2018 16:40:48 +0000 (08:40 -0800)]
PG: clear missing_loc only during async_recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 21 Feb 2018 04:57:20 +0000 (20:57 -0800)]
PG: add location to missing_loc only during async_recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 16 Feb 2018 20:19:53 +0000 (12:19 -0800)]
PG: clear out old missing_loc in issue_repop
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 7 Feb 2018 01:42:54 +0000 (17:42 -0800)]
PG: handle degraded object in _rollback_to()
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 31 Jan 2018 02:45:58 +0000 (18:45 -0800)]
ECBackend: update pg_log missing for async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 31 Jan 2018 02:02:20 +0000 (18:02 -0800)]
PG: skip primary in peer_missing in rebuild()
Signed-off-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Thu, 15 Mar 2018 16:34:18 +0000 (11:34 -0500)]
Merge PR #20880 into wip-sage-testing-
20180315 .163409
* refs/pull/20880/head:
"Correct" license from LGPL2 to LGPL2.1
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Andrew Schoen [Thu, 15 Mar 2018 15:14:36 +0000 (16:14 +0100)]
Merge pull request #20910 from ceph/fix_callback_plugins_dir
ceph-volume: fix action plugins path in tests
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 15:09:29 +0000 (23:09 +0800)]
Merge pull request #20897 from ifed01/wip-ifed-discard-on-mkfs
os/bluestore: do SSD discard on mkfs
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 15:08:24 +0000 (23:08 +0800)]
Merge pull request #20895 from tchaikov/wip-drop-unused-options
common/options: drop unused options
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 15:07:35 +0000 (23:07 +0800)]
Merge pull request #20445 from aclamk/wip-assert-smaller
common: Make code to invoke assert() smaller.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 15:07:02 +0000 (23:07 +0800)]
Merge pull request #20887 from liewegas/wip-kill-backlog
osd/osd_types: remove backlog type for pg_log_entry_t
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Ilya Dryomov [Thu, 15 Mar 2018 14:26:21 +0000 (15:26 +0100)]
osd/OSDMap: fix HAVE_FEATURE logic in encode()
Currently clients that don't have SERVER_LUMINOUS end up being fed
v6 (i.e. luminous) encoding because they also don't have SERVER_MIMIC.
This was introduced in commit
553048fbf97a ("osd/OSDMap: track newly
removed and purged snaps in each epoch").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Sage Weil [Thu, 15 Mar 2018 13:42:14 +0000 (08:42 -0500)]
qa/standalone/osd/repro_long_log: no-mon-config for cot
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Mar 2018 13:39:28 +0000 (08:39 -0500)]
qa/suites/rados: fewer msgr failures
500 is a bit much... e.g., enough to hit timeouts forming mon quorum.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Mar 2018 13:32:14 +0000 (08:32 -0500)]
osd: debug dispatch_context cases where queries not sent
Signed-off-by: Sage Weil <sage@redhat.com>
Tiago Melo [Thu, 15 Mar 2018 12:44:52 +0000 (12:44 +0000)]
mgr/dashboard_v2: fix test_perf_counters_mgr_get
Now that we can obtain perf counters for the mgr, we need to assert that we get
more than 0 counters and that they have the desired structure.
Fixes: https://tracker.ceph.com/issues/23378
Signed-off-by: Tiago Melo <tmelo@suse.com>
Shen-Ta Hsieh(BestSteve) [Thu, 15 Mar 2018 12:31:13 +0000 (20:31 +0800)]
memstore: fix wrong use of lock_guard
std::lock_guard need a name to make RAII works properly
Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com>
Guillaume Abrioux [Thu, 15 Mar 2018 08:45:28 +0000 (09:45 +0100)]
ceph-volume: fix action plugins path in tox
because of this commit [1] in ceph-ansible tests in ceph-volume needs to
be modified accordingly.
[1] https://github.com/ceph/ceph-ansible/commit/
60d4b75f519c03fca91384f231b071793f582376
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Gu Zhongyan [Thu, 15 Mar 2018 09:35:02 +0000 (17:35 +0800)]
mon/ConfigMonitor: clean up prepare_command()
no more paxos->get_pending_transaction()
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
Kefu Chai [Thu, 15 Mar 2018 06:28:46 +0000 (14:28 +0800)]
Merge pull request #20836 from xiexingguo/wip-balancer-05
pybind/mgr/balancer: add sanity check against empty adjusted_map
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 06:27:36 +0000 (14:27 +0800)]
Merge pull request #20857 from zealoussnow/wip-leozhang
osd/bluestore: delete unused variable in KernelDevice
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Thu, 15 Mar 2018 06:26:28 +0000 (14:26 +0800)]
Merge pull request #20690 from myoungwon/wip-manifest-num-counter
osd: add num_object_manifest
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 06:24:22 +0000 (14:24 +0800)]
Merge pull request #20652 from shangfufei/wip-common
src/common: update some ms_* options to be more consistent
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Thu, 15 Mar 2018 06:22:52 +0000 (14:22 +0800)]
Merge pull request #20886 from liewegas/wip-kill-min-max
include: kill MIN and MAX macros
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 06:18:45 +0000 (14:18 +0800)]
Merge pull request #20321 from jcsp/wip-22918
mgr: initialize PyModuleRegistry sooner
Reviewed-by: Kefu Chai <kchai@redhat.com>
Brad Hubbard [Wed, 14 Mar 2018 03:55:03 +0000 (13:55 +1000)]
log: Fix AddressSanitizer: new-delete-type-mismatch
If you directly call the operator new function, you must also directly
call the operator delete function, and must manually call the
destructor as well.
Fixes: http://tracker.ceph.com/issues/23324
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Neha Ojha [Sat, 27 Jan 2018 01:32:34 +0000 (17:32 -0800)]
PG: bug fix in is_degraded_or_backfilling_object()
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 26 Jan 2018 18:36:21 +0000 (10:36 -0800)]
PG: update pg_log missing for async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Sun, 21 Jan 2018 20:50:51 +0000 (12:50 -0800)]
PG: reset async_recovery_targets after recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 19 Jan 2018 18:39:37 +0000 (10:39 -0800)]
PG: call choose_acting when there are async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 19 Jan 2018 17:49:00 +0000 (09:49 -0800)]
PG: mark recovery started when fail to get recovery_read_lock
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 18 Jan 2018 19:04:03 +0000 (11:04 -0800)]
PG: set delete flag in needs_recovery_map for deletes
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 16 Jan 2018 18:09:16 +0000 (10:09 -0800)]
PG: update missing_loc for async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 5 Jan 2018 20:32:23 +0000 (12:32 -0800)]
PG: do not block writes on async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 19 Dec 2017 21:18:25 +0000 (13:18 -0800)]
PG: modify should_send_op to handle async recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Mon, 18 Dec 2017 21:25:09 +0000 (13:25 -0800)]
osd: rename ECSubWrite parameter backfill to backfill_or_async_recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 14 Dec 2017 18:40:37 +0000 (10:40 -0800)]
PG: cleanup and fixes for async recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 29 Nov 2017 09:57:43 +0000 (15:27 +0530)]
osd: introduce acting_recovery_backfill shards
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 28 Nov 2017 03:53:31 +0000 (09:23 +0530)]
PG: initial changes required for async recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Josh Durgin [Wed, 14 Mar 2018 22:27:39 +0000 (15:27 -0700)]
Merge pull request #20901 from neha-ojha/wip-fix-mgr
qa/tasks/ceph_manager: use set_config on revived osd
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Neha Ojha [Wed, 14 Mar 2018 19:37:56 +0000 (12:37 -0700)]
qa/tasks/ceph_manager: use set_config on revived osd
Signed-off-by: Neha Ojha <nojha@redhat.com>
Andrew Schoen [Wed, 14 Mar 2018 19:21:37 +0000 (20:21 +0100)]
Merge pull request #20824 from ceph/wip-rm23259
ceph-volume process the abspath of the executable first
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
David Zafman [Wed, 14 Mar 2018 18:07:44 +0000 (11:07 -0700)]
Merge pull request #20220 from dzafman/wip-calc-stats3
osd: Improve recovery stat handling by using peer_missing and missing_loc info
Reviewed-by: Sage Weil <sage@redhat.com>
David Zafman [Fri, 2 Feb 2018 07:47:32 +0000 (23:47 -0800)]
test: osd-backfill-stats.sh parallel osd-recovery-stats.sh check() changes
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 2 Feb 2018 07:42:57 +0000 (23:42 -0800)]
test: Use "(est)" in log message when an osd doesn't have peer_missing
Consolidate check() code and common script code
TEST_recovery_multi() wasn't reliable due to delayed peer_missing
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 26 Jan 2018 18:26:53 +0000 (10:26 -0800)]
test: osd-recovery-stats.sh: New test with different missing objs on multiple OSDs
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 2 Feb 2018 20:15:17 +0000 (12:15 -0800)]
osd: Fix _update_calc_stats() to use peer_missing and missing_by_count
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 14 Mar 2018 16:50:06 +0000 (09:50 -0700)]
osd: Changes to handle sharding for EC in missing_by_count
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Sun, 4 Mar 2018 21:55:22 +0000 (15:55 -0600)]
osd/PrimaryLogPG: update missing_loc on peer recover
The MissingLoc structure already tracks locations of any missing object
on any acting OSD, and is updated on_local_recover and on_global_recover.
Update it on_peer_recover too so that the loc information (and derivative
missing_by_count info) is correct.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 2 Mar 2018 03:30:07 +0000 (21:30 -0600)]
osd/PG: MissingLoc: track location counts by upset and other
For every object in missing_loc, calculate how many known locations are in
the upset and all others, and call that loc_count_t. Keep
a map of loc_count_t to the number of missing objects with that
distribution.
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Sat, 27 Jan 2018 01:13:36 +0000 (17:13 -0800)]
test: Correction for better degraded/misplaced handling
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 1 Feb 2018 02:31:15 +0000 (18:31 -0800)]
osd: Always build peer_missing (including strays) for _update_calc_stats()
Fixes: http://tracker.ceph.com/issues/22837
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 25 Jan 2018 22:10:24 +0000 (14:10 -0800)]
osd: Fix for handling more than 1 missing target
Fix test case to test more than 1 target
Signed-off-by: David Zafman <dzafman@redhat.com>
Lenz Grimmer [Wed, 14 Mar 2018 14:57:32 +0000 (15:57 +0100)]
Merge pull request #20751 from s0nea/wip-mgr-dashboard_rbd_add
mgr/dashboard_v2: Add RBD create functionality to the Python backend
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>