Commit Graph

89993 Commits

Author SHA1 Message Date
Ricardo Marques
5d2b0eb685 mgr/dashboard: Role management from the UI
Fixes: https://tracker.ceph.com/issues/24447

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-09-05 13:12:20 +01:00
Kefu Chai
7d8a753e5d
Merge pull request #23937 from tchaikov/wip-crimson-test-denc
test/crimson: do not use unit.cc as the driver of unittest_seastar_denc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-05 20:11:02 +08:00
Kefu Chai
b7852ff594 test/crimson: do not use unit.cc as the driver of unittest_seastar_denc
as unit.cc initializes the CephContext and all of Ceph's infratructure,
which is not necessary for the denc test. also, seastar's builtin allocator
only pre-allocates 32 << 20 bytes. it's enough for the denc test, but
not necessarily enough for create CephContext and its friends. an option is
to use seastar's app template to initialize the memory allocator properly.
another option is to avoid initializing CephContext in this test.

the latter is simpler.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-05 19:31:49 +08:00
Lenz Grimmer
7a27d62e9e mgr/dashboard: Added missing tooltip to settings icon
Fixes: https://tracker.ceph.com/issues/35686

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-09-05 12:12:53 +02:00
Lenz Grimmer
fd593fde3d
Merge pull request #23797 from votdev/fix_user_notifications
mgr/dashboard: Fix notifications in user list and form

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-09-05 10:46:18 +02:00
Kefu Chai
9d40f41199 mon/MonClient.h: include necessary header
MonClient references LockPolicy, so it should include
common/lock_policy.h .

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-05 15:53:31 +08:00
Kefu Chai
710e2a577c common/TrackedOp.h: include spinlock.h as this header uses it
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-05 15:53:31 +08:00
Kefu Chai
e2f966a800 common,crush,mds,messages,osd: add missing #include
they rely on dout.h to do this, but they should not.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-05 15:53:31 +08:00
Kefu Chai
b7b3ce87eb
Merge pull request #23816 from cyx1231st/wip-seastar-msgr-fix
crimson/net: miscellaneous fixes to seastar-msgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-05 15:45:28 +08:00
Volker Theile
7dc2b0c166 mgr/dashboard: Fix notifications in user list
The notification message title and text were inverted.

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-09-05 09:23:21 +02:00
Kefu Chai
e292369201
Merge pull request #23912 from tchaikov/wip-install-deps-openldap
install-deps: s/openldap-client/openldap24-client/

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-09-05 14:03:14 +08:00
Gangbiao Liu
8baf1a219d doc: Document correction
"doc/ceph-volume/lvm/prepare.rst":  Remove duplicated words
    "doc/radosgw/cloud-sync-module.rst": Remove duplicated words

Signed-off-by: Gangbiao Liu <liugangbiao@cmss.chinamobile.com>
2018-09-05 11:05:18 +08:00
cfanz
6e3be2461b rgw-admin: fix data sync report for master zone
Signed-off-by: cfanz <songxinying@sensetime.com>
2018-09-05 10:57:35 +08:00
xie xingguo
6923a4371b osd/PrimaryLogPG: is_degraded_on_async_recovery_target - restrict to async_recovery_targets only
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-05 09:04:09 +08:00
xie xingguo
b09dedf2e9 osd/PrimaryLogPG: update missing_loc more carefully
There could be clones and hence we should update missing_loc
based on log entry itself.

Also I think the **have** field of missing_loc is not quite accurate here
but should be fine.

Fixes: http://tracker.ceph.com/issues/35546
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-05 09:03:52 +08:00
Xie Xingguo
ae9d1f1a1c
Merge pull request #23918 from dzafman/wip-fix-assert
osd: Change assert() to ceph_assert() missed in the transition

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-05 08:51:06 +08:00
Casey Bodley
c5ba35c49d
Merge pull request #23759 from cbodley/wip-rgw-curl-timeout
rgw: raise default rgw_curl_low_speed_time to 300 seconds

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-04 17:53:45 -04:00
Casey Bodley
78835e1d2a
Merge pull request #23751 from joke-lee/wip-copy-response
rgw: etag in rgw copy result response body rather in header

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-04 17:53:31 -04:00
Casey Bodley
3ad9c61f13
Merge pull request #23749 from joke-lee/wip-etag-copy-part
rgw: fix Etag error in multipart copy response

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-04 17:53:17 -04:00
Casey Bodley
73d8aceffa
Merge pull request #23646 from ashitakasam/get_cors_err_code
rgw: the error code returned by rgw is different from amz s3 when getting cors

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-04 17:53:01 -04:00
Casey Bodley
0c292cf916
Merge pull request #23590 from yaozongyou/fix-rgw-deadlock
rgw: fix deadlock on RGWIndexCompletionManager::stop

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-04 17:52:20 -04:00
Casey Bodley
b01b3952db rgw: RGWAsyncPutSystemObjAttrs does not access coroutine memory
also exposes optional objv_tracker to RGWSimpleRadosWriteAttrsCR

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-04 17:49:01 -04:00
Casey Bodley
8539667481 rgw: RGWAsyncPutSystemObj does not access coroutine memory
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-04 17:49:01 -04:00
Casey Bodley
089db9f742 rgw: RGWAsyncGetSystemObj does not access coroutine memory
now reads the buffer/attrs into local memory, and calling coroutines
copy out the result during request_complete()

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-04 17:49:01 -04:00
David Zafman
d90fad47e1 osd: Change assert() to ceph_assert() missed in the transition
Caused by: c789fd1899f697a994a28e45a6f9262c6721d77d

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-09-04 14:40:23 -07:00
Sage Weil
8e5b219044
Merge pull request #23917 from Gangbiao/master
doc: Fix Spelling Error In File "ceph.rst"
2018-09-04 16:38:26 -05:00
Patrick Donnelly
351831834d
msg: lower verbosity on normal event
Fixes: http://tracker.ceph.com/issues/35251

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-04 12:35:24 -07:00
Jason Dillaman
221359cc89
Merge pull request #23827 from trociny/wip-mock-valgrind
test/librbd: fix valgrind warnings 

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-04 15:04:56 -04:00
Gangbiao Liu
c7f579ad44 doc: Fix Spelling Error In File "ceph.rst" and "rbd.rst"
Signed-off-by: Gangbiao Liu <liugangbiao@cmss.chinamobile.com>
2018-09-05 01:51:27 +08:00
Kefu Chai
ccbb82553b
Merge pull request #23898 from tchaikov/wip-crimson-net-cleanup
crimson/net: s/repeat/keep_doing/

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-05 01:43:29 +08:00
Kefu Chai
2b3d06b84d crimson/net: s/repeat/keep_doing/
repeat ~= while() {}
keep_doing ~= for (;;) {}

so it's simpler this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-05 00:49:23 +08:00
Kefu Chai
e4a2de952f install-deps: s/openldap-client/openldap24-client/
please refer:

https://svnweb.freebsd.org/ports/head/net/openldap24-client/
https://svnweb.freebsd.org/ports/head/net/openldap-client/

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-04 23:42:37 +08:00
Lenz Grimmer
070422f9fc
Merge pull request #23842 from votdev/issue_34315
mgr/dashboard: Display RGW user/bucket quota max size in human readable form

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-09-04 16:52:58 +02:00
Volker Theile
42cc941c76 mgr/dashboard: Remove useless code
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-09-04 16:24:08 +02:00
Ilya Dryomov
a0df578139
Merge pull request #23905 from idryomov/wip-cram-suite-repo
qa/tasks/cram: use suite_repo repository for all cram jobs

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-09-04 14:27:28 +02:00
Yingxin
b9061bb9cb crimson/net: only do zero-copy writes to out_stream
seastar doesn't support mixed buffered writes and zero-copy writes.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-09-04 20:00:25 +08:00
Yingxin
9b66c5bc11 crimson/net: init h.global_seq during handshake
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-09-04 20:00:25 +08:00
Yingxin
692932caac crimson/net: remove unused and dup global_seq
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-09-04 20:00:06 +08:00
Yingxin
b5514f15d1 crimson/net: use parameter tag in handle_connect_reply()
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-09-04 18:39:03 +08:00
Yingxin
2d61065bd7 crimson/net: support multiple call to conn.close()
It is possible while closing a connectin during a msgr shutdown,
a second close() can be called in `read_tags_until_next_message()`

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-09-04 18:37:48 +08:00
Lenz Grimmer
82412896ff
Merge pull request #23491 from p-na/per-osd-settings
mgr/dashboard: Add support for managing individual OSD settings in the backend

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-09-04 12:01:19 +02:00
李丙洋 10208981
1b82e61379 doc: Fix Spelling Error of Cephfs Shell
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
2018-09-04 17:22:17 +08:00
Lenz Grimmer
df317c8d06
Merge pull request #23735 from votdev/suggest_snapshot_name
mgr/dashboard: Auto-create a name for RBD image snapshots

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-09-04 11:18:44 +02:00
Lenz Grimmer
b88b53e4e2
Merge pull request #23627 from Devp00l/wip-hints-for-jest-failures
mgr/dashboard: Add hints to resolve unit test failures

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-09-04 10:51:06 +02:00
Xie Xingguo
3c0003d113
Merge pull request #23903 from libingyang-zte/master
doc: Fix Spelling Error of Rados Operations

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-04 15:42:08 +08:00
李丙洋 10208981
6ee66cc857 doc: Fix Spelling Error of Rados Operations
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
2018-09-04 14:01:55 +08:00
Xie Xingguo
81c6cac339
Merge pull request #23900 from libingyang-zte/master
doc: Fix Spelling Error of Rados Operations

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-04 10:24:49 +08:00
Xie Xingguo
df5c304cd3
Merge pull request #23899 from luomuyao/cleanup
rgw: drop unused tmp in main()

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-04 10:24:14 +08:00
李丙洋 10208981
97d1b83dea doc: Fix Spelling Error of Rados Operations
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
2018-09-04 09:17:28 +08:00
luomuyao
f84df604ed rgw: drop unused tmp in main()
Signed-off-by: luomuyao <luo.muyao@zte.com.cn>
2018-09-04 09:09:44 +08:00