Commit Graph

90027 Commits

Author SHA1 Message Date
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: c789fd1899

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
Ilya Dryomov
0d8887652d qa/tasks/cram: use suite_repo repository for all cram jobs
Currently git.ceph.com is hardcoded for all cram jobs.  Testing
modifications is a pain: one needs to push to either ceph/ceph.git or
ceph/ceph-ci.git (depending on where the ceph branch is at, triggering
unnecessary builds in the latter case) and wait for the mirror to sync.
Runs scheduled against branches in developer's forks fail.

Move away from git.ceph.com to allow mixing branches and repositories,
similar to workunits.

Fixes: https://tracker.ceph.com/issues/27211
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-09-03 22:07:20 +02:00
Kefu Chai
1ccceee9a8
Merge pull request #23798 from liewegas/wip-pod-hostname
common/util: pass real hostname when running in kubernetes/rook container

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-04 00:16:10 +08:00
liu wei
a77ca3357c doc/cephfs: fixup add/remove mds docs
Signed-off-by: liu wei <liu.wei8196@zte.com.cn>
2018-09-03 23:13:59 +08:00
Lenz Grimmer
65781a4fa2
Merge pull request #23322 from ricardoasmarques/wip-role-management-api
mgr/dashboard: Add REST API for role management

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-09-03 15:43:02 +02:00
Ricardo Marques
592e4f7c10 mgr/dashboard: Add REST API for role management
Fixes: https://tracker.ceph.com/issues/25138

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-09-03 13:15:42 +01:00
Patrick Nawracay
e71466cc49 mgr/dashboard: Add support for managing individual OSD settings (backend)
Add options to mark OSDs in/out/down/reweight/lost/remove/destroy/create

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

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-09-03 12:51:04 +02:00
Volker Theile
bc52473d21 Auto-create a name for RBD image snapshots.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-09-03 12:12:25 +02:00
Yingxin
bee7be532d crimson/net: fix peer_addr sync in during handshake
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-09-03 16:29:44 +08:00
Casey Bodley
c48de27480 crimson/net: fix error category equivalence checks
consult base class for equivalence (which will match errors within
this category) before applying the extra error code mappings

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-03 16:29:26 +08:00
Casey Bodley
a94f42f181 crimson/net: add error::success = 0
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-03 16:29:00 +08:00
Xie Xingguo
76ab1dcb73
Merge pull request #23891 from libingyang-zte/master
doc: Fix Spelling Error of Rados Operations

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-03 16:14:14 +08:00
Volker Theile
8311e4b6f5 mgr/dashboard: Display RGW user/bucket quota max size in human readable form
Fixes: https://tracker.ceph.com/issues/34315

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-09-03 09:46:07 +02:00
xie xingguo
69a2cc3584 osd/PrimaryLogPG: avoid dereferencing invalid complete_to
For the auto-repair (EIO caused) case, we will not reinitialize
**complete_to** (because last_complete is equal to last_update!)
and hence there is chance that **complete_to** should aleady
point to **log.end()** before we call recover_got.

We could simply drop it here as we (already) logged the **complete_to**
iterator change in a more compatible way a few lines below.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-03 15:37:36 +08:00
李丙洋 10208981
ba7604bdb4 doc: Fix Spelling Error of Rados Operations
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
2018-09-03 09:57:44 +08:00
Alfredo Deza
ff192f493c
Merge pull request #23879 from dwahler/master
doc: add note about LVM volumes to ceph-deploy quick start

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-09-02 09:38:45 -07:00
David Wahler
ebac6e16b9 doc: add note about LVM volumes to ceph-deploy quick start
This commit also fixes some incorrect indentation that was causing
previous steps in the same section to be incorrectly numbered.

Signed-off-by: David Wahler <dwahler@gmail.com>
2018-09-02 10:43:07 -05:00