]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoMerge pull request #20445 from aclamk/wip-assert-smaller
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>
7 years agoMerge pull request #20887 from liewegas/wip-kill-backlog
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>
7 years agoMerge pull request #20836 from xiexingguo/wip-balancer-05
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>
7 years agoMerge pull request #20857 from zealoussnow/wip-leozhang
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>
7 years agoMerge pull request #20690 from myoungwon/wip-manifest-num-counter
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>
7 years agoMerge pull request #20652 from shangfufei/wip-common
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>
7 years agoMerge pull request #20886 from liewegas/wip-kill-min-max
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>
7 years agoMerge pull request #20321 from jcsp/wip-22918
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>
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 agoosd/osd_types: remove backlog type for pg_log_entry_t 20887/head
Sage Weil [Wed, 14 Mar 2018 02:20:11 +0000 (21:20 -0500)]
osd/osd_types: remove backlog type for pg_log_entry_t

Signed-off-by: Sage Weil <sage@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 agoinclude: kill MIN and MAX macros 20886/head
Sage Weil [Wed, 14 Mar 2018 02:16:42 +0000 (21:16 -0500)]
include: kill MIN and MAX macros

Use std::min and std::max instead.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PrimaryLogPG: MIN -> std::min
Sage Weil [Wed, 14 Mar 2018 02:16:29 +0000 (21:16 -0500)]
osd/PrimaryLogPG: MIN -> std::min

Signed-off-by: Sage Weil <sage@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 agoosd/bluestore: delete unused variable in KernelDevice 20857/head
Leo Zhang [Tue, 13 Mar 2018 05:07:53 +0000 (13:07 +0800)]
osd/bluestore: delete unused variable in KernelDevice

Signed-off-by: Leo Zhang <nguzcf@gmail.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 agopybind/mgr/balancer: add sanity check against empty adjusted_map 20836/head
xie xingguo [Mon, 12 Mar 2018 00:57:18 +0000 (08:57 +0800)]
pybind/mgr/balancer: add sanity check against empty adjusted_map

E.g., because all OSDs are marked as **out**.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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 agoosd: add num_object_manifest to count manifest object 20690/head
myoungwon oh [Fri, 2 Mar 2018 07:39:53 +0000 (16:39 +0900)]
osd: add num_object_manifest to count manifest object

Signed-off-by: Myoungwon Oh <omwmw@sk.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>
7 years agoPrimaryLogPG: only trim up to osd_pg_log_trim_max entries at once 20827/head
Josh Durgin [Thu, 8 Mar 2018 03:31:59 +0000 (22:31 -0500)]
PrimaryLogPG: only trim up to osd_pg_log_trim_max entries at once

This prevents the fix for http://tracker.ceph.com/issues/22050 or
potential future bugs from causing too much latency by trimming too
many log entries at once.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
7 years agovstart.sh: use proper variables for ceph.conf and dev dir 20826/head
Sage Weil [Fri, 9 Mar 2018 23:00:43 +0000 (17:00 -0600)]
vstart.sh: use proper variables for ceph.conf and dev dir

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoPG, PrimaryLogPG: trim log and rollback info for error log entries
Josh Durgin [Thu, 8 Mar 2018 03:09:19 +0000 (22:09 -0500)]
PG, PrimaryLogPG: trim log and rollback info for error log entries

Regular updates piggyback some osd state for this purpose with
MOSDRepOp[Reply]. Do the same thing for pure log entry updates (write
errors and lost/revert additions) via MOSDPGUpdateLogMissing[Reply].

Fixes: http://tracker.ceph.com/issues/22050
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/rgw: verify suite tests civetweb with ssl 20444/head
Casey Bodley [Tue, 13 Feb 2018 18:43:46 +0000 (13:43 -0500)]
qa/rgw: verify suite tests civetweb with ssl

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/rgw: loop over clients instead of config keys
Casey Bodley [Mon, 5 Mar 2018 20:22:53 +0000 (15:22 -0500)]
qa/rgw: loop over clients instead of config keys

we only run radosgw instances on clients that are specified directly in
the rgw task - this list omits entries that are brought in via overrides

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/rgw: s3test task overrides REQUESTS_CA_BUNDLE to use system certs
Casey Bodley [Thu, 15 Feb 2018 15:40:35 +0000 (10:40 -0500)]
qa/rgw: s3test task overrides REQUESTS_CA_BUNDLE to use system certs

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/rgw: s3test task conditionally sets is_secure
Casey Bodley [Tue, 13 Feb 2018 18:42:31 +0000 (13:42 -0500)]
qa/rgw: s3test task conditionally sets is_secure

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/rgw: ragweed task conditionally sets is_secure
Casey Bodley [Mon, 5 Mar 2018 15:33:45 +0000 (10:33 -0500)]
qa/rgw: ragweed task conditionally sets is_secure

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/rgw: swift task conditionally sets auth_ssl
Casey Bodley [Wed, 14 Feb 2018 19:03:48 +0000 (14:03 -0500)]
qa/rgw: swift task conditionally sets auth_ssl

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/rgw: add ssl certificate option for rgw frontend config
Casey Bodley [Tue, 13 Feb 2018 18:26:09 +0000 (13:26 -0500)]
qa/rgw: add ssl certificate option for rgw frontend config

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/rgw: add class for rgw endpoints
Casey Bodley [Wed, 21 Feb 2018 16:19:48 +0000 (11:19 -0500)]
qa/rgw: add class for rgw endpoints

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa: add task to generate ssl certificates
Casey Bodley [Mon, 12 Feb 2018 16:10:21 +0000 (11:10 -0500)]
qa: add task to generate ssl certificates

Signed-off-by: Casey Bodley <cbodley@redhat.com>