Commit Graph

96064 Commits

Author SHA1 Message Date
Sage Weil
04dad6beaf Merge PR #26822 into master
* refs/pull/26822/head:
	osd/PG: adjust pg history on fabricated merge target if necessary

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-03-16 17:15:33 -05:00
Xie Xingguo
578d8b82c8
Merge pull request #26975 from xiexingguo/wip-mon-pri-lost
mon/MonMap: always set mon priority; add it to dump

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-16 19:49:37 +08:00
Xie Xingguo
8c8c8f84e8
Merge pull request #26903 from xiexingguo/wip-ds-auth
mgr/DaemonServer: handle caps more carefully

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-16 19:48:11 +08:00
Patrick Donnelly
e9491eea19
Merge PR #26937 into master
* refs/pull/26937/head:
	doc: add package for Golang

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-03-15 08:29:58 -07:00
Casey Bodley
51b1cacc2a
Merge pull request #26981 from linuxbox2/wip-nfs-sysobj
rgw: nfs: svc-enable RGWLib

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-15 10:55:43 -04:00
Matt Benjamin
0a4d00c861
Merge pull request #26863 from linuxbox2/wip-rgw-delimiter
rgw: prefix-delimiter listing: support >1 character delimiter
2019-03-15 10:48:33 -04:00
Casey Bodley
23f52f1a00
Merge pull request #26954 from linuxbox2/wip-nfs-null-path
rgw: nfs: skip empty (non-POSIX) path segments

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2019-03-15 10:20:17 -04:00
Matt Benjamin
e9b095def4 rgw: nfs: svc-enable RGWLib
Add minimal svc_sys_obj.h boilerplate to RGWLibRequest.  Fix a
trivial illegal access from RGWPutObjProcessor's RadosWriter
when the request object is not stack allocated.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-03-15 09:53:29 -04:00
Alfredo Deza
0701ad992c
Merge pull request #26957 from ceph/wip-bz1666822
ceph-volume: look for rotational data in lsblk

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-03-15 09:12:35 -04:00
Lenz Grimmer
f49fa3005e
Merge pull request #26733 from votdev/use_boolean_text
mgr/dashboard: Use booleanText pipe

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-03-15 10:57:03 +01:00
xie xingguo
53d4fe6ba8 mon/MonMap: dump priority
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-03-15 16:17:06 +08:00
Abhishek L
114dd1651f
Merge pull request #26913 from theanalyst/doc/releases/13.2.5
doc: add release notes for 13.2.5 mimic

Reviewed-By: Sage Weil <sage@redhat.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-By: Casey Bodley <cbodley@redhat.com>
2019-03-15 09:09:53 +01:00
xie xingguo
1ff3bdea3d mon/MonMap: kill dead msgr type checking
which is unreachable.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-03-15 16:07:14 +08:00
xie xingguo
81d0ec148f mon/MonMap: fix mon priority
The mon priorities, if specified by configuration or through DNS,
might get lost in some scenarios.

Since the caller(s) of _add_ambiguous_addr should have taken good
care of the priority parameter in all cases (e.g., caller will
guarantee to pass in a sane (zeroed) value if unspecified), it should
be safe to apply priority unconditionally.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-03-15 15:52:28 +08:00
Kefu Chai
075329760e
Merge pull request #26581 from tchaikov/wip-async/rdma
msg/async/rdma: set/get silence warning

Reviewed-by: Haomai Wang <haomai@xsky.com>
2019-03-15 14:18:22 +08:00
IrekFasikhov
76e94f8848 doc: add package for Golang
Fixes: http://tracker.ceph.com/issues/38730
Signed-off-by: Irek Fasikhov <malmyzh@gmail.com>
2019-03-15 08:42:57 +03:00
Sage Weil
fc17e58a0c Merge remote-tracking branch 'gh/nautilus' 2019-03-14 17:32:28 -05:00
Sage Weil
f1ab4ee685 Merge PR #26905 into nautilus
* refs/pull/26905/head:
	mgr: Cleanup get_localized_module_option function

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-03-14 17:17:25 -05:00
Andrew Schoen
de748f9aef ceph-volume: look for rotational data in lsblk
Also ask lsblk if a device is rotational if no information
is found in /sys/block, default to True if nothing is found.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1666822

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2019-03-14 15:43:19 -05:00
Matt Benjamin
a53e6c1d5b rgw: nfs: skip empty (non-POSIX) path segments
Such a path could be created through S3 upload,
e.g., s3://my_files//data/file.pdf.

Previously we asserted for this case, but it's harmless--such a
path segment should just be ignored.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-03-14 14:03:33 -04:00
Matt Benjamin
d27071a4be
Merge pull request #26569 from theanalyst/bucket-permission-fixes
rgw: return ERR_NO_SUCH_BUCKET early while evaluating bucket policy
2019-03-14 13:55:40 -04:00
Casey Bodley
888e421970
Merge pull request #26908 from theanalyst/mdlog-bump-level
rgw_sync: drop ENOENT error logs from mdlog

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-14 13:46:59 -04:00
Casey Bodley
e895a51aee
Merge pull request #26911 from linuxbox2/wip-ldap-f
rgw: ldap: fix LDAPAuthEngine::init() when uri !empty()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-14 13:45:41 -04:00
Sage Weil
d216aed387 Merge PR #26875 into nautilus
* refs/pull/26875/head:
	common: implement HMACs on top of OpenSSL.
	msg/async, v2: switch the pre-auth mechanism to HMAC-SHA256.
	include/types: beef sha_digest_t up with encode and compare.
	auth: add hmac_sha256() to CryptoKey.
	msg/async, v2: introduce pre_auth exchanges with CRC32.
	msg/async, v2: introduce pre_auth buffers.
	msg/async, v2: rectify the encapsulation of rx_segments_{desc,data}.
	msg/async, v2: rework decoding of MessageFrame.
	msg/async, v2: limit the num_segments to non-empty segments.
	msg/async, v2: drop the bl onwire space optimization in ControlFrames.
	msg/async, v2: clean up ret handling in ProtocolV2::write().
	msg/async, v2: drop next_payload_len as we don't need anymore.
	msg/async, v2: drop temp_buffer and limitations driven by it.
	msg/async, v2: switch to rx_buffer_t entirely.
	msg/async, v2: rx continuations use buffer::ptr_node.
	msg/async, v2: use bptr continuation for segment reading.
	msg/async: introduce bptr-carrying continuations.
	msg/async: replace CONTINUATION_PARAM() with specialized types.
	msg/async, v2: ::_banner_exchange() takes CtRef instead of CtPtr.
	msg/async: avoid extra pointers in continuation definitions.
	msg/async, v2: dissect setting stream handlers into ::finish_auth().
	msg/async, v2: drop ceph_msg_header2 handling from ControlFrames.
	msg/async, v2: drop the SignedEncryptedFrame entirely.
	msg/async, v2: reintroduce segment aligment. It's compile-time now.
	msg/async, v2: generalize Frame about number of segments.
	msg/async, v2: rework and generalize Frame encryption.
	msg/async, v2: rework the class hierarchy - introduce MessageFrame.
	msg/async, v2: rework the class hierarchy - introduce ControlFrame.
	msg/async/ProtocolV2: remove obsolete AuthFlags

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-14 10:04:14 -05:00
Jason Dillaman
bf53d69b7e
Merge pull request #26918 from trociny/wip-rbd-bench-wait-on-interrupted
rbd: wait for all io complete when bench is interrupted

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-03-14 10:27:03 -04:00
Volker Theile
9dc6de446d mgr: Cleanup get_localized_module_option function
Address comments from https://github.com/ceph/ceph/pull/26736.

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-03-14 13:43:29 +01:00
Sage Weil
7831b989e8 Merge PR #26948 into nautilus
* refs/pull/26948/head:
	rbd-nbd: fix segfault for list-mapped command

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-14 07:22:30 -05:00
Sage Weil
e3085f4262 Merge PR #26864 into nautilus
* refs/pull/26864/head:
	rados: update to latest ver. of dmclock lib w performance enhancements

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: yanjun <yan.jun8@zte.com.cn>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-14 07:07:26 -05:00
Sage Weil
dc8a49697f Merge PR #26921 into nautilus
* refs/pull/26921/head:
	mgr/telemetry: fix 'telemetry {on,off}'

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-14 07:01:46 -05:00
Sage Weil
8fde68152d Merge PR #26924 into nautilus
* refs/pull/26924/head:
	auth/cephx: fix decode_encrypt error handling
	auth/cephx: fix encode_encrypt error handling

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-14 06:59:05 -05:00
Lenz Grimmer
d8b10c3417
Merge pull request #26951 from ricardoasmarques/validate-ceph-iscsi-config-version-nautilus
nautilus: mgr/dashboard: Validate `ceph-iscsi` config version

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-03-14 12:42:32 +01:00
Ricardo Marques
1db73ca778 mgr/dashboard: Validate ceph-iscsi config version
Signed-off-by: Ricardo Marques <rimarques@suse.com>
(cherry picked from commit b9b2b562cc)
2019-03-14 09:42:55 +00:00
Mykola Golub
a5a49f3871 rbd-nbd: fix segfault for list-mapped command
The global ceph context is not initialized when list-mapped command
is issued.

The regression was introduced by a92628f285.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-03-14 07:47:34 +00:00
Patrick Donnelly
7de8cb405c
Merge PR #26935 into nautilus
* refs/pull/26935/head:
	qa: extend MDS heartbeat grace for valgrind

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-13 20:37:03 -07:00
Patrick Donnelly
505a05f351
Merge PR #26916 into nautilus
* refs/pull/26916/head:
	qa: ignore MON_DOWN for volume-client testing

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-13 20:31:01 -07:00
Sage Weil
4bb4f7a891 Merge PR #26894 into nautilus
* refs/pull/26894/head:
	qa/standalone/erasure-code/test-erasure-code: adjust test to avoid m=0
	erasure-code: ensure m >= 1
	mon/OSDMonitor: set ec min_size to k + min(1, m - 1)

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-03-13 22:07:45 -05:00
Patrick Donnelly
beea915c01
Merge PR #26919 into nautilus
* refs/pull/26919/head:
	doc: add CephFS notes for nautilus

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-13 13:23:52 -07:00
Lenz Grimmer
16560e0706
Merge pull request #26835 from ricardoasmarques/validate-ceph-iscsi-config-version
mgr/dashboard: Validate `ceph-iscsi` config version

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-03-13 20:00:22 +01:00
Patrick Donnelly
145c37c048
doc: add CephFS notes for nautilus
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-03-13 11:51:06 -07:00
Sage Weil
decb964626 Merge remote-tracking branch 'gh/nautilus' 2019-03-13 13:31:03 -05:00
Sage Weil
52d5797c3d qa/standalone/erasure-code/test-erasure-code: adjust test to avoid m=0
_DD is k=2 m=0, which we don't allow.  Switch it to cDD.

I confess I don't fully understand why this was _DD to begin with, but
I'm pretty sure mapping is there to control the order of results so that
it can be mapped to the CRUSH rule output sanely, and the coding portion
is not relevant to the test.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-13 12:46:50 -05:00
Ricardo Marques
b9b2b562cc mgr/dashboard: Validate ceph-iscsi config version
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-03-13 16:22:54 +00:00
Patrick Donnelly
7b520755ce
qa: extend MDS heartbeat grace for valgrind
Valgrind makes the MDS slowwwww. The newish mds_heartbeat_grace config allows
us to keep sending beacons to the mons even if the internal heartbeat is slow.
This avoids the laggy messages which are useful to grep for unrelated messaging
issues.

Fixes: http://tracker.ceph.com/issues/38723
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-03-13 09:18:32 -07:00
Lenz Grimmer
bb3b2471ac
Merge pull request #26790 from ricardoasmarques/iscsi-passwords-with-slash
mgr/dashboard: iSCSI - Support iSCSI passwords with '/'

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
2019-03-13 17:07:18 +01:00
Sage Weil
497e00c4da mgr/telemetry: fix 'telemetry {on,off}'
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-13 10:32:18 -05:00
Ricardo Marques
a5c6cc8bb2 mgr/dashboard: Always get iSCSI passwords decrypted
Fixes: https://tracker.ceph.com/issues/38630

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-03-13 15:00:04 +00:00
Ricardo Marques
864c05fade mgr/dashboard: Support iSCSI password with '/'
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-03-13 15:00:04 +00:00
Lenz Grimmer
d239b3c0e7
Merge pull request #26765 from p-na/wip-pna-rbd-conf-table-search
mgr/dashboard: Fix search in `Source` column of RBD configuration list

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-03-13 15:37:28 +01:00
Lenz Grimmer
57d6cc93bf
Merge pull request #26766 from p-na/wip-pna-fix-table-search
mgr/dashboard: Search broken for entries with null values

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-03-13 15:27:10 +01:00
Casey Bodley
f80051b4ce
Merge pull request #26800 from linuxbox2/wip-rgw-limitcheck-trunc
rgw: bucket limit check misbehaves for > max-entries buckets (usually…

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-13 09:53:08 -04:00