Commit Graph

91819 Commits

Author SHA1 Message Date
Kefu Chai
0e1ec8dc20 qa: install libradospp-dev for librados_hello_world.yaml
libradospp-{dev,devel} is necessary for compiling sources in
examples/librados/hello_world.cc

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-07 14:13:48 -08:00
Kefu Chai
70a26ed476 debian: libradospp-dev should depend on libradospp1 not libradospp
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-07 14:05:25 -08:00
Kefu Chai
0e5bdd9d56 librados: remove rados_tmap_*
we have switched from tmap to omap long ago.

but keep the server side implementation around, in case ancient
client is still using these tmap APIs.

also, tmap_update() is kept, because librbd is using it for v1 image
backward compatibility.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-07 14:05:25 -08:00
Kefu Chai
0a03a4e5c1 librados: add new setxattr overload back
this change reverts b8ff781ddc

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-07 14:05:25 -08:00
Kefu Chai
28f18c4e31 librados: remove redundant IoCtx::nobjects_begin() variants
this change partially reverts 6eca7d0889

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-07 14:05:25 -08:00
Kefu Chai
6abc092dcc librados: deprecate ObjectWriteOperation::copy_from()
this change partially reverts 6eca7d0889

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-07 14:05:25 -08:00
Kefu Chai
4fe2c2018a common: remove redundant implementations
this change reverts cac1d6f936

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-07 14:05:25 -08:00
Kefu Chai
d5aa8c61fd debian: loosen the Depends of python bindings packages
- python-* packages are using the C APIs which are not changed across
librados2 and librados3.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-07 14:05:25 -08:00
Andrew Schoen
bd350433f8
Merge pull request #24977 from alfredodeza/wip-bz1644265
ceph-volume util.encryption robust blkid+lsblk detection of lockbox

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-11-07 13:11:50 -06:00
Alfredo Deza
fc3e6ea3d9 ceph-volume util.encryption robust blkid+lsblk detection of lockbox
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-07 11:47:10 -05:00
Matt Benjamin
59db1dc303
Merge pull request #24847 from pritha-srivastava/wip-rgw-assume-role-doc
rgw: Improvements to STS Lite documentation.
2018-11-07 10:39:12 -05:00
Boris Ranto
0f9816f131
Merge pull request #24841 from b-ranto/wip-deep-scrub
mgr/restful: Fix deep-scrub typo

Reviewed-by: John Spray <john.spray@redhat.com>
2018-11-07 14:48:54 +01:00
Boris Ranto
0ddc6ab2ca mgr/restful: Fix deep-scrub typo
There is a typo in implemented commands for OSD. It reads deep_scrub
instead of deep-scrub which is the true valid command.

Fixes: http://tracker.ceph.com/issues/36720
Signed-off-by: Boris Ranto <branto@redhat.com>
2018-11-07 12:39:20 +01:00
Lenz Grimmer
d98c49daeb
Merge pull request #24681 from tspmelo/wip-npm-update
mgr/dashboard: Update npm packages

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-11-07 11:55:14 +01: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
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
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
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
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
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