Commit Graph

91670 Commits

Author SHA1 Message Date
Sage Weil
9ab9dcfc0d 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>
2018-10-30 15:09:45 -05:00
Sage Weil
042e48f96d 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>
2018-10-30 15:08:00 -05:00
Sage Weil
b709b82897 Merge PR #24534 into master
* refs/pull/24534/head:
	librados: Copy buffer on AIO read

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-30 15:07:44 -05:00
Sage Weil
964ee003df 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>
2018-10-30 15:06:45 -05:00
Sage Weil
68c9250e83 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>
2018-10-30 15:06:25 -05:00
Sage Weil
166c34a265 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>
2018-10-30 15:06:10 -05:00
Sage Weil
00a13c2d77 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>
2018-10-30 15:05:51 -05:00
Yehuda Sadeh
b5c14e512e
Merge pull request #22132 from yehudasa/wip-menv
ceph-menv: mrun shell environment

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-30 09:00:19 -07:00
Sage Weil
96dd773d13 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>
2018-10-30 10:20:02 -05:00
Lenz Grimmer
fbb9bfd71d
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>
2018-10-30 15:58:01 +01:00
Lenz Grimmer
105151089b
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>
2018-10-30 15:50:31 +01:00
Sage Weil
22d78ad402 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>
2018-10-30 08:47:54 -05:00
Alfredo Deza
2ebec917d3
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>
2018-10-30 09:12:17 -04:00
Stephan Müller
1244735df3 mgr/dashboard: Renamed CdFormGroups inital test description
Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-10-30 12:20:02 +01:00
Stephan Müller
5dc94fb521 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>
2018-10-30 12:20:02 +01:00
Lenz Grimmer
8f9c703d1e
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>
2018-10-30 12:19:12 +01:00
Stephan Müller
0532fce13e 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>
2018-10-30 12:03:35 +01:00
Kefu Chai
f386db6433
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>
2018-10-30 18:57:12 +08:00
John Spray
b6d884fc3d
Merge pull request #23569 from jcsp/wip-kubejacker
script/kubejacker: include cls libs

Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-30 10:29:36 +00:00
Lenz Grimmer
88719afc73
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>
2018-10-30 10:50:20 +01:00
Josh Durgin
c60bb22e0c
Merge pull request #21243 from majianpeng/osd-misc-cleanup
osd/ReplicatedBackend: remove useless assert

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-10-29 21:23:11 -07:00
Jianpeng Ma
5c5c7a59b6 osd/ReplicatedBackend: remove useless assert.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-10-30 14:48:15 +08:00
Gregory Farnum
636d05e31a
Merge pull request #13925 from nvedant07/bug_fix_1
osdmaptool/cleanup: Completed osdmaptool's usage
2018-10-29 15:16:29 -07:00
Gregory Farnum
888a07fadc
Merge pull request #24791 from falcon78921/wip-docs-demodocs
doc: added demo document changes section

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-10-29 13:45:48 -07:00
Igor Fedotov
5d6b25c3c9 os/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if
needed.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-10-29 21:14:32 +03:00
Ricardo Dias
61bf117872
mgr/dashboard: run-frontend-unittests: fix CEPH_ROOT initialization
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-10-29 15:47:14 +00:00
Ricardo Dias
9c36996b1e
mgr/dashboard: frontend: JWT authentication implementation
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-10-29 15:47:14 +00:00
Ricardo Dias
91859cc968
mgr/dashboard: run-backend-api-request.sh: support for JTW tokens
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-10-29 15:47:14 +00:00
Ricardo Dias
2f5e7c3392
mgr/dashboard: backend: JWT based authentication
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-10-29 15:47:14 +00:00
Igor Fedotov
9ec8f3d334 os/bluestore: improve error handling for migrate ops in
ceph_bluestore-tool.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-10-29 18:18:18 +03:00
Ricardo Marques
fbd4d9502c 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>
2018-10-29 15:08:56 +00:00
Sage Weil
0d166f49dc 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>
2018-10-29 08:46:43 -05:00
Sage Weil
1c081dde77 mgr/diskprediction: use global device_failure_prediction_mode setting
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-29 08:44:17 -05:00
Sage Weil
6c744ea582 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>
2018-10-29 08:42:48 -05:00
Sage Weil
c40685ebdd 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
2018-10-29 08:36:34 -05:00
Igor Fedotov
5d38f8b49b qa/standtalone/osd-bluefs-volume-ops: remove redundant code.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-10-29 16:30:36 +03:00
Lenz Grimmer
6352009a0e
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>
2018-10-29 13:07:25 +01:00
Sage Weil
bc7cfe0885 Merge PR #24796 into nautilus
* refs/pull/24796/head:
	osd: fix heartbeat_reset unlock

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-10-28 21:25:55 -05:00
Sage Weil
1a0e2f7e15 osd: fix heartbeat_reset unlock
Fixes 51d8e2457d, which moved to lock_guard
but didn't remove the unlock call on this exit path.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-28 20:22:37 -05:00
Sage Weil
039e29b5dd 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>
2018-10-28 20:11:10 -05:00
Sage Weil
9e068b9108 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>
2018-10-28 20:08:32 -05:00
Sage Weil
708f19438c 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>
2018-10-28 09:41:31 -05:00
Sage Weil
b17398aea8 Merge PR #24780 into nautilus
* refs/pull/24780/head:
	osd: take heartbeat_lock before checking for session

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2018-10-28 09:41:01 -05:00
Sage Weil
b21f436c2d 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>
2018-10-28 09:39:50 -05:00
Sage Weil
01f0818163 Merge PR #24778 into master
* refs/pull/24778/head:
	rpm: use %license macro for packaging license file

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-10-28 09:39:34 -05:00
Kefu Chai
e4fcc3887a
Merge pull request #24792 from falcon78921/wip-doc-grammar1
doc: fixed typo in man page

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-28 22:26:49 +08:00
Kefu Chai
d72842e82e
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>
2018-10-28 22:24:04 +08:00
James McClune
3b63679472
doc: fixed minor grammar error
Changed buchket to bucket

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2018-10-28 02:02:59 -04:00
James McClune
b8317f5e1e
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>
2018-10-28 01:44:17 -04:00
Radoslaw Zarzynski
5b4bb65021 osd: slightly refactor PrimaryLogPG::do_op.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-10-27 08:32:51 +02:00