]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoPG: add async recovery and backfill to pg dout() prefix
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>
7 years agoPG: use clear_location() to clear out missing_loc
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>
7 years agoPG: use get_recovery_read to prevent race during recovery deletes
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>
7 years agoPG: handle async targets with missing clone in _rollback_to()
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>
7 years agoECBackend: send correct stats to async_recovery_targets
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>
7 years agoqa: modify TEST_recovery_sizeup() to handle async recovery
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>
7 years agoPG: want set size should not be below min_size
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>
7 years agoPG: clear missing_loc only during async_recovery
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>
7 years agoPG: add location to missing_loc only during async_recovery
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>
7 years agoPG: clear out old missing_loc in issue_repop
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>
7 years agoPG: handle degraded object in _rollback_to()
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>
7 years agoECBackend: update pg_log missing for async_recovery_targets
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>
7 years agoPG: skip primary in peer_missing in rebuild()
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>
7 years agoPG: bug fix in is_degraded_or_backfilling_object()
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>
7 years agoPG: update pg_log missing for async_recovery_targets
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>
7 years agoPG: reset async_recovery_targets after recovery
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>
7 years agoPG: call choose_acting when there are async_recovery_targets
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>
7 years agoPG: mark recovery started when fail to get recovery_read_lock
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>
7 years agoPG: set delete flag in needs_recovery_map for deletes
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>
7 years agoPG: update missing_loc for async_recovery_targets
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>
7 years agoPG: do not block writes on async_recovery_targets
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>
7 years agoPG: modify should_send_op to handle async recovery
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>
7 years agoosd: rename ECSubWrite parameter backfill to backfill_or_async_recovery
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>
7 years agoPG: cleanup and fixes for async recovery
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>
7 years agoosd: introduce acting_recovery_backfill shards
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>
7 years agoPG: initial changes required for async recovery
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>
7 years agoMerge pull request #20901 from neha-ojha/wip-fix-mgr
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>
7 years ago qa/tasks/ceph_manager: use set_config on revived osd 20901/head
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>
7 years agoMerge pull request #20824 from ceph/wip-rm23259
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>
7 years agoMerge pull request #20220 from dzafman/wip-calc-stats3
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>
7 years agotest: osd-backfill-stats.sh parallel osd-recovery-stats.sh check() changes 20220/head
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>
7 years agotest: Use "(est)" in log message when an osd doesn't have peer_missing
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>
7 years agotest: osd-recovery-stats.sh: New test with different missing objs on multiple OSDs
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>
7 years agoosd: Fix _update_calc_stats() to use peer_missing and missing_by_count
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>
7 years agoosd: Changes to handle sharding for EC in missing_by_count
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>
7 years agoosd/PrimaryLogPG: update missing_loc on peer recover
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>
7 years agoosd/PG: MissingLoc: track location counts by upset and other
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>
7 years agotest: Correction for better degraded/misplaced handling
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>
7 years agoosd: Always build peer_missing (including strays) for _update_calc_stats()
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>
7 years agoosd: Fix for handling more than 1 missing target
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>
7 years agoMerge pull request #20751 from s0nea/wip-mgr-dashboard_rbd_add
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>
7 years agoMerge pull request #20878 from ceph/wip-rm23337
Andrew Schoen [Wed, 14 Mar 2018 14:02:53 +0000 (15:02 +0100)]
Merge pull request #20878 from ceph/wip-rm23337

ceph-volume document multipath support

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20804 from Devp00l/cephfs-template-fix
Lenz Grimmer [Wed, 14 Mar 2018 11:31:44 +0000 (12:31 +0100)]
Merge pull request #20804 from Devp00l/cephfs-template-fix

mgr/dashboard_v2: Fix cephfs template table usage

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #20783 from tspmelo/mgr-perf-counters
Lenz Grimmer [Wed, 14 Mar 2018 11:11:47 +0000 (12:11 +0100)]
Merge pull request #20783 from tspmelo/mgr-perf-counters

mgr/dashboard_v2: add mgr to the list of perf counters

Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #20728 from jcsp/wip-dashboard-can_run
Lenz Grimmer [Wed, 14 Mar 2018 10:48:40 +0000 (11:48 +0100)]
Merge pull request #20728 from jcsp/wip-dashboard-can_run

mgr/dashboard v2: implement can_run method

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: Add RBD create functionality 20751/head
Tatjana Dehler [Tue, 27 Feb 2018 16:04:38 +0000 (17:04 +0100)]
mgr/dashboard: Add RBD create functionality

This commit adds a basic RBD create functionality to the REST API. It enables
the POST request of the http://<host>:<port>/api/rbd API endpoint.

The commit adds also related tests.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
7 years agoMerge PR #20700 into master
Patrick Donnelly [Wed, 14 Mar 2018 03:33:11 +0000 (20:33 -0700)]
Merge PR #20700 into master

* refs/pull/20700/head:
client: use either dentry_invalidate_cb or remount_cb to invalidate kernel dcache

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #20719 into master
Patrick Donnelly [Wed, 14 Mar 2018 03:33:07 +0000 (20:33 -0700)]
Merge PR #20719 into master

* refs/pull/20719/head:
client: add new ceph_mount_perms_set function

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #20780 into master
Patrick Donnelly [Wed, 14 Mar 2018 03:32:58 +0000 (20:32 -0700)]
Merge PR #20780 into master

* refs/pull/20780/head:
doc/cephfs: mention "ceph fs set-default"
mds: include legacy_client_fscid in FSMap::dump

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #20881 into master
Patrick Donnelly [Tue, 13 Mar 2018 23:15:13 +0000 (16:15 -0700)]
Merge PR #20881 into master

* refs/pull/20881/head:
messages/MClientRequest: fix a typo so we don't output 'setfilelockrule' in logs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agomessages/MClientRequest: fix a typo so we don't output 'setfilelockrule' in logs 20881/head
Greg Farnum [Tue, 13 Mar 2018 20:50:25 +0000 (13:50 -0700)]
messages/MClientRequest: fix a typo so we don't output 'setfilelockrule' in logs

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
7 years agoceph-volume lvm.prepare simplify help menu with bluestore default flags 20878/head
Alfredo Deza [Tue, 13 Mar 2018 19:30:22 +0000 (15:30 -0400)]
ceph-volume lvm.prepare simplify help menu with bluestore default flags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.create simplify help menu with bluestore default flags
Alfredo Deza [Tue, 13 Mar 2018 19:28:28 +0000 (15:28 -0400)]
ceph-volume lvm.create simplify help menu with bluestore default flags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume document multipath support
Alfredo Deza [Tue, 13 Mar 2018 19:26:46 +0000 (15:26 -0400)]
doc/ceph-volume document multipath support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20864 from ceph/wip-cv-env-flags-fix
Andrew Schoen [Tue, 13 Mar 2018 18:56:48 +0000 (19:56 +0100)]
Merge pull request #20864 from ceph/wip-cv-env-flags-fix

ceph-volume tests use granular env vars for vagrant

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20724 from mdw-at-linuxbox/wip-master-rgw-fixbuf
Casey Bodley [Tue, 13 Mar 2018 16:02:25 +0000 (12:02 -0400)]
Merge pull request #20724 from mdw-at-linuxbox/wip-master-rgw-fixbuf

rgw: fix memory fragmentation problem reading data from client.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20872 from liewegas/wip-deterministic-cli-test
Sage Weil [Tue, 13 Mar 2018 15:52:26 +0000 (10:52 -0500)]
Merge pull request #20872 from liewegas/wip-deterministic-cli-test

test/cli/osdmaptool/test-map-pgs.t: remove nondetermimistic test

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agomgr/dashboard_v2: add mgr to the list of perf counters 20783/head
Tiago Melo [Wed, 7 Mar 2018 15:39:27 +0000 (15:39 +0000)]
mgr/dashboard_v2: add mgr to the list of perf counters

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #20739 from Jeegn-Chen/wip-reject-sse-mpcp
Yuri Weinstein [Tue, 13 Mar 2018 14:54:34 +0000 (07:54 -0700)]
Merge pull request #20739 from Jeegn-Chen/wip-reject-sse-mpcp

rgw: reject encrypted object COPY before supported

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agotest/cli/osdmaptool/test-map-pgs.t: remove nondetermimistic test 20872/head
Sage Weil [Tue, 13 Mar 2018 14:49:47 +0000 (09:49 -0500)]
test/cli/osdmaptool/test-map-pgs.t: remove nondetermimistic test

This fails randomly; determinism is good!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20811 from tspmelo/fix-table-details
Lenz Grimmer [Tue, 13 Mar 2018 12:03:00 +0000 (13:03 +0100)]
Merge pull request #20811 from tspmelo/fix-table-details

mgr/dashboard_v2: fix and improve table details

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #20757 from tspmelo/wip-chart-tooltip
Lenz Grimmer [Tue, 13 Mar 2018 11:45:18 +0000 (12:45 +0100)]
Merge pull request #20757 from tspmelo/wip-chart-tooltip

mgr/dashboard_v2: Improve charts tooltips

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoceph-volume tests use granular env vars for vagrant 20864/head
Alfredo Deza [Tue, 13 Mar 2018 10:57:57 +0000 (06:57 -0400)]
ceph-volume tests use granular env vars for vagrant

Fixes the error that would inject an extra argument to vagrant when the
environment variable is not present

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20830 from Songweibin/wip-cleanup
Xie Xingguo [Tue, 13 Mar 2018 07:06:00 +0000 (15:06 +0800)]
Merge pull request #20830 from Songweibin/wip-cleanup

osd: two cleanups

Reviewed-by: Luo Kexue <luo.kexue@zte.com.cn>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #20838 from badone/test_dump_pgstate_history-check-for-empty-output
Xie Xingguo [Tue, 13 Mar 2018 07:04:07 +0000 (15:04 +0800)]
Merge pull request #20838 from badone/test_dump_pgstate_history-check-for-empty-output

tests: Check for empty output in test_dump_pgstate_history

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20839 from guzhongyan/tree-from-cleanup
Xie Xingguo [Tue, 13 Mar 2018 07:03:31 +0000 (15:03 +0800)]
Merge pull request #20839 from guzhongyan/tree-from-cleanup

mon/OSDMonitor: clean up cmd 'osd tree-from'

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20831 from zhsj/fix-spelling
Kefu Chai [Tue, 13 Mar 2018 00:29:29 +0000 (08:29 +0800)]
Merge pull request #20831 from zhsj/fix-spelling

misc: fix various spelling errors

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: iliul <liul.stone@gmail.com>
7 years agoMerge pull request #20777 from wjwithagen/wjw-mgr_dashboard_test
John Spray [Mon, 12 Mar 2018 23:33:07 +0000 (23:33 +0000)]
Merge pull request #20777 from wjwithagen/wjw-mgr_dashboard_test

test: only test dashboard_v2 when it is enabled

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoceph-volume process the abspath of the executable first 20824/head
Alfredo Deza [Mon, 12 Mar 2018 20:52:15 +0000 (16:52 -0400)]
ceph-volume process the abspath of the executable first

So that it can always log the full path to the executable when it is
logging the 'Running command:' line

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20849 from ceph/wip-cv-env-flags
Andrew Schoen [Mon, 12 Mar 2018 18:38:10 +0000 (19:38 +0100)]
Merge pull request #20849 from ceph/wip-cv-env-flags

ceph-volume tests add optional flags for vagrant

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests add optional flags for vagrant 20849/head
Alfredo Deza [Mon, 12 Mar 2018 14:06:47 +0000 (10:06 -0400)]
ceph-volume tests add optional flags for vagrant

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20827 from jdurgin/wip-pg-log-trim-errors
Josh Durgin [Mon, 12 Mar 2018 16:00:57 +0000 (12:00 -0400)]
Merge pull request #20827 from jdurgin/wip-pg-log-trim-errors

osd: treat successful and erroroneous writes the same for log trimming

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard_v2: fix and improve table details 20811/head
Tiago Melo [Thu, 8 Mar 2018 15:37:47 +0000 (15:37 +0000)]
mgr/dashboard_v2: fix and improve table details

There was a problem with the current implementation of the table details, when
compiled in production mode, where the method that created the details element
would throw an exception.

Besides fixing that, this commit also improves the way we define the details.
Now instead of sending the component name, through the 'detailsComponent' attr,
we need to get the current selection via 'updateSelection' attr and declare the
detail component inside the cdTable and add the cdTableDetail attr to that
element.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: implement can_run checks for dashboard v2 20728/head
John Spray [Fri, 2 Mar 2018 14:57:35 +0000 (09:57 -0500)]
mgr/dashboard: implement can_run checks for dashboard v2

Should be especially handy in development environments
for giving a clear message for people who have forgotten
to build frontend bits.

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomgr/dashboard_v2: improve health page charts tooltips 20757/head
Tiago Melo [Thu, 1 Mar 2018 14:48:22 +0000 (14:48 +0000)]
mgr/dashboard_v2: improve health page charts tooltips

Extracted the charts into a new component and it is now using a new tooltip.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: improve tooltip of cephfsChart
Tiago Melo [Tue, 6 Mar 2018 18:53:14 +0000 (18:53 +0000)]
mgr/dashboard_v2: improve tooltip of cephfsChart

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: extract cephfs chart into a component
Tiago Melo [Wed, 28 Feb 2018 18:45:49 +0000 (18:45 +0000)]
mgr/dashboard_v2: extract cephfs chart into a component

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: improve tooltip of cdSparkline
Tiago Melo [Wed, 28 Feb 2018 17:53:55 +0000 (17:53 +0000)]
mgr/dashboard_v2: improve tooltip of cdSparkline

Added a new scss and class for the tooltip.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #20444 from cbodley/wip-qa-ssl
Casey Bodley [Mon, 12 Mar 2018 14:32:55 +0000 (10:32 -0400)]
Merge pull request #20444 from cbodley/wip-qa-ssl

qa/rgw: verify suite tests civetweb with ssl

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #20823 from rjfd/wip-dashboard-pools
Lenz Grimmer [Mon, 12 Mar 2018 13:11:21 +0000 (14:11 +0100)]
Merge pull request #20823 from rjfd/wip-dashboard-pools

mgr/dashboard_v2: Pool controller

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: support test task as CLI arg in rub-backend-api-tests.sh 20823/head
Ricardo Dias [Fri, 9 Mar 2018 16:44:56 +0000 (16:44 +0000)]
mgr/dashboard: support test task as CLI arg in rub-backend-api-tests.sh

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: Pool controller implementation and tests
Ricardo Dias [Fri, 9 Mar 2018 16:44:34 +0000 (16:44 +0000)]
mgr/dashboard: Pool controller implementation and tests

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #20821 from tspmelo/fix-configuration-page
Kefu Chai [Mon, 12 Mar 2018 10:46:09 +0000 (18:46 +0800)]
Merge pull request #20821 from tspmelo/fix-configuration-page

mgr/dashboard_v2: fix cluster configuration page

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #20806 from Devp00l/table-column-toggle
Lenz Grimmer [Mon, 12 Mar 2018 10:25:21 +0000 (11:25 +0100)]
Merge pull request #20806 from Devp00l/table-column-toggle

mgr/dashboard_v2: Add toggle able columns

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #20797 from rjfd/wip-dashboard-log-requests
Lenz Grimmer [Mon, 12 Mar 2018 10:23:05 +0000 (11:23 +0100)]
Merge pull request #20797 from rjfd/wip-dashboard-log-requests

mgr/dashboard: HTTP request logging

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agoMerge pull request #20765 from sebastian-philipp/dashboard_v2-no-detail_route
Lenz Grimmer [Mon, 12 Mar 2018 10:16:52 +0000 (11:16 +0100)]
Merge pull request #20765 from sebastian-philipp/dashboard_v2-no-detail_route

mgr/dashboard_v2: Removed unused `tools.detail_route()`

Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #20772 from votdev/fix_osd_details
Lenz Grimmer [Mon, 12 Mar 2018 10:12:41 +0000 (11:12 +0100)]
Merge pull request #20772 from votdev/fix_osd_details

mgr/dashboard v2: Don't show details if multiple OSDs are selected

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoqa/workunits/mon/crush_ops.sh: test osd tree-from 20839/head
Gu Zhongyan [Mon, 12 Mar 2018 09:08:34 +0000 (17:08 +0800)]
qa/workunits/mon/crush_ops.sh: test osd tree-from

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
7 years agomon/OSDMonitor: clean up cmd 'osd tree-from'
Gu Zhongyan [Mon, 12 Mar 2018 03:41:32 +0000 (11:41 +0800)]
mon/OSDMonitor: clean up cmd 'osd tree-from'
Handle 'bucket not exist' and 'not a bucket' case

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
7 years agorgw: reject encrypted object COPY before supported 20739/head
Jeegn Chen [Tue, 6 Mar 2018 05:20:07 +0000 (13:20 +0800)]
rgw: reject encrypted object COPY before supported

Current implementation does not follow S3 spec and even
may result in data corruption silently when copying
multipart objects accorss pools. So reject COPY operations
on encrypted objects before it is fully functional.

Fixes: http://tracker.ceph.com/issues/23232
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
7 years agotest: Fail upon flush_pg_stats timeout
David Zafman [Mon, 29 Jan 2018 19:06:52 +0000 (11:06 -0800)]
test: Fail upon flush_pg_stats timeout

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: Fix log messages
David Zafman [Wed, 31 Jan 2018 02:18:22 +0000 (18:18 -0800)]
osd: Fix log messages

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #20809 from idryomov/wip-librbd-discard-create-truncate
Jason Dillaman [Sun, 11 Mar 2018 01:30:45 +0000 (20:30 -0500)]
Merge pull request #20809 from idryomov/wip-librbd-discard-create-truncate

librbd: create+truncate for whole-object layered discards

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20243 from ceph/wip-cd-volume-entry
vasukulkarni [Sat, 10 Mar 2018 16:13:48 +0000 (08:13 -0800)]
Merge pull request #20243 from ceph/wip-cd-volume-entry

qa/tests: add openstack volume info + lvs for ceph-volume

7 years agomisc: fix various spelling errors 20831/head
Shengjing Zhu [Sat, 10 Mar 2018 14:36:31 +0000 (22:36 +0800)]
misc: fix various spelling errors

Signed-off-by: Shengjing Zhu <i@zhsj.me>
7 years agoMerge pull request #20826 from liewegas/wip-fix-mstart-config
Jason Dillaman [Sat, 10 Mar 2018 13:21:30 +0000 (08:21 -0500)]
Merge pull request #20826 from liewegas/wip-fix-mstart-config

vstart.sh: fix mstart variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosd: direct use of 'shard' without repeated calls 20830/head
songweibin [Sat, 10 Mar 2018 08:30:20 +0000 (16:30 +0800)]
osd: direct use of 'shard' without repeated calls

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd: drop unused header in OSD.cc
songweibin [Sat, 10 Mar 2018 04:31:00 +0000 (12:31 +0800)]
osd: drop unused header in OSD.cc

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoMerge pull request #20819 from ygtzf/wip-install-deps
Kefu Chai [Sat, 10 Mar 2018 01:32:00 +0000 (09:32 +0800)]
Merge pull request #20819 from ygtzf/wip-install-deps

install-deps.sh: fix an error condition expression

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20419 from tchaikov/wip-22748
Kefu Chai [Sat, 10 Mar 2018 01:19:27 +0000 (09:19 +0800)]
Merge pull request #20419 from tchaikov/wip-22748

common/config: add units to options

Reviewed-by: John Spray <john.spray@redhat.com>