Commit Graph

91788 Commits

Author SHA1 Message Date
Jason Dillaman
ea4411f9a1
Merge pull request #24815 from iridescent-rsy/remove-ceph_abort
rbd-nbd: do not ceph_abort() after print the usages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-06 11:11:09 -05:00
Jason Dillaman
cc06b661f9
Merge pull request #24919 from trociny/wip-tests-migration-namespace
test/librbd: migration supporting namespace tests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-06 11:10:53 -05:00
Lenz Grimmer
d96749235a
Merge pull request #24824 from Devp00l/wip-issue-36616
mgr/dashboard: Simplify OSD disabled action test

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-11-06 15:43:55 +01:00
Sage Weil
ed77be665f Merge PR #14982 into master
* refs/pull/14982/head:
	common/mempool: tolerate sum < 0
	common/ceph_context: add perf counters for all mempools
	common/ceph_common: add heartbeat perf counters unconditionally

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-06 07:25:16 -06:00
Sage Weil
05755fea76 Merge PR #20735 into master
* refs/pull/20735/head:
	msg/async: fix variable type to make it same to EventCenter::init() incoming parameter type

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-06 07:24:14 -06:00
Sage Weil
17688af0c7 Merge PR #21723 into master
* refs/pull/21723/head:
	osd: flush dirty data if cache_target_dirty_ratio = 0.0

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-11-06 07:23:50 -06:00
Sage Weil
358f326965 Merge PR #24835 into master
* refs/pull/24835/head:
	include/buffer: make static_assert c++11-safe

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-11-06 07:23:26 -06:00
Alfredo Deza
9a0c4a1a8c
Merge pull request #24881 from alfredodeza/wip-rm36672
ceph-volume tests install ceph-ansible's requirements.txt dependencies

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-11-06 07:10:59 -05:00
Lenz Grimmer
100e15ff49
Merge pull request #24766 from familyuu/crush
mgr/dashboard: CRUSH map viewer

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-11-06 09:09:21 +01:00
guodan1
53fa735feb mgr/dashboard: Add CRUSH map viewer
Fixes: http://tracker.ceph.com/issues/35684

Signed-off-by: familyuu <guodan1@lenovo.com>
2018-11-06 10:13:41 +08:00
Kefu Chai
f6cc40a5d2
Merge pull request #24920 from wjwithagen/wjw-fix-build-symbolic
cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-11-05 17:15:48 -08:00
Sage Weil
01d31d471d Merge PR #24814 into master
* refs/pull/24814/head:
	Merge PR #24804 into nautilus
	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: Neha Ojha <nojha@redhat.com>
2018-11-05 15:51:14 -06:00
Alfredo Deza
52ddb69813 ceph-volume tests install ceph-ansible's requirements.txt dependencies
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-05 16:25:20 -05:00
Jason Dillaman
b3fc22ebe3
Merge pull request #24891 from iridescent-rsy/fix-return-value
rbd: make sure the return-value 'r' will be returned

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-05 12:17:06 -05:00
Jason Dillaman
e450360f08
Merge pull request #24893 from iridescent-rsy/need-to-return
rbd: return error code when the source and distination namespace are different

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-05 12:16:07 -05:00
Lenz Grimmer
a4bc8872ee
Merge pull request #24823 from Devp00l/wip-issue-36615
[RFC] mgr/dashboard: Cleanup of OSD list methods

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-11-05 17:12:54 +01:00
Stephan Müller
4971b2d5ff mgr/dashboard: Simplify OSD disabled action test
Fixes: https://tracker.ceph.com/issues/36616
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-11-05 14:36:49 +01:00
Lenz Grimmer
de159f6d53
Merge pull request #24475 from votdev/feature_36193
mgr/dashboard: Audit REST API calls

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-11-05 13:52:09 +01:00
Jason Dillaman
bbb0fc0f17
Merge pull request #24856 from leseb/spec-rbd-mirror
spec: add missing rbd mirror bootstrap directory

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-05 07:23:42 -05:00
Lenz Grimmer
7095dae0e3
Merge pull request #24892 from p-na/pna-cleanup-pool-form-simpl
mgr/dashboard: Simplification of PoolForm method

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-11-05 13:11:38 +01:00
Willem Jan Withagen
60c6e70cc8 cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-11-05 11:27:16 +01:00
Sébastien Han
8c8d60d3c7 spec: add missing rbd mirror bootstrap directory
Currently /var/lib/ceph/bootstrap-rbd-mirror is absent, which means we
need to create it manually in order to pool the
client.bootstrap-rbd-mirror key.

Signed-off-by: Sébastien Han <seb@redhat.com>
2018-11-05 11:06:07 +01:00
Volker Theile
22e07ff1a4 mgr/dashboard: Audit REST API calls
Fixes: https://tracker.ceph.com/issues/36193

Enable API auditing with 'ceph dashboard set-audit-api-enabled true' (default is false). If you do not want to log the request payload, then disable it via 'set-audit-api-log-payload false' (default is true).

Example output:
2018-10-08 10:25:21.850994 mgr.x [INF] [DASHBOARD] from='https://[::1]:44410' path='/api/auth' method='POST' user='None' params='{"username": "admin", "password": "***", "stay_signed_in": false}'

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-11-05 10:56:28 +01:00
Mykola Golub
472abc2ed9 test/librbd: migration supporting namespace tests
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-11-03 19:36:44 +02:00
Jason Dillaman
8931f8cd14
Merge pull request #23190 from maxcuttins/master
doc: rewrote the iscsi-target-cli installation

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-03 08:48:30 -04:00
Patrick Donnelly
a71a984a39
Merge PR #24870 into master
* refs/pull/24870/head:
	client: request next osdmap for blacklisted client

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-11-02 16:59:13 -07:00
Massimiliano Cuttini
6df20fafa8 doc: rewrote the iscsi-target-cli installation
Rewrote the documentation in a step-by-step style, reformatted using RST's
titles instead of bolds, added installation of GIT if needed, added
installation of compilers needed for tcmu-runner

Signed-off-by: Massimiliano Cuttini <massimiliano.cuttini@phoenixweb.it>
2018-11-02 17:52:01 -04:00
Casey Bodley
cf9a0a28ea
Merge pull request #24895 from votdev/feature_36681
rgw: Return tenant field in bucket_stats function

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-11-02 16:28:26 -04:00
Mykola Golub
a1d8e1263a
Merge pull request #24864 from dillaman/wip-36659
rbd-mirror: update mirror status when stopping

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-11-02 22:10:01 +02:00
Mykola Golub
f59ec53a81
Merge pull request #24836 from dillaman/wip-26951
rbd: support namespaces for image migration

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-11-02 22:06:53 +02:00
Gregory Farnum
f081b10060
Merge pull request #24812 from gregsfortytwo/wip-readable-fails-on-empty
test: make readable.sh fail if it doesn't run anything

Reviewed-by:  Sage Weil <sage@redhat.com>
2018-11-02 13:02:17 -07:00
Yuri Weinstein
a24793ed6c
Merge pull request #22923 from ceph/wip-fix-latest-distro
qa/tests: update links for centos latest to point to 7.5

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2018-11-02 12:30:41 -07:00
Jason Dillaman
c9a44e8359
Merge pull request #24897 from trociny/wip-36683
test/rbd_mirror: race in TestMockImageMap.AddInstancePingPongImageTest

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-02 14:34:53 -04:00
Mykola Golub
c796aecc2e test/rbd_mirror: race in TestMockImageMap.AddInstancePingPongImageTest
Remove a context from peer_ack_ctxs before completing to avoid a race
with a listener inserting a new one.

Fixes: http://tracker.ceph.com/issues/36683
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-11-02 19:47:55 +02:00
Volker Theile
9440776f06 rgw: Return tenant field in bucket_stats function
Fixes: https://tracker.ceph.com/issues/36681

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-11-02 13:26:10 +01:00
Shiyang Ruan
e2d50a774b rbd: return error code when the source and distination namespace are different.
Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
2018-11-02 17:51:41 +08:00
Patrick Nawracay
27ee675d3c mgr/dashboard: Simplification of PoolForm method
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-11-02 08:57:37 +01:00
Shiyang Ruan
5af59e2444 rbd: make sure the return-value 'r' will be returned.
Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
2018-11-02 13:44:57 +08:00
Kefu Chai
a7bb772e11
Merge pull request #24616 from tchaikov/wip-wip-librados-3
librados: split C++ and C APIs into different source files

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-11-02 10:44:04 +08:00
Patrick Donnelly
f981e10c5f
Merge PR #24555 into master
* refs/pull/24555/head:
	doc: document optional timeout argument for `cache drop`
	mds: make timeout parameter optional for "cache drop"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-11-01 14:58:23 -07:00
Patrick Donnelly
e9fbb47150
Merge PR #24747 into master
* refs/pull/24747/head:
	client: add new routine to get fscid from a ceph_mount

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-11-01 14:53:25 -07:00
Josh Durgin
1d832401f4
Merge pull request #24868 from liewegas/wip-doc-fix
doc/rados/operations/crush-map-edits: fix 'take' syntax

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-01 14:52:24 -07:00
Vasu Kulkarni
67bfc94f17 qa/tests: update links for centos latest to point to 7.5
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2018-11-01 11:09:12 -07:00
Kefu Chai
38db3ee6c5 rpm,deb: package libceph-common.so.* not libceph-common.so*
be more explicit on what we are packaging. because only
libceph-common.so.${soversion} will be packaged, since libceph-common.so
won't be installed by cmake anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-02 00:15:31 +08:00
Kefu Chai
701136b1e2 cmake: do not create symlink for libceph-common.so.*
and bump up its soversion, so it won't conflict with libceph-common.so.0
offered by librados2.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-02 00:15:31 +08:00
Kefu Chai
b4a5f76243 qa: add librados3 to exclude list of pre-nautilus install tasks
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-02 00:15:31 +08:00
Kefu Chai
083b846198 qa: s/librados2/librados3/
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-02 00:15:31 +08:00
Kefu Chai
8c6ec85f43 doc: s/librados2/librados3/
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-02 00:15:31 +08:00
Kefu Chai
286ef1fe35 debian: s/librados2/librados3/
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-02 00:15:31 +08:00
Kefu Chai
842a57eb16 rpm: s/librados2/librados3/
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-02 00:15:31 +08:00