]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoqa/tests: update links for centos latest to point to 7.5 22923/head
Vasu Kulkarni [Fri, 6 Jul 2018 23:24:13 +0000 (16:24 -0700)]
qa/tests: update links for centos latest to point to 7.5

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
6 years agoMerge pull request #24406 from ivancich/wip-rgw-renew-reshard-lock
Casey Bodley [Thu, 1 Nov 2018 16:06:11 +0000 (12:06 -0400)]
Merge pull request #24406 from ivancich/wip-rgw-renew-reshard-lock

rgw: renew resharding locks to prevent expiration

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #20598 from rishabh-d-dave/fix-rbdfuse-look-for-ceph-conf
Jason Dillaman [Thu, 1 Nov 2018 13:55:58 +0000 (09:55 -0400)]
Merge pull request #20598 from rishabh-d-dave/fix-rbdfuse-look-for-ceph-conf

rbd-fuse: look for ceph.conf in standard locations

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24829 from p-na/pna-fix-docstring
Lenz Grimmer [Thu, 1 Nov 2018 13:04:39 +0000 (14:04 +0100)]
Merge pull request #24829 from p-na/pna-fix-docstring

mgr/dashboard: Fix links to external documentation

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #21767 from cfanz/wip-fix-rgw-race-condition
Matt Benjamin [Wed, 31 Oct 2018 18:56:29 +0000 (14:56 -0400)]
Merge pull request #21767 from cfanz/wip-fix-rgw-race-condition

rgw: avoid race condition in RGWHTTPClient::wait()

6 years agoMerge pull request #24810 from rhcs-dashboard/35691-landing-page-chart-improvements
Ricardo Marques [Wed, 31 Oct 2018 18:36:36 +0000 (18:36 +0000)]
Merge pull request #24810 from rhcs-dashboard/35691-landing-page-chart-improvements

mgr/dashboard: Landing Page: chart improvements

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #20794 from ghost/wip-nfs-doc-err
Matt Benjamin [Wed, 31 Oct 2018 18:30:02 +0000 (14:30 -0400)]
Merge pull request #20794 from ghost/wip-nfs-doc-err

doc: replace rgw_namespace_expire_secs with rgw_nfs_namespace_expire_secs

6 years agoMerge pull request #21599 from cfanz/wip-fix-rgw-build-error
Matt Benjamin [Wed, 31 Oct 2018 18:26:02 +0000 (14:26 -0400)]
Merge pull request #21599 from cfanz/wip-fix-rgw-build-error

rgw: fix radosgw-admin build error

6 years agoMerge pull request #19983 from gohighsec/validate_hitset
Joao Eduardo Luis [Wed, 31 Oct 2018 14:39:06 +0000 (14:39 +0000)]
Merge pull request #19983 from gohighsec/validate_hitset

mon:validate hit_set values before set

6 years agoMerge pull request #24848 from joke-lee/wip-doc-radosgw-admin
Casey Bodley [Wed, 31 Oct 2018 12:04:23 +0000 (08:04 -0400)]
Merge pull request #24848 from joke-lee/wip-doc-radosgw-admin

rgw: add --op-mask in radosgw-admin help info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24840 from ceph/wip-rm36648
Alfredo Deza [Wed, 31 Oct 2018 11:06:02 +0000 (07:06 -0400)]
Merge pull request #24840 from ceph/wip-rm36648

ceph-volume systemd import main so console_scripts work for executable

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agorgw: add --op-mask in radosgw-admin help info 24848/head
yuliyang [Wed, 31 Oct 2018 06:50:13 +0000 (14:50 +0800)]
rgw: add --op-mask in radosgw-admin help info

Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
6 years agoMerge PR #19411 into master
Sage Weil [Tue, 30 Oct 2018 22:36:55 +0000 (17:36 -0500)]
Merge PR #19411 into master

* refs/pull/19411/head:
osd: Step down RecoveryCtx from class to struct

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #19288 into master
Sage Weil [Tue, 30 Oct 2018 22:32:25 +0000 (17:32 -0500)]
Merge PR #19288 into master

* refs/pull/19288/head:
bluestore/BlueRocksEnv: Object initialization after deletion

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
6 years agoMerge PR #19142 into master
Sage Weil [Tue, 30 Oct 2018 22:18:06 +0000 (17:18 -0500)]
Merge PR #19142 into master

* refs/pull/19142/head:
doc/dev/kernel-client-troubleshooting: Add kernel dynamic debuggin

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
6 years agoMerge PR #19146 into master
Sage Weil [Tue, 30 Oct 2018 22:17:36 +0000 (17:17 -0500)]
Merge PR #19146 into master

* refs/pull/19146/head:
doc/dev/logs: Removes non-existence file path

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #19726 into master
Sage Weil [Tue, 30 Oct 2018 21:09:06 +0000 (16:09 -0500)]
Merge PR #19726 into master

* refs/pull/19726/head:
osd: Sanity check, if too full or not

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #24809 into master
Sage Weil [Tue, 30 Oct 2018 20:09:45 +0000 (15:09 -0500)]
Merge PR #24809 into master

* refs/pull/24809/head:
os/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if
os/bluestore: improve error handling for migrate ops in
qa/standtalone/osd-bluefs-volume-ops: remove redundant code.

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #21009 into master
Sage Weil [Tue, 30 Oct 2018 20:08:00 +0000 (15:08 -0500)]
Merge PR #21009 into master

* refs/pull/21009/head:
rados: fix error message for cache(-try)-flush-evict-all commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #24534 into master
Sage Weil [Tue, 30 Oct 2018 20:07:44 +0000 (15:07 -0500)]
Merge PR #24534 into master

* refs/pull/24534/head:
librados: Copy buffer on AIO read

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #24545 into master
Sage Weil [Tue, 30 Oct 2018 20:06:45 +0000 (15:06 -0500)]
Merge PR #24545 into master

* refs/pull/24545/head:
os/bluestore: debug_omit_block_device_write isn't always respected.

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24548 into master
Sage Weil [Tue, 30 Oct 2018 20:06:25 +0000 (15:06 -0500)]
Merge PR #24548 into master

* refs/pull/24548/head:
Objecter: add ignore cache flag if got redirect reply

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
6 years agoMerge PR #24599 into master
Sage Weil [Tue, 30 Oct 2018 20:06:10 +0000 (15:06 -0500)]
Merge PR #24599 into master

* refs/pull/24599/head:
os/bluestore/KernelDevice: Honor discard_granularity

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24742 into master
Sage Weil [Tue, 30 Oct 2018 20:05:51 +0000 (15:05 -0500)]
Merge PR #24742 into master

* refs/pull/24742/head:
osd: slightly refactor PrimaryLogPG::do_op.
osd: avoid unnecessary map lookups in PrimaryLogPG::do_op.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoceph-volume systemd import main so console_scripts work for executable 24840/head
Alfredo Deza [Tue, 30 Oct 2018 19:50:28 +0000 (15:50 -0400)]
ceph-volume systemd import main so console_scripts work for executable

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #22132 from yehudasa/wip-menv
Yehuda Sadeh [Tue, 30 Oct 2018 16:00:19 +0000 (09:00 -0700)]
Merge pull request #22132 from yehudasa/wip-menv

ceph-menv: mrun shell environment

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge PR #24755 into master
Sage Weil [Tue, 30 Oct 2018 15:20:02 +0000 (10:20 -0500)]
Merge PR #24755 into master

* refs/pull/24755/head:
mgr/diskprediction: use global device_failure_prediction_mode setting

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #24764 from tspmelo/wip-jest-ci
Lenz Grimmer [Tue, 30 Oct 2018 14:58:01 +0000 (15:58 +0100)]
Merge pull request #24764 from tspmelo/wip-jest-ci

mgr/dashboard: Reduce Jest logs in CI

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #24633 from Devp00l/wip-issue-36467
Lenz Grimmer [Tue, 30 Oct 2018 14:50:31 +0000 (15:50 +0100)]
Merge pull request #24633 from Devp00l/wip-issue-36467

mgr/dashboard: Add a unit test form helper class

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Cleanup imports 24829/head
Patrick Nawracay [Tue, 30 Oct 2018 13:57:49 +0000 (14:57 +0100)]
mgr/dashboard: Cleanup imports

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agomgr/dashboard: Fix links to documentations
Patrick Nawracay [Tue, 30 Oct 2018 13:41:20 +0000 (14:41 +0100)]
mgr/dashboard: Fix links to documentations

- Added anchor to Grafana in URL of OSD, Overall Performance
- Fixed URL in Object Gateway, Buckets

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agoMerge PR #24668 into master
Sage Weil [Tue, 30 Oct 2018 13:47:54 +0000 (08:47 -0500)]
Merge PR #24668 into master

* refs/pull/24668/head:
mgr/DaemonState: fix get_config_defaults locking
mgr: adjust DaemonState device index when daemon metadata is updated
mgr/DaemonState: clear devices in set_metadata

Reviewed-by: Tim Serong <tserong@suse.com>
6 years agoMerge pull request #24773 from sileht/no-scripts
Alfredo Deza [Tue, 30 Oct 2018 13:12:17 +0000 (09:12 -0400)]
Merge pull request #24773 from sileht/no-scripts

ceph-volume: use console_scripts

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agorbd-fuse: look for ceph.conf in standard locations 20598/head
Rishabh Dave [Thu, 25 Oct 2018 13:26:50 +0000 (13:26 +0000)]
rbd-fuse: look for ceph.conf in standard locations

Fixes: http://tracker.ceph.com/issues/12219
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agomgr/dashboard: Renamed CdFormGroups inital test description 24633/head
Stephan Müller [Fri, 19 Oct 2018 15:29:13 +0000 (17:29 +0200)]
mgr/dashboard: Renamed CdFormGroups inital test description

Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Use form helper in dashboard tests
Stephan Müller [Thu, 2 Aug 2018 10:48:52 +0000 (12:48 +0200)]
mgr/dashboard: Use form helper in dashboard tests

Using form helper in pool, RGW user, user and role form tests and
although in the cd-validator tests.

Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #24715 from ricardoasmarques/fix-36564
Lenz Grimmer [Tue, 30 Oct 2018 11:19:12 +0000 (12:19 +0100)]
Merge pull request #24715 from ricardoasmarques/fix-36564

mgr/dashboard: Fix ts error on iSCSI page

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Add a unit test form helper class
Stephan Müller [Thu, 2 Aug 2018 10:50:24 +0000 (12:50 +0200)]
mgr/dashboard: Add a unit test form helper class

This class helps testing forms, most methods were outsourced from the
pool form test suite.

Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #24735 from b-ranto/wip-rpm-dashboards
Kefu Chai [Tue, 30 Oct 2018 10:57:12 +0000 (18:57 +0800)]
Merge pull request #24735 from b-ranto/wip-rpm-dashboards

build/ops: rpm: Package grafana dashboards

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23569 from jcsp/wip-kubejacker
John Spray [Tue, 30 Oct 2018 10:29:36 +0000 (10:29 +0000)]
Merge pull request #23569 from jcsp/wip-kubejacker

script/kubejacker: include cls libs

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #22833 from rjfd/wip-dashboard-jwt
Lenz Grimmer [Tue, 30 Oct 2018 09:50:20 +0000 (10:50 +0100)]
Merge pull request #22833 from rjfd/wip-dashboard-jwt

mgr/dashboard: JWT authentication

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Landing Page: chart improvements 24810/head
alfonsomthd [Mon, 29 Oct 2018 20:24:03 +0000 (21:24 +0100)]
mgr/dashboard: Landing Page: chart improvements
- Updated chart colors.
- Added border for chart slices (visual impairment help).
- Adjusted chart vertical centering.

Fixes: https://tracker.ceph.com/issues/35691
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
6 years agoMerge pull request #21243 from majianpeng/osd-misc-cleanup 21486/head
Josh Durgin [Tue, 30 Oct 2018 04:23:11 +0000 (21:23 -0700)]
Merge pull request #21243 from majianpeng/osd-misc-cleanup

osd/ReplicatedBackend: remove useless assert

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoosd/ReplicatedBackend: remove useless assert. 21243/head
Jianpeng Ma [Mon, 22 Oct 2018 10:09:02 +0000 (18:09 +0800)]
osd/ReplicatedBackend: remove useless assert.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
6 years agoMerge pull request #13925 from nvedant07/bug_fix_1
Gregory Farnum [Mon, 29 Oct 2018 22:16:29 +0000 (15:16 -0700)]
Merge pull request #13925 from nvedant07/bug_fix_1

osdmaptool/cleanup: Completed osdmaptool's usage

6 years agoMerge pull request #24791 from falcon78921/wip-docs-demodocs
Gregory Farnum [Mon, 29 Oct 2018 20:45:48 +0000 (13:45 -0700)]
Merge pull request #24791 from falcon78921/wip-docs-demodocs

doc: added demo document changes section

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoos/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if 24809/head
Igor Fedotov [Mon, 29 Oct 2018 18:14:32 +0000 (21:14 +0300)]
os/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if
needed.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agomgr/dashboard: run-frontend-unittests: fix CEPH_ROOT initialization 22833/head
Ricardo Dias [Tue, 3 Jul 2018 15:57:06 +0000 (16:57 +0100)]
mgr/dashboard: run-frontend-unittests: fix CEPH_ROOT initialization

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: frontend: JWT authentication implementation
Ricardo Dias [Tue, 3 Jul 2018 10:34:11 +0000 (11:34 +0100)]
mgr/dashboard: frontend: JWT authentication implementation

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: run-backend-api-request.sh: support for JTW tokens
Ricardo Dias [Tue, 3 Jul 2018 10:33:33 +0000 (11:33 +0100)]
mgr/dashboard: run-backend-api-request.sh: support for JTW tokens

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: backend: JWT based authentication
Ricardo Dias [Tue, 3 Jul 2018 10:32:54 +0000 (11:32 +0100)]
mgr/dashboard: backend: JWT based authentication

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agoos/bluestore: improve error handling for migrate ops in
Igor Fedotov [Mon, 29 Oct 2018 15:18:18 +0000 (18:18 +0300)]
os/bluestore: improve error handling for migrate ops in
ceph_bluestore-tool.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agomgr/dashboard: Fix ts error on iSCSI page 24715/head
Ricardo Marques [Tue, 23 Oct 2018 10:20:09 +0000 (11:20 +0100)]
mgr/dashboard: Fix ts error on iSCSI page

This error only happens until initiator is connected to the target.

Fixes: https://tracker.ceph.com/issues/36564
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge PR #24686 into master
Sage Weil [Mon, 29 Oct 2018 13:46:43 +0000 (08:46 -0500)]
Merge PR #24686 into master

* refs/pull/24686/head:
os/bluestore: show compress and buffered from WriteContext
os/bluestore: fix rename race with trim on replacement onode at old name

Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agomgr/diskprediction: use global device_failure_prediction_mode setting 24755/head
Sage Weil [Thu, 25 Oct 2018 13:30:49 +0000 (08:30 -0500)]
mgr/diskprediction: use global device_failure_prediction_mode setting

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24229 into master
Sage Weil [Mon, 29 Oct 2018 13:42:48 +0000 (08:42 -0500)]
Merge PR #24229 into master

* refs/pull/24229/head:
common: drop BL_BACKWARD_COMPAT in bufferlist.
osd: OSDMap encoding uses bufferlist::contiguous_filler.
mds: encode_xattrs() uses buffer::list::contiguous_filler.
common: introduce contiguous_filler to optimize ENCODE_START.
common: optimize hole appending in bufferlist.
common: duplicate an encoding macro to suppress warnings.
common: drop backward iteration from bufferlist.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #24787 into master
Sage Weil [Mon, 29 Oct 2018 13:36:34 +0000 (08:36 -0500)]
Merge PR #24787 into master

* refs/pull/24787/head:
Merge PR #24796 into nautilus
osd: fix heartbeat_reset unlock
Merge PR #24780 into nautilus
Merge PR #24761 into nautilus
Merge PR #24651 into nautilus
osd: fix race between op_wq and context_queue
test: Make sure kill_daemons failure will be easy to find
test: Add flush_pg_stats to make test more deterministic

6 years agoqa/standtalone/osd-bluefs-volume-ops: remove redundant code.
Igor Fedotov [Mon, 29 Oct 2018 13:30:36 +0000 (16:30 +0300)]
qa/standtalone/osd-bluefs-volume-ops: remove redundant code.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge pull request #24763 from zmc/wip-36416
Lenz Grimmer [Mon, 29 Oct 2018 12:07:25 +0000 (13:07 +0100)]
Merge pull request #24763 from zmc/wip-36416

mgr/dashboard: Map dev 'releases' to master

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge PR #24796 into nautilus 24787/head
Sage Weil [Mon, 29 Oct 2018 02:25:55 +0000 (21:25 -0500)]
Merge PR #24796 into nautilus

* refs/pull/24796/head:
osd: fix heartbeat_reset unlock

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoosd: fix heartbeat_reset unlock 24796/head
Sage Weil [Mon, 29 Oct 2018 01:21:53 +0000 (20:21 -0500)]
osd: fix heartbeat_reset unlock

Fixes 51d8e2457d73c709bfa4f706793696b3ce704ff9, which moved to lock_guard
but didn't remove the unlock call on this exit path.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24774 into master
Sage Weil [Mon, 29 Oct 2018 01:11:10 +0000 (20:11 -0500)]
Merge PR #24774 into master

* refs/pull/24774/head:
cmake: update dpdk drivers/modules to accomodate dpdk submodule
spdk: update to latest v18.07

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #24666 into master
Sage Weil [Mon, 29 Oct 2018 01:08:32 +0000 (20:08 -0500)]
Merge PR #24666 into master

* refs/pull/24666/head:
include/types: fixed compile warning for signed/unsigned comparison
osd/PrimaryLogPG: uncommitted dup ops should respond with logged return code
osd/PrimaryLogPG: propagate error return codes on object copy_get ops
osd/PGLog: optionally record error return codes for extra_reqids
osd/osd_types: include PG log return codes in object copy data

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24688 into master
Sage Weil [Sun, 28 Oct 2018 14:41:31 +0000 (09:41 -0500)]
Merge PR #24688 into master

* refs/pull/24688/head:
common: make ceph_abort store same crash info as ceph_assert
global: store assert msg in global and dump to crash meta
pybind/mgr: make 'ceph crash ls' output sorted list
log: don't clear ring when dump_recent is called
ceph-crash: make clear to user that 'posted' should be directory

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24780 into nautilus
Sage Weil [Sun, 28 Oct 2018 14:41:01 +0000 (09:41 -0500)]
Merge PR #24780 into nautilus

* refs/pull/24780/head:
osd: take heartbeat_lock before checking for session

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
6 years agoMerge PR #24780 into master
Sage Weil [Sun, 28 Oct 2018 14:39:50 +0000 (09:39 -0500)]
Merge PR #24780 into master

* refs/pull/24780/head:
osd: take heartbeat_lock before checking for session
Merge PR #24725 into nautilus
qa/tasks/qemu: use unique clone directory to avoid race with workunit
mds: add missing mds_lock

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
6 years agoMerge PR #24778 into master
Sage Weil [Sun, 28 Oct 2018 14:39:34 +0000 (09:39 -0500)]
Merge PR #24778 into master

* refs/pull/24778/head:
rpm: use %license macro for packaging license file

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #24792 from falcon78921/wip-doc-grammar1
Kefu Chai [Sun, 28 Oct 2018 14:26:49 +0000 (22:26 +0800)]
Merge pull request #24792 from falcon78921/wip-doc-grammar1

doc: fixed typo in man page

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24702 from wjwithagen/wjw-fix-blkdev-serial-const
Kefu Chai [Sun, 28 Oct 2018 14:24:04 +0000 (22:24 +0800)]
Merge pull request #24702 from wjwithagen/wjw-fix-blkdev-serial-const

common: mark BlkDev::serial() const to match with its declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: fixed minor grammar error 24792/head
James McClune [Sun, 28 Oct 2018 06:02:59 +0000 (02:02 -0400)]
doc: fixed minor grammar error

Changed buchket to bucket

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agodoc: added demo document changes section 24791/head
James McClune [Sun, 28 Oct 2018 05:44:17 +0000 (01:44 -0400)]
doc: added demo document changes section

Added a brief section about how to demo Ceph documentation
changes.

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agoosd: slightly refactor PrimaryLogPG::do_op. 24742/head
Radoslaw Zarzynski [Sat, 27 Oct 2018 06:30:57 +0000 (08:30 +0200)]
osd: slightly refactor PrimaryLogPG::do_op.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #24785 from falcon78921/wip-docs-36605
Kefu Chai [Sat, 27 Oct 2018 05:07:21 +0000 (13:07 +0800)]
Merge pull request #24785 from falcon78921/wip-docs-36605

doc: purge subcommand link broken

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: used ceph osd command ref label 24785/head
James McClune [Fri, 26 Oct 2018 22:31:45 +0000 (18:31 -0400)]
doc: used ceph osd command ref label

Referenced purge subcommand info via ceph osd command label.
Fixes: https://tracker.ceph.com/issues/36605
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agoMerge PR #24761 into nautilus
Sage Weil [Sat, 27 Oct 2018 03:07:27 +0000 (22:07 -0500)]
Merge PR #24761 into nautilus

* refs/pull/24761/head:
osd: fix race between op_wq and context_queue

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
6 years agoMerge PR #24651 into nautilus
Sage Weil [Sat, 27 Oct 2018 02:07:09 +0000 (21:07 -0500)]
Merge PR #24651 into nautilus

* refs/pull/24651/head:
test: Make sure kill_daemons failure will be easy to find
test: Add flush_pg_stats to make test more deterministic

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #24743 from rzarzynski/wip-osd-avoid-osdmap-refcounting
Xie Xingguo [Sat, 27 Oct 2018 01:51:13 +0000 (09:51 +0800)]
Merge pull request #24743 from rzarzynski/wip-osd-avoid-osdmap-refcounting

 core: avoid unnecessary refcounting of OSDMap on OSD's hot paths

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #24657 from xiexingguo/wip-rm-device-class-fix
Xie Xingguo [Sat, 27 Oct 2018 01:49:57 +0000 (09:49 +0800)]
Merge pull request #24657 from xiexingguo/wip-rm-device-class-fix

mon/OSDMonitor: two "ceph osd crush class rm" fixes

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24585 into master
Patrick Donnelly [Fri, 26 Oct 2018 23:28:43 +0000 (16:28 -0700)]
Merge PR #24585 into master

* refs/pull/24585/head:
doc: add developer documentation on new cephfs reclaim interfaces

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge pull request #21094 from guzhongyan/dne-cleanup
Yuri Weinstein [Fri, 26 Oct 2018 19:25:04 +0000 (15:25 -0400)]
Merge pull request #21094 from guzhongyan/dne-cleanup

src: no 'dne' acronym in user cmd output

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #22633 from dongbula/add-dbstatistics-for-filestore
Yuri Weinstein [Fri, 26 Oct 2018 19:24:09 +0000 (15:24 -0400)]
Merge pull request #22633 from dongbula/add-dbstatistics-for-filestore

OSD: add impl for filestore to get dbstatistics

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23528 from jcsp/wip-osdmon-application
Yuri Weinstein [Fri, 26 Oct 2018 19:23:18 +0000 (15:23 -0400)]
Merge pull request #23528 from jcsp/wip-osdmon-application

mon: don't commit osdmap on no-op application ops

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agomgr/dashboard: Map dev 'releases' to master 24763/head
Zack Cerza [Thu, 25 Oct 2018 16:50:42 +0000 (10:50 -0600)]
mgr/dashboard: Map dev 'releases' to master

In CephReleaseNamePipe, we used to blindly return the "release name" portion of
the version string. This ends up e.g. returning 'nautilus' for master right
now, which causes us to link to nonexistent documentation on ceph.com.  This
change causes builds marked as 'dev' (as opposed to 'stable') to report
'master' as their release name.

Fixes: https://tracker.ceph.com/issues/36416
Signed-off-by: Zack Cerza <zack@redhat.com>
6 years agorgw: recover from incomplete reshard attempt 24406/head
J. Eric Ivancich [Wed, 17 Oct 2018 17:43:24 +0000 (13:43 -0400)]
rgw: recover from incomplete reshard attempt

In case a reshard attempt is left in an incomplete state, i.e., flags
still show resharding even though the bucket reshard lock isn't being
held, try to recover by taking the bucket reshard lock and clearing
flags associated with resharding.

This change requires access to an RGWBucketInfo object. So call stack
into this function should provide that to prevent unnecessary
work. Changes were made to provide this object.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoosd: take heartbeat_lock before checking for session 24780/head
Sage Weil [Fri, 26 Oct 2018 15:39:28 +0000 (10:39 -0500)]
osd: take heartbeat_lock before checking for session

When we open a connection, there is a short window before we attach
the session.  If a fault happens quickly, we won't get the reset, and
will persistently fail to send osd pings.

Move the lock up to avoid this.  Note that we should rarely really see
connections without sessions here anyway (except when this specific
race happens), so this should have no negative impact (by taking the lock
when we weren't before).

Fixes: http://tracker.ceph.com/issues/36602
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorgw: move RGWReshardBucket lock to its own separate class
J. Eric Ivancich [Tue, 16 Oct 2018 20:40:03 +0000 (16:40 -0400)]
rgw: move RGWReshardBucket lock to its own separate class

There are other processes beyond resharding that would need to take a
bucket reshard lock (e.g., correcting bucet resharding flags in event
of crash, tools to remove bucket shard information from earlier
versions of ceph). Pulling this logic outside of RGWReshardBucket
allows this code to be re-used.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoMerge pull request #24504 from ErwanAliasr1/evelu-ceph-volume-choose_disk
Alfredo Deza [Fri, 26 Oct 2018 15:32:37 +0000 (11:32 -0400)]
Merge pull request #24504 from ErwanAliasr1/evelu-ceph-volume-choose_disk

Additional work on ceph-volume to add some choose_disk capabilities

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoosd: fix race between op_wq and context_queue 24761/head
Sage Weil [Thu, 25 Oct 2018 19:24:02 +0000 (14:24 -0500)]
osd: fix race between op_wq and context_queue

        ThreadA                                                 ThreadB
  sdata->shard_lock.Lock();
  if (sdata->pqueue->empty() &&
     !(is_smallest_thread_index && !sdata->context_queue.empty())) {

    void queue(list<Context *>& ls) {
        bool empty = false;
                                                                       {
                                                                         std::scoped_lock l(q_mutex);
                                                                         if (q.empty()) {
                                                                           q.swap(ls);
                                                                           empty = true;
                                                                         } else {
                                                                           q.insert(q.end(), ls.begin(), ls.end());
                                                                         }
                                                                       }

                                                                       if (empty) {
                                                                         mutex.Lock();
                                                                         cond.Signal();
                                                                         mutex.Unlock();
                                                                       }
                                                                    }

     sdata->sdata_wait_lock.Lock();
    if (!sdata->stop_waiting) {

Fix by simply rechecking that context_queue is empty after taking the
wait lock.  We still check it without taking that lock to keep the hot/busy
path fast (we avoid the wait lock in general) at the expense of taking
the context_queue qlock twice in the idle/wait path (where we don't care
so much about additional latency/cycles).

Fixes: http://tracker.ceph.com/issues/36473
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorgw: failed resharding clears resharding status from shard heads
J. Eric Ivancich [Fri, 12 Oct 2018 22:07:24 +0000 (18:07 -0400)]
rgw: failed resharding clears resharding status from shard heads

Previously, when resharding failed, we restored the shard status on
the bucket info object. However the status on each of the shards was
left indicating a reshard was underway. This prevented some write
operations from taking place, as they would wait for resharding to
complete. This adds the missing functionality. It also makes the
functionality available to other classes via static functions in
RGWBucketReshard.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agorgw: change the bucket reshard lock to exclusive-ephemeral
J. Eric Ivancich [Fri, 12 Oct 2018 14:24:32 +0000 (10:24 -0400)]
rgw: change the bucket reshard lock to exclusive-ephemeral

The bucket reshard lock was simply an exclusive lock that existed on
an object solely for the purpose of representing the lock. This is now
changed to exclusvie-ephemeral lock, so as not to leave these objects
behind.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agocls: add exclusive ephemeral locks that auto-clean
J. Eric Ivancich [Fri, 12 Oct 2018 14:23:57 +0000 (10:23 -0400)]
cls: add exclusive ephemeral locks that auto-clean

Add a new type of cls lock -- exclusive ephemeral for which the
object only exists to represent the lock and for which the object
should be deleted at unlock. This is to prevent the accumulation of
unneeded objects in the cluster by automatically cleaning them up.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoMerge PR #24703 into master
Sage Weil [Fri, 26 Oct 2018 14:18:50 +0000 (09:18 -0500)]
Merge PR #24703 into master

* refs/pull/24703/head:
common: prefer std::size to ARRAY_SIZE macro

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24712 into master
Sage Weil [Fri, 26 Oct 2018 14:18:33 +0000 (09:18 -0500)]
Merge PR #24712 into master

* refs/pull/24712/head:
mgr/DaemonServer: "osd safe-to-destroy" - more verbose output

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24713 into master
Sage Weil [Fri, 26 Oct 2018 14:18:13 +0000 (09:18 -0500)]
Merge PR #24713 into master

* refs/pull/24713/head:
mon: drop repeated 'goodchars' and add osd crush ls testcase

Reviewed-by: João Eduardo Luís <joao@suse.de>
6 years agoMerge PR #24724 into master
Sage Weil [Fri, 26 Oct 2018 14:17:54 +0000 (09:17 -0500)]
Merge PR #24724 into master

* refs/pull/24724/head:
test/librados/aio: remove unused callbacks
test/librados/aio: wait for all completions properly

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #24736 into master
Sage Weil [Fri, 26 Oct 2018 14:17:23 +0000 (09:17 -0500)]
Merge PR #24736 into master

* refs/pull/24736/head:
os/tests: should read size_t options using get_val<Option::size_t>()

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24767 from votdev/issue_36581
John Spray [Fri, 26 Oct 2018 14:09:59 +0000 (15:09 +0100)]
Merge pull request #24767 from votdev/issue_36581

mgr/dashboard/qa: Fix various vstart_runner.py issues

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
6 years agorpm: use %license macro for packaging license file 24778/head
Kefu Chai [Fri, 26 Oct 2018 14:03:46 +0000 (22:03 +0800)]
rpm: use %license macro for packaging license file

see https://rpm-guide.readthedocs.io/en/latest/rpm-guide.html#rpm-macros

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: update dpdk drivers/modules to accomodate dpdk submodule 24774/head
Kefu Chai [Fri, 26 Oct 2018 11:25:35 +0000 (19:25 +0800)]
cmake: update dpdk drivers/modules to accomodate dpdk submodule

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24584 from wido/docs-zabbix-template
John Spray [Fri, 26 Oct 2018 13:30:54 +0000 (14:30 +0100)]
Merge pull request #24584 from wido/docs-zabbix-template

doc: Update mgr/zabbix plugin documentation with link to Zabbix template

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