]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Sun, 27 Jan 2019 16:10:49 +0000 (10:10 -0600)]
msg/async/ProtocolV2: clear dispatch throttle on connection stop
This aligns us with the ProtocolV1 implementation.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 27 Jan 2019 13:32:21 +0000 (07:32 -0600)]
msg/async: fix should_use_msgr2 behavior (including monc)
Be consistent about whether we should use v2 to connect or not, and fix
teh monclient check to use the same logic.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 26 Jan 2019 23:01:14 +0000 (17:01 -0600)]
msg/async/AsyncMessenger: clear need_addr *after* we set our new addr
We check need_addr at the top without a lock held, so we need to be sure
we finished our work before we clear it, or else when there are two racing
threads the first will get the clock and clear the value and the second
will do nothing and see the unlearned value before the first finishes.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 26 Jan 2019 07:28:13 +0000 (01:28 -0600)]
msg/async/ProtocolV2: fix handling for v2 client connection with v1 addr
Switch it to be v2. Reject the case where the client sends and addrvec, though;
that should only happen for clients that did_bind, and they should only connect to
v2 if they have a v2 bound addr.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Jan 2019 21:22:10 +0000 (15:22 -0600)]
ceph_test_msgr: do not connect_to on the client side
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Jan 2019 21:21:45 +0000 (15:21 -0600)]
msg/async: do not connect from server
We could have a fault on a server-side of a non-lossy connectoin where
there is a fault and we have outgoing data queued. Since we are a server,
we cannot connect; we should just go into standby and wait for the other
end to reconnect, or for someone to mark us down.
This fixes a failure reproduced by Messenger/MessengerTest.SyntheticInjectTest/0
where it would assert(!policy.server) in the connect code.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Jan 2019 21:14:56 +0000 (15:14 -0600)]
msg/async: do not use peer to addr detection; use getsockname()
If of relying on the peer to tell us what address we are connecting from,
look at how our local socket is bound, and use that address.
This removes the possibility for error because we will infer our address
locally and that will be the one place it is decide; the server will just
use our value. As things were previously, we had to make the local and
remote inference match, which was fragile.
This does take away the client's ability to discover if it is traversing
NAT to reach the server and learning its public/external address. I
don't think anybody has ever tested this, so it probably didn't even work,
and I've never heard it come up as a requirement.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Jan 2019 20:14:55 +0000 (14:14 -0600)]
msg/async/ProtocolV2: always send non-empty addrvec for self
If we don't know our address yet, send the peer a 0.0.0.0 or :: address with an empty
port and a populated nonce. That way the peer can infer our final addr the same way
we do from learned_addr.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Jan 2019 20:12:27 +0000 (14:12 -0600)]
msg/async: never fill out port in myaddr if we didn't bind
If we are a client and didn't bind, then we should not fill in the port for our
address. The one the peer sent us is just the random port our outgoing connection
happened to land on!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Jan 2019 14:35:38 +0000 (08:35 -0600)]
ceph_test_msgr: use v2 addrs for simplemessenger
Signed-off-by: Sage Weil <sage@redhat.com>
Ricardo Dias [Fri, 25 Jan 2019 19:42:37 +0000 (19:42 +0000)]
msg/async: msgr2: don't force write event on every message received
Signed-off-by: Ricardo Dias <rdias@suse.com>
Sage Weil [Thu, 24 Jan 2019 22:48:06 +0000 (16:48 -0600)]
msg/async/ProtocolV2: be forgiving in server identity check
If we parse something out of mon_host or are given an addr by a user,
we should succeed as long as our target_addr is one of the destination's
addrs.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 24 Jan 2019 13:33:29 +0000 (07:33 -0600)]
msg/async/ProtocolV2: fault if we connect to the wrong peer
Someone else may have bound to the same port. If they identify as someone
else, fault and back off.
Signed-off-by: Sage Weil <sage@redhat.com>
Ricardo Dias [Thu, 24 Jan 2019 09:48:44 +0000 (09:48 +0000)]
msg/async: msgr2: clean cookie if connection failed in ACCEPT_SESSION
Signed-off-by: Ricardo Dias <rdias@suse.com>
Sage Weil [Wed, 23 Jan 2019 23:54:00 +0000 (17:54 -0600)]
msg/async/ProtocolV2: do not bump connect_seq for fault during ACCEPTING_SESSION
If we have a connection race, and we lose, we may end up with outgoing
messages *and* be in ACCEPTING_SESSION. If we then fault, we want to
leave connect_seq at 0 to avoid triggering a reset.
Signed-off-by: Sage Weil <sage@redhat.com>
Ricardo Dias [Wed, 23 Jan 2019 13:57:26 +0000 (13:57 +0000)]
msg/async: msgr2: don't send SESSION_RETRY_GLOBAL in handle_existing_connection
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 22 Jan 2019 17:25:46 +0000 (17:25 +0000)]
msg/async: msgr2: organizing log messages
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 21 Jan 2019 14:52:40 +0000 (14:52 +0000)]
msg/async: msgr2: fix connection fault when replacing
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 18 Jan 2019 10:51:00 +0000 (10:51 +0000)]
msg/async: msgr2: fix replacing race handling
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Thu, 17 Jan 2019 16:32:25 +0000 (16:32 +0000)]
msg/async: msgr2: fix connection race when existing connection is newer
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 16 Jan 2019 23:01:19 +0000 (23:01 +0000)]
msg/async: msgr2: assign recv_stamp in handle_message
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 16 Jan 2019 16:47:43 +0000 (16:47 +0000)]
msg/async: msgr2: fix peer_addrs discovery
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 16 Jan 2019 16:47:07 +0000 (16:47 +0000)]
msg/async: msgr2: keep authorizer bufferlist across reconnects
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 16 Jan 2019 08:44:42 +0000 (08:44 +0000)]
msg/async: msgr2: fix connection secret problems for WITH_SEASTAR builds
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 15 Jan 2019 16:42:15 +0000 (16:42 +0000)]
msg/async: msgr2: send keepalive on connection race winner
Msgr2 version of PR #25754
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 15 Jan 2019 16:34:02 +0000 (16:34 +0000)]
msg/async: msgr2: fix client address learning
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 15 Jan 2019 15:33:34 +0000 (15:33 +0000)]
msg/async: msgr2: fix keepalive_ack message
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 14 Jan 2019 11:53:02 +0000 (11:53 +0000)]
msg/async: msgr2: do not force updating rotating keys inline
Msgr2 version of PR #25859
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 14 Jan 2019 11:47:15 +0000 (11:47 +0000)]
msg/async: msgr2: fix mark_down vs accept race
Msgr2 version of PR #25823
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 14 Jan 2019 11:36:06 +0000 (11:36 +0000)]
msg/async: msgr2: unregister con from accept vs mark_down race
Msgr2 version of PR #25755
Signed-off-by: Ricardo Dias <rdias@suse.com>
Sage Weil [Tue, 8 Jan 2019 14:57:39 +0000 (08:57 -0600)]
auth/cephx/CephxSessionHandler: use connection_secret for encryption
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 8 Jan 2019 14:56:44 +0000 (08:56 -0600)]
msg,cephx: establish a unique connection_secret for every connection
The session_key is unique for each time we newly authenticate with the
mon--e.g., for each client instantiation. This is not ideal for
encryption, since we don't want to encrypt all connections with the same
key.
Signed-off-by: Sage Weil <sage@redhat.com>
Ricardo Dias [Wed, 9 Jan 2019 14:01:50 +0000 (14:01 +0000)]
msg/async: msgr2: use sha256_digest_t to print signature hex strings
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 9 Jan 2019 13:59:41 +0000 (13:59 +0000)]
types.h,rgw: merge sha*_digest_t definitions
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 9 Jan 2019 11:05:03 +0000 (11:05 +0000)]
msg/async: msgr2: close connection when no authorizer is given
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 7 Jan 2019 13:20:30 +0000 (13:20 +0000)]
msg/async: msgr2: formatting fixes
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 7 Jan 2019 13:19:33 +0000 (13:19 +0000)]
msg/async: msgr2: send client v2 address when only v1 address is defined
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 7 Jan 2019 13:17:34 +0000 (13:17 +0000)]
msg/async: msgr2: add payload length to banner
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 23 Nov 2018 15:53:56 +0000 (15:53 +0000)]
msg/async: msgr2: check protocol state after fast dispatch
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 23 Nov 2018 14:15:19 +0000 (14:15 +0000)]
msg/async: msgr2: reduce log level for sending messages event
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 23 Nov 2018 14:14:29 +0000 (14:14 +0000)]
msg/async: msgr2: call verify authorizer when CEPH_AUTH_NONE is used
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 23 Nov 2018 14:13:29 +0000 (14:13 +0000)]
msg/async: msgr2: store peer entity name in the protocol
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 21 Nov 2018 13:50:23 +0000 (13:50 +0000)]
msg/async: msgr2: apply sign/encrypt to messages data payload
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 20 Nov 2018 16:35:15 +0000 (16:35 +0000)]
msg/async: msgr2: encryption/decryption of frames
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 20 Nov 2018 16:34:47 +0000 (16:34 +0000)]
cephx: added encrypt/decrypt bufferlist method to session handler
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 16 Nov 2018 17:17:34 +0000 (17:17 +0000)]
msg/async: msgr2: refactored the frame structures
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 16 Nov 2018 17:17:03 +0000 (17:17 +0000)]
cephx: add sign bufferlist method
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 16 Nov 2018 17:15:57 +0000 (17:15 +0000)]
options: msgr2 enable/disable signing and encrytion options
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 13 Nov 2018 15:51:39 +0000 (15:51 +0000)]
msg/async: msgr2: cephx authentication
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Thu, 8 Nov 2018 17:15:03 +0000 (17:15 +0000)]
msg/async: msgr2: implement reconnect
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 7 Nov 2018 17:16:40 +0000 (17:16 +0000)]
msg/async: msgr2: fault handling
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 31 Oct 2018 16:30:32 +0000 (16:30 +0000)]
msg/async: msgr2: messange exchange phase
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 26 Oct 2018 15:23:34 +0000 (16:23 +0100)]
msg/async: msgr2: message flow handshake
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 12 Sep 2018 07:28:32 +0000 (08:28 +0100)]
msg/async: msgr2: authentication phase
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 26 Oct 2018 14:16:31 +0000 (15:16 +0100)]
msg/async: msgr2: exchange peer_type in banner phase
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 11 Sep 2018 06:45:42 +0000 (07:45 +0100)]
test/msgr: cloned test_msgr test for testing msgr2 protocol
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 11 Sep 2018 06:44:51 +0000 (07:44 +0100)]
msg/async: msgr2: banner exchange
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 30 Oct 2018 16:41:52 +0000 (16:41 +0000)]
msg/async: asyncconnection: update the source address info
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Thu, 22 Nov 2018 13:37:42 +0000 (13:37 +0000)]
msg/async: move base class Protocol its own source file
Signed-off-by: Ricardo Dias <rdias@suse.com>
Lenz Grimmer [Wed, 23 Jan 2019 11:04:35 +0000 (12:04 +0100)]
Merge pull request #25991 from jtlayton/wip-dashboard
mgr/dashboard: add a script to run an API request on a rook cluster
Reviewed-by: Ricardo Dias <rdias@suse.com>
Matt Benjamin [Tue, 22 Jan 2019 17:42:21 +0000 (12:42 -0500)]
Merge pull request #25774 from yehudasa/wip-rgw-tiering-3
rgw: rados tiering
Lenz Grimmer [Tue, 22 Jan 2019 15:23:05 +0000 (16:23 +0100)]
Merge pull request #26073 from rhcs-dashboard/add-tox-ini-command
mgr/dashboard: added command to tox.ini
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Tue, 22 Jan 2019 15:12:05 +0000 (16:12 +0100)]
Merge pull request #26020 from rhcs-dashboard/issue-37854
mgr/dashboard: Fixed performance details context for host list row selection
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Lenz Grimmer [Tue, 22 Jan 2019 14:52:02 +0000 (15:52 +0100)]
Merge pull request #26007 from rhcs-dashboard/upgrade-python-dev-deps
mgr/dashboard: upgraded python dev dependencies
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
alfonsomthd [Tue, 22 Jan 2019 12:26:38 +0000 (13:26 +0100)]
mgr/dashboard: added command to tox.ini
* Added 'run' command to run arbitrary commands so
you don't have to run the whole test/lint suite.
Use case examples:
- Run only 1 test:
tox -e py3-run pytest tests/test_rgw_client.py::RgwClientTest::test_ssl_verify
- Run pycodestyle for only 1 file:
tox -e py3-run pycodestyle tests/test_rgw_client.py
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Sebastian Wagner [Tue, 22 Jan 2019 09:28:25 +0000 (10:28 +0100)]
Merge pull request #26032 from jtlayton/wip-rook
mgr/rook: remove dead code and fix bug in url fetching code
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Andrew Schoen [Mon, 21 Jan 2019 17:40:47 +0000 (11:40 -0600)]
Merge pull request #25895 from jan--f/c-v-func-test-local
ceph-volume: functional tests, add libvirt customization
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Kefu Chai [Mon, 21 Jan 2019 17:00:15 +0000 (01:00 +0800)]
Merge pull request #26044 from tchaikov/wip-build-doc-pyyaml
doc: bump up sphinx and pyyaml versions
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Kefu Chai [Sun, 20 Jan 2019 06:51:11 +0000 (14:51 +0800)]
doc: bump up sphinx and pyyaml versions
* bump up pyyaml version to address CVE-2017-18342, see
https://nvd.nist.gov/vuln/detail/CVE-2017-18342
* bump up sphinx to the latest stable
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 21 Jan 2019 15:04:55 +0000 (23:04 +0800)]
Merge pull request #26052 from tchaikov/wip-37976
mgr/zabbix: drop "total_objects" field
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 21 Jan 2019 14:30:26 +0000 (22:30 +0800)]
Merge pull request #26054 from tchaikov/wip-crimson-dispatcher-fix-ftbfs
crimson/osd: remove "force_new" from ms_get_authorizer()
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Mon, 21 Jan 2019 14:17:10 +0000 (22:17 +0800)]
Merge pull request #26045 from hsiang41/Ticket_33736
mgr/diskprediction_cloud: fix divide by zero when total_size is 0
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 21 Jan 2019 11:26:10 +0000 (19:26 +0800)]
crimson/osd: remove "force_new" from ms_get_authorizer()
it was removed in
e62f45d1 , so update crimson-osd accordingly
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 21 Jan 2019 10:44:41 +0000 (18:44 +0800)]
Merge pull request #26046 from liewegas/wip-37976
mgr/telemetry: fix total_objects
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 21 Jan 2019 10:38:24 +0000 (18:38 +0800)]
mgr/zabbix: drop "total_objects" field
This field was removed from df output a while back in
342f309
Signed-off-by: Kefu Chai <kchai@redhat.com>
Lenz Grimmer [Mon, 21 Jan 2019 08:34:35 +0000 (09:34 +0100)]
Merge pull request #25712 from familyuu/configuration
mgr/dashboard: Add a 'clear filter' button to configuration page
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
hsiang41 [Sun, 20 Jan 2019 13:22:24 +0000 (21:22 +0800)]
mgr/diskprediction_cloud: fix divide by zero when total_size is 0
Fix devide by zero when total_size is o.
Ref ticket: https://tracker.ceph.com/issues/37736
Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
Sage Weil [Sun, 20 Jan 2019 21:59:50 +0000 (15:59 -0600)]
mgr/telemetry: fix total_objects
This field was removed from df output a while back in
342f309645df886fb96eb401634e38376553e6d9
Fixes: http://tracker.ceph.com/issues/37976
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 20 Jan 2019 21:55:50 +0000 (15:55 -0600)]
Merge PR #26031 into master
* refs/pull/26031/head:
mgr/BaseMgrModule: fix mon commands targetting a specific monitor
mgr/ActivePyModules: fix RestoreThread calls for get('devices')
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Jan 2019 02:33:51 +0000 (10:33 +0800)]
Merge pull request #25490 from Aran85/fix-ec-using-cache
osd: keep using cache even if op will invalid cache
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Jan 2019 02:32:21 +0000 (10:32 +0800)]
Merge pull request #25920 from wjwithagen/wjw-fix-freebsd-numa
common/numa: Add shim routines for NUMA on FreeBSD.
Kefu Chai [Sun, 20 Jan 2019 02:31:26 +0000 (10:31 +0800)]
Merge pull request #25938 from majianpeng/msg-remove-memcopy-message-header
msg/async: reduce additional ceph_msg_header copy.
Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Jan 2019 02:30:34 +0000 (10:30 +0800)]
Merge pull request #26021 from majianpeng/osd-remove-unused-code
osd: remove unused fields
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Jan 2019 02:28:22 +0000 (10:28 +0800)]
Merge pull request #26040 from tchaikov/wip-blkdev-stat
common/blkdev: check retval of stat()
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 20 Jan 2019 02:27:52 +0000 (10:27 +0800)]
Merge pull request #26041 from tchaikov/wip-kvstore-tool-gcc-ice
tools/ceph_kvstore_tool: extract StoreTool into kvstore_tool.cc
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Sun, 20 Jan 2019 01:21:42 +0000 (17:21 -0800)]
Merge PR #26012 into master
* refs/pull/26012/head:
qa: add test that down fs does not ERR
mon/MDSMonitor: skip offline ERR for down fs
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Patrick Donnelly [Sun, 20 Jan 2019 01:21:09 +0000 (17:21 -0800)]
Merge PR #25993 into master
* refs/pull/25993/head:
mds/FSMap: simplify encode/decode
mds: alias reference type for Filesystem
mds: add missing memory header include
include/encoding: eliminate smart_ptr temporaries
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Sun, 20 Jan 2019 01:20:18 +0000 (17:20 -0800)]
Merge PR #25976 into master
* refs/pull/25976/head:
Objecter::calc_op_budget: Fix invalid access to extent union member
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Sun, 20 Jan 2019 01:19:19 +0000 (17:19 -0800)]
Merge PR #25974 into master
* refs/pull/25974/head:
MDSMonitor: add missing OSDMonitor writeable check
MDSMonitor: codify constraint for writeable OSDMap
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Sun, 20 Jan 2019 01:18:08 +0000 (17:18 -0800)]
Merge PR #25973 into master
* refs/pull/25973/head:
qa: use simpler fs fail to bring fs down
MDSMonitor: add fs fail command
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Patrick Donnelly [Sun, 20 Jan 2019 01:17:04 +0000 (17:17 -0800)]
Merge PR #25971 into master
* refs/pull/25971/head:
qa: test hex dump_inode
pybind/ceph_argparse: accept int with non-decimal base
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Sun, 20 Jan 2019 01:16:17 +0000 (17:16 -0800)]
Merge PR #25650 into master
* refs/pull/25650/head:
client: add ceph_stat/ceph_lstat/ceph_fstat api
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Kefu Chai [Sat, 19 Jan 2019 16:48:40 +0000 (00:48 +0800)]
tool/ceph_kvstore_tool: extract duration calc out
simplify the code a little bit
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 19 Jan 2019 16:01:55 +0000 (00:01 +0800)]
tools/ceph_kvstore_tool: extract StoreTool into kvstore_tool.cc
to workaround n bug in GCC 7.3, which leads to ICE like
build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/
14.0.1-2751-gb268822 /rpm/el7/BUILD/
ceph-14.0.1-2751-gb268822 /src/tools/ceph_kvstore_tool.cc:625:1:
internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 18 Jan 2019 21:14:19 +0000 (15:14 -0600)]
mgr/BaseMgrModule: fix mon commands targetting a specific monitor
We just need to use the right variant of start_mon_command().
Fixes: http://tracker.ceph.com/issues/37967
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 18 Jan 2019 15:24:34 +0000 (09:24 -0600)]
mgr/ActivePyModules: fix RestoreThread calls for get('devices')
Fixes
61aa7e2e0230bff49e757c32932d1db4bcad5f67
Fixes: http://tracker.ceph.com/issues/37736
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 19 Jan 2019 13:09:59 +0000 (21:09 +0800)]
common/blkdev: check retval of stat()
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 15 Jan 2019 22:10:09 +0000 (14:10 -0800)]
qa: use simpler fs fail to bring fs down
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Yehuda Sadeh [Sat, 19 Jan 2019 05:04:50 +0000 (21:04 -0800)]
rgw: align head object size with pool alignment
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
David Galloway [Fri, 18 Jan 2019 18:03:17 +0000 (13:03 -0500)]
Merge pull request #25919 from yuriw/wip-yuriw-distros-master
qa/tests: added rhel 7.6