Commit Graph

89802 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
李丙洋 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
Sage Weil
c7916097c2 unittest_config: $host expands to ceph_get_short_hostname(), not hostname -s
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-01 15:57:27 -05:00
Sage Weil
88df536908 Merge PR #23540 into master
* refs/pull/23540/head:
	include/ceph_fs: rename old auid field
	PendingReleaseNotes: note about auid support removal
	radosgw-admin: remove -a --auth-uid arg
	rgw: remove auid member from RGWUserInfo
	auth: remove auid member from EntityAuth
	osd: remove auid session member
	mon: remove auid session member
	doc/dev/cephx_protocol: drop auid reference
	auth: remove auid args from handle_request and verify_authorizer
	mon/OSDMonitor: remove 'osd pool {get,set} <name> auid ...'
	mon/OSDMonitor: remove auid arg for 'osd lspools' and deprecate
	osd/OSDCap: remove auid from grammar
	osd/OSDCap: remove auid from is_capable() etc args
	auth: clean up cap parse error messages
	mon/AuthMonitor: raise health warning on invalid caps
	mon/AuthMonitor: drop ancient auth inc encoding compat
	messages/MPoolOp: drop auid member
	osdc/Objecter: drop change_pool_auid
	pybind/rados: drop auid arg to pool_create
	pybind/rados: drop change_auid
	rados: drop mkpool, rmpool commands
	rados: remove 'chown' command
	librados: deprecate calls that take auid
	librados: mark all auid calls deprecated
	mon/OSDMonitor: drop variable pool auid for prepare_new_pool
	mon/OSDMonitor: remove pool auid change support
	osdc/Objecter: do not pass auid to create_pool
	ceph-authtool: remove auid options
	qa/workunits/cephtool: remove auid tests

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2018-09-01 15:53:31 -05:00
Sage Weil
38817df0e9 Merge PR #23739 into master
* refs/pull/23739/head:
	mgr/telemetry: add crashdump info to report

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-01 15:53:26 -05:00
Sage Weil
012d03b30b Merge PR #23766 into master
* refs/pull/23766/head:
	BlueStore: Fix concurrency conflicts

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-01 15:53:21 -05:00