Commit Graph

92062 Commits

Author SHA1 Message Date
Shiyang Ruan
1705b2ceba unittest: add testcase for librbd QosLimit.
Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
2018-11-07 13:26:39 +08:00
Shiyang Ruan
761393a955 librbd: support burst limit configuration.
Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
2018-11-07 13:25:53 +08:00
Jason Dillaman
232baf83e3 doc: tweak RBD iSCSI docs to point to merged tooling repo
Also remove all references to the ceph-client test kernel since v4.16 has been
released.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-11-06 18:06:36 -05:00
Alfredo Deza
dea7e4c688
Merge pull request #24937 from alfredodeza/wip-rm36704
ceph-volume tests.systemd update imports for systemd module

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-11-06 12:49:31 -05:00
Sage Weil
5b9be42bf5 Merge PR #15047 into master
* refs/pull/15047/head:
	tool/ceph_objectstore_tool: add new op that reset last_complete to last_update

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-06 10:47:18 -06:00
Jason Dillaman
cc592823fa
Merge pull request #24717 from trociny/wip-rbd-mirror-status-instance
rbd: show info about mirror daemon instance in image mirror status output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-06 11:11:49 -05:00
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
Alfredo Deza
a63a6c86a0 ceph-volume tests.systemd update imports for systemd module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-06 09:45:08 -05:00
Alfredo Deza
280e2baab2 ceph-volume systemd import main so console_scripts work for executable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-06 09:44:39 -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
Igor Fedotov
2078af5f82 os/bluestore: fix wal dir presence verification
Fixes: http://tracker.ceph.com/issues/36606
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-11-06 16:39:22 +03:00
Stephan Müller
a159f5a1be mgr/dashboard: Verify the RGW mail reset behavior
The current behavior when submitting an empty mail field in the RGW user form
that was previously filled was to replace it with "false".

This was a regression introduced through the use of "CdFormGroup" which had
a "_filterValue" method which converted empty strings into false, but it was
removed now.

Fixes: http://tracker.ceph.com/issues/26861
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-11-06 14:26:01 +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
Stephan Müller
56e8bca81f mgr/dashboard: Remove _filterValue in CdFormGroup
It turned out that "_filterValue" wasn't needed for any form.

Fixes: http://tracker.ceph.com/issues/26861
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-11-06 13:49:21 +01: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
Tiago Melo
b5539a4b78 mgr/dashboard: Fix "merge" audit warning
Fixes: https://tracker.ceph.com/issues/36702

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-06 11:12:34 +00:00
Tiago Melo
cf9fdf33aa mgr/dashboard: Remove unit tests warnings
Recent Angular update is causing a warning to be shown when you call
"router.navigate" outside an angular zone.

This is not affecting the code itself, just the unit tests.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-06 11:12:26 +00:00
Tiago Melo
595edd9f0e mgr/dashboard: Update remaining packages
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-06 11:12:19 +00:00
Tiago Melo
ff99794590 mgr/dashboard: Update Angular packages
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-06 11:12:11 +00:00
Tiago Melo
906dc22a35 mgr/dashboard: Update rxjs and ngx-bootstrap packages
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-06 11:11:33 +00:00
Tiago Melo
bf78a935e1 mgr/dashboard: Update prettier package
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-06 09:59:42 +00:00
hsiang41
5e72643f05 Avoid exception if remote plugin not enabled
Avoid code exception when the remote plugin not enabled.

Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
2018-11-06 16:47:12 +08: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
fd2e1f3974 os/filestore: fix merge_collection replay guards
The guards are based on spos, which does not change across the call to
_merge_collection, which means we can't open and close multiple guards
within this call.  Instead, use a single set of set_guards and closes
surrounding both the collection and temp.

Also, remove the conditional guard around _remove_collection, which we
want to (try to) do (again) as long as we didn't complete our global
replay guard.

Fixes: http://tracker.ceph.com/issues/36610
Signed-off-by: Sage Weil <sage@redhat.com>
2018-11-05 15:58:27 -06: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
Matt Benjamin
e636a56c50 rgw: move keystone secrets from ceph.conf to files
Permits setting restrictive permissions on these secrets.

Fixes: http://tracker.ceph.com/issues/36621

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2018-11-05 16:49:06 -05: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
Mykola Golub
7d2ffd981b rbd: show info about mirror instance in image mirror status output
It is particularly useful when running multiple rbd-mirror instances
in Active-Passive or Active-Active mode.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-11-05 22:34:39 +02: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
Yang Honggang
a86d560635 os/bluestore/BlueStore.cc: merge overlapping/adjacent regions before read
Fixes: http://tracker.ceph.com/issues/36625
Signed-off-by: Yang Honggang <yanghonggang@umcloud.com>
2018-11-05 14:31:23 +00: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
Tiago Melo
d6b057bdcd mgr/dashboard: Fix duplicate tasks
In certain situations a new task is already in the current summary before we
manually push it to the running task list.
Since we were not checking that, at the end of the operation we would have 2
entries for the same task and that would be displayed in the UI.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-05 12:31:34 +00: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
alfonsomthd
26c2f31f4a mgr/dashboard: update python dependency
- Updated 'requests' in requirements.txt.

Fixes: https://tracker.ceph.com/issues/36632

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2018-11-05 11:42:39 +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
hsiang41
5581577c83 Separate diskprediction local plugin from the diskprediction plugin
Separate diskprediction local plugin from the diskprediction plugin.
Devicehealth invoke device prediction function related on the global
 configuration "device_failure_prediction_mode".

Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
2018-11-05 14:09:10 +08:00
Willem Jan Withagen
77362ba518 tools: rbd-ggate uses librados C++ interface
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-11-03 19:28:56 +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