Xie Xingguo
d793c3e67b
Merge pull request #26668 from xiexingguo/wip-38493
...
msg/async/Protocol*: send keep alive if existing wins
Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-03 14:43:15 +08:00
Kefu Chai
b2da6c4e23
Merge pull request #26723 from liewegas/wip-38537
...
mgr/BaseMgrModule: drop GIL for ceph_send_command
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-03 10:09:14 +08:00
Radoslaw Zarzynski
fd211a234c
Revert "msg/async, v2: move ceph_msg_header2 to last frame segment."
...
This reverts commit 69dbc92ba8
.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-02 21:11:42 +01:00
Patrick Donnelly
e117299ab1
Merge PR #26726 into master
...
* refs/pull/26726/head:
mds: Fix use of auto prototype, it is a non std extension
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-03-02 11:24:22 -08:00
Ricardo Dias
297d47640d
mgr/dashboard: nfs-ganesha: controller API documentation
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-03-02 15:18:12 +00:00
Sage Weil
5de132944a
Merge PR #26720 into master
...
* refs/pull/26720/head:
ceph-osd: infer objectstore type of 'type' file is missing
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-03-02 08:31:54 -06:00
Radoslaw Zarzynski
33c6cf2ab2
msg, msg/async, v2: introduce late message abort facility.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-02 14:19:39 +01:00
Radoslaw Zarzynski
7d4bd94008
msg/async, v2: failure of msg decode doesn't block throtlles.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-02 14:07:17 +01:00
Joao Eduardo Luis
6c097015bb
ceph_features: deprecate MON_SINGLE_PAXOS
...
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2019-03-02 11:36:23 +00:00
Joao Eduardo Luis
a20ce5f427
osdmap: map versions to releases
...
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2019-03-02 11:36:23 +00:00
Joao Eduardo Luis
dfafdf3dae
mon: retire some osd set/unset
flags
...
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2019-03-02 11:36:23 +00:00
Xie Xingguo
46189eaa64
Merge pull request #26705 from dzafman/wip-23999
...
Improve docs osd_recovery_priority, osd_recovery_op_priority and related
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-03-02 09:43:33 +08:00
Brad Hubbard
c5036f912a
Merge pull request #26666 from badone/wip-kvstore_tool-ice
...
tools/ceph_kvstore_tool: Move summary output to print_summary
Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-03-02 09:13:58 +10:00
David Zafman
f7bec341da
common, doc: Improve docs osd_recovery_priority, osd_recovery_op_priority and related
...
Add option desciptions for osd_recovery_priority and osd_recovery_op_priority
Fixes: https://tracker.ceph.com/issues/23999
Signed-off-by: David Zafman <dzafman@redhat.com>
2019-03-01 13:55:35 -08:00
Sage Weil
9c09ff2d0c
ceph-osd: infer objectstore type of 'type' file is missing
...
The current value of osd_objectstore should have no bearing--we should
rely on the state in front of us.
- If there is a directory called current/, assume filestore.
- If there is a symlink called block, assume bluestore.
- If we see none of those, fail.
Fixes: http://tracker.ceph.com/issues/38517
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-01 15:51:38 -06:00
Noah Watkins
384d82a1bb
mgr/dashboard: fix for using '::' on hosts without ipv6
...
CherryPy throws an uncaught exception using '::' when the host does not
have an ipv6 loopback address. This is currently the case in kubernetes.
This patch disables the routine in cherrypy that performs the validation
that requested server ports are actually bound.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-01 13:48:42 -08:00
Radoslaw Zarzynski
69dbc92ba8
msg/async, v2: move ceph_msg_header2 to last frame segment.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-01 22:47:53 +01:00
Sage Weil
b3eb525471
Merge PR #26692 into master
...
* refs/pull/26692/head:
test/test_ipaddr: added test for pick_address when ipv4 and ipv6 are enabled
common/pick_address: improves log message when no IP is found
pick_address: error out in dual stack mode if both addr types cannot be provided
Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-01 14:36:35 -06:00
Willem Jan Withagen
f94d5af52c
mds: Fix use of auto prototype, it is a non std extension
...
Clang complains:
In file included from /home/jenkins/workspace/ceph-master/src/msg/Message.cc:128:
In file included from /home/jenkins/workspace/ceph-master/src/messages/MFSMap.h:20:
/home/jenkins/workspace/ceph-master/src/mds/FSMap.h:330:49: error: 'auto' not allowed in function prototype
void modify_filesystem(fs_cluster_id_t fscid, auto&& fn)
^~~~
/home/jenkins/workspace/ceph-master/src/mds/FSMap.h:341:37: error: 'auto' not allowed in function prototype
void modify_daemon(mds_gid_t who, auto&& fn)
^~~~
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2019-03-01 21:36:26 +01:00
Sage Weil
b1cc4d3444
doc/releases/nautilus: ask users to opt in to telemetry
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-01 14:32:06 -06:00
Sage Weil
d14c909408
doc/mgr/telemtry: update docs
...
- new commands
- more explicit summary of what we send
- multiple steps to enable, so that you can see what would be reported
before opting in.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-01 14:32:04 -06:00
Sage Weil
0ca1a9cbb2
mgr/telemetry: drop config-set and config-show; add just show
...
Use normal config options to configure.
Add a 'telemetry show' command to show those options.
We lose the validation of the email address, since we are relying on the
generic config machinery, but I don't think we care.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-01 14:32:04 -06:00
Sage Weil
ec78dcf516
mgr/telemetry: make 'telemetry show' readable by a human
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-01 14:32:04 -06:00
Sage Weil
6ab90c9cb0
mgr/telemetry: add 'telemetry on' and 'telemetry off' commands
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-01 14:32:04 -06:00
Sage Weil
9320bdb8ac
mgr/telemetry: off by default
...
This way a user can enable the module and look at the output before
deciding to send it to anyone.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-01 14:32:04 -06:00
Sage Weil
18ff587f1a
osdc/Objecter: don't use post_rx_buffer or revoke_rx_buffer at all
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-01 14:12:37 -06:00
Radoslaw Zarzynski
4a12dd4a42
fixup: use frame epilogue for crc32 integrity checking.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-01 21:08:08 +01:00
Radoslaw Zarzynski
524202827b
msg/async, v2: epilogue size is variable in secure mode.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-01 20:28:13 +01:00
Radoslaw Zarzynski
dace906100
msg/async, v2: drop support for the buggy rx_buffers mechanism.
...
See:
* https://github.com/ceph/ceph/pull/26696 ,
* http://tracker.ceph.com/issues/22480 .
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-01 18:41:23 +01:00
Sage Weil
94486a9fb6
mgr/BaseMgrModule: drop GIL for ceph_send_command
...
Otherwise, we can easily deadlock, since other bits of the code hold the
objecter lock and then take the GIL.
Fixes: http://tracker.ceph.com/issues/38537
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-01 11:00:55 -06:00
Radoslaw Zarzynski
a99e6b8474
Revert "msg/async, v2: add flags field to frame's epilogue."
...
This reverts commit e18d65ae9e
.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-01 17:37:47 +01:00
Jason Dillaman
4ab84327d9
Merge pull request #26688 from yangdongsheng/librbd_fix_all_throttled
...
librbd: fix were_all_throttled() to avoid incorrect ret-value
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-03-01 10:43:36 -05:00
Patrick Donnelly
eac565f7b0
Merge PR #26659 into master
...
* refs/pull/26659/head:
qa: remove libcephfs-java tests
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-03-01 06:53:20 -08:00
Nathan Cutler
94656d99e9
Merge pull request #26695 from smithfarm/wip-make-check-amqp-endpoint
...
do_cmake.sh: SUSE builds need WITH_RADOSGW_AMQP_ENDPOINT=OFF
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-03-01 15:49:41 +01:00
Patrick Donnelly
06e7b12d24
Merge PR #26699 into master
...
* refs/pull/26699/head:
qa: unmount clients before deleting fs
Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-03-01 06:46:46 -08:00
Patrick Donnelly
a2dac30db5
Merge PR #26700 into master
...
* refs/pull/26700/head:
qa: bump fsstress timeout to 6h
Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-03-01 06:44:36 -08:00
Dongsheng Yang
e803b0b666
librbd: fix were_all_throttled() to avoid incorrect ret-value
...
Fixes: http://tracker.ceph.com/issues/38504
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2019-03-01 09:33:48 -05:00
Nathan Cutler
aa690517fb
rpm: re-add pyOpenSSL as ceph-mgr runtime dependency
...
The "restful" MGR module is part of ceph-mgr, and is active by default when
deploying a Ceph cluster from scratch.
Without this patch, the cluster never reaches HEALTH_OK due to the following
health warning: "Module 'restful' has failed dependency: No module named
'OpenSSL'"
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-03-01 15:25:22 +01:00
Jason Dillaman
819290e5cf
librbd: pool_init API now validates the pool
...
This offloads the validation process from the image creation
state machine under normal conditions.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-03-01 08:27:27 -05:00
Jason Dillaman
6a84ca3f24
librbd: create state machine uses new validate pool state machine
...
Fixes: http://tracker.ceph.com/issues/38500
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-03-01 08:27:27 -05:00
Jason Dillaman
b3ee83b9ce
librbd: separate pool validation into a standalone state machine
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-03-01 08:27:26 -05:00
Lenz Grimmer
34f04be35b
Merge pull request #26482 from votdev/show_success_notification_rgw
...
mgr/dashboard: Show success notification in RGW forms
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-03-01 12:02:15 +01:00
Lenz Grimmer
86edaa3d91
Merge pull request #26507 from votdev/yesno_pipe
...
mgr/dashboard: Introduce pipe to convert bool to text
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-03-01 11:46:33 +01:00
Volker Theile
346cfa3969
mgr/dashboard: Introduce pipe to convert bool to text
...
Convert boolean values to 'Yes' or 'No' or any other value.
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-03-01 10:27:13 +01:00
Ricardo Dias
b975a35eeb
Merge pull request #26714 from cyx1231st/wip-async-bannercheck
...
msg/async: fix banner_v1 check in ProtocolV2
Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-03-01 09:24:48 +00:00
Lenz Grimmer
305095ed7a
Merge pull request #26626 from LenzGr/master-documentation
...
doc: Updated Ceph Dashboard documentation
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-03-01 10:00:01 +01:00
Ricardo Dias
4c5c303cc4
Merge pull request #26711 from cyx1231st/wip-async-frame-header
...
msg/async: fix include in frames_v2.h
Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-03-01 08:03:16 +00:00
Yingxin Cheng
e17ec6437d
msg/async: fix banner_v1 check in ProtocolV2
...
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-03-01 15:46:36 +08:00
Yan, Zheng
218e784f2e
mds: wait for client to release shared cap when re-acquiring xlock
...
MDS may revoke shared cap from xlocker client during 'LOCK_XLOCKDONE ->
LOCK_LOCK_XLOCK' state transition.
Fixes: http://tracker.ceph.com/issues/38491
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2019-03-01 15:37:06 +08:00
Sage Weil
6154874aa9
common/str_map: better trim() impl using boost
...
Thanks Kefu!
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-28 23:41:59 -06:00