Commit Graph

94906 Commits

Author SHA1 Message Date
Sage Weil
d93abd8c53 qa/suites/upgrade/luminous-x: whitelist 'slow request'
The luminous warnings say slow request.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-13 07:20:51 -06:00
Sage Weil
85ef902ca5 mon/HealthMonitor: add mon_warn_on_msgr2_not_enabled
Default true, but allow users (or tests) to turn this warning off.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-13 07:20:51 -06:00
Sage Weil
96f58cd548 Merge PR #26265 into master
* refs/pull/26265/head:
	qa/suites/rados/upgrade: whitelist 'slow request'

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-02-13 06:40:41 -06:00
Sage Weil
df41ca52c6 Merge PR #26366 into master
* refs/pull/26366/head:
	os/filestore: ceph_abort() on fsync(2) or fdatasync(2) failure

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-02-13 06:40:26 -06:00
Sage Weil
645acb16ba Merge PR #26369 into master
* refs/pull/26369/head:
	ceph-mon: slightly more helpful output during mkfs

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-02-13 06:39:29 -06:00
Sage Weil
c1e4db3485 Merge PR #26391 into master
* refs/pull/26391/head:
	buffer: disable hypercombining in bufferlist.

Reviewed-by: Sage Weil <sage@redhat.com>
2019-02-13 06:39:12 -06:00
Sage Weil
6aca4d19ff Merge PR #26392 into master
* refs/pull/26392/head:
	messages/MMonMgrReport: fix compat decoding

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-02-13 06:38:53 -06:00
Lenz Grimmer
7e2b15f341
Merge pull request #26367 from tspmelo/wip-iscsi-edit-ui
mgr/dashboard: Add iSCSI Target Edit UI

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-02-13 11:52:59 +01:00
Sebastian Wagner
b8fe1554d3
Merge pull request #26346 from noahdesu/mgr-orch-cache-refresh
mgr/orch: refresh option for inventory query

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-02-13 11:13:52 +01:00
Sebastian Wagner
8cda5eae94
Merge pull request #26357 from rjfd/wip-orch-fix-dev-pretty-print
mgr/orchestrator: fix device pretty print with None attributes

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-02-13 11:13:08 +01:00
Lenz Grimmer
446b856328
Merge pull request #26384 from tspmelo/wip-e2e-login
mgr/dashboard: Add implicit wait in e2e tests

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-02-13 11:06:44 +01:00
Kefu Chai
729104e5f2
Merge pull request #26379 from tchaikov/wip-remove-jinja2
rpm,deb: remove python-jinja2 dependency

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2019-02-13 17:29:58 +08:00
Tiago Melo
58abc4847a mgr/dashboard: Add implicit wait in e2e tests
Fixes: https://tracker.ceph.com/issues/38269

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-12 22:55:41 +00:00
Sage Weil
54eee67b84 Merge PR #26385 into master
* refs/pull/26385/head:
	mon: mons also connect to mgrs

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2019-02-12 16:45:22 -06:00
Sage Weil
a961b8980f messages/MMonMgrReport: fix compat decoding
Broken by 08d1a6fc3c

Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-12 16:41:44 -06:00
Dan Mick
bcb27104e4
Merge pull request #26377 from tchaikov/wip-mgr-plugin-arch-all
debian/control: change Architecture python plugins to "all"
2019-02-12 14:06:21 -08:00
Andrew Schoen
d95a29e41f
Merge pull request #26246 from leseb/cb-typo
ceph-volume: add space between words

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2019-02-12 14:08:17 -06:00
Mykola Golub
c8884ec306
Merge pull request #26337 from dillaman/wip-37998
librbd: get_parent API method should properly handle migrating image

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-02-12 21:31:43 +02:00
Ken Dreyer
2f88b85e9d Merge pull request #26368 from alfredodeza/wip-rm38261
build: further removal of `subman` configuration

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2019-02-12 12:13:53 -07:00
Radoslaw Zarzynski
41c385ba4d buffer: disable hypercombining in bufferlist.
We're seeing various failures like:

      * http://tracker.ceph.com/issues/38024,
      * http://tracker.ceph.com/issues/38230,
      * http://tracker.ceph.com/issues/37910

without a clear cause. Disabling hypercombining makes at least one
reproducer happy.

Fixes: http://tracker.ceph.com/issues/38024
Fixes: http://tracker.ceph.com/issues/38230
Fixes: http://tracker.ceph.com/issues/37910
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-12 18:11:10 +01:00
Jason Dillaman
1c80583daa rbd: added missing feature bitmask to name mapping
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-02-12 10:43:49 -05:00
Jason Dillaman
79a10192e8 rbd: removed migration source annotation from parent info
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-02-12 10:43:14 -05:00
Sage Weil
e63814f1e2 Merge PR #26340 into master
* refs/pull/26340/head:
	osd/OSD: respect osdmap message limits
	mon/OSDMonitor: limit MOSDMap message size by bytes
	common/options: add osd_map_message_max_bytes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-02-12 09:26:56 -06:00
Sage Weil
46a03600d0 Merge PR #26365 into master
* refs/pull/26365/head:
	msg/async/ProtocolV2: refuse incoming reconnect attempt intended for someone else
	msg/async/ProtocolV2: refuse incoming connection intended for someone else

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-02-12 09:09:34 -06:00
Sage Weil
fb4d9b7ae2 Merge PR #26363 into master
* refs/pull/26363/head:
	ceph.spec.in: python-kubernetes broken on rhel

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-02-12 09:09:10 -06:00
Kefu Chai
225cccac50
Merge pull request #26323 from LenzGr/pools-typo
mgr/dashboard: Fix typo in pools management

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2019-02-12 22:54:03 +08:00
Ricardo Dias
98bfb40bc2
mon: mons also connect to mgrs
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-02-12 14:38:58 +00:00
Tiago Melo
1d084e48be mgr/dashboard: Add iSCSI target edit UI
Fixes: http://tracker.ceph.com/issues/38014

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-12 14:09:37 +00:00
Lenz Grimmer
f59b25029e
Merge pull request #26320 from tspmelo/wip-iscsi-discovery-ui
mgr/dashboard: Add iSCSI discovery authentication UI

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-02-12 15:04:22 +01:00
Kefu Chai
8018ca3614
Merge pull request #26383 from tchaikov/wip-auth-common-cleanup
auth, common: cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-12 21:22:45 +08:00
Kefu Chai
248e1d4740
Merge pull request #26221 from cyx1231st/wip-seastar-msgr-perf
crimson/net: misc fixes and features for crimson-messenger tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-02-12 20:44:35 +08:00
Kefu Chai
9e46205368 mon/MonClient: forward declare AuthRegistry instead of #include it
to speed up the compilation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-12 20:08:12 +08:00
Kefu Chai
b83335174a common/ceph_context: hardwire module_type to CEPH_ENTITY_TYPE_OSD
currently, crimson project is only targeting crimson-osd.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-12 20:08:12 +08:00
Kefu Chai
c1902881af auth/AuthServer: fix typo in comments
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-12 20:01:09 +08:00
Yingxin Cheng
4a1dce4b73 crimson/net: crimson messenger performance test tool
Support the following settings:
* mode: both, client mode, server mode;
* set server address;
* rounds of messages;
* keepalive-ratio;
* block size;
* io-depth;

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-02-12 19:26:09 +08:00
Yingxin Cheng
771419c34c crimson/net: improve UT performance and added timing
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-02-12 19:18:06 +08:00
Lenz Grimmer
8ed92084ef
Merge pull request #26243 from nathan-weinberg/block-tabs
mgr/dashboard: Added tab tests to Block menu items

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-02-12 12:09:41 +01:00
Kefu Chai
660a64b6ff
Merge pull request #26364 from tchaikov/wip-test-silence-warnings
test/rgw: silence -Wsign-compare warnings

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-02-12 17:41:45 +08:00
Tiago Melo
8b27f0b74b mgr/dashboard: Add iSCSI discovery authentication UI
Fixes: https://tracker.ceph.com/issues/38021

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-12 09:29:07 +00:00
Tiago Melo
406cd5081d mgr/dashboard: Fix order of table buttons
"float:none" is changing  the order of the table buttons.
By reverting this change and setting .oadatatableactions to "float:left",
we get the same result as intended before.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-12 09:27:47 +00:00
Lenz Grimmer
fe5ba91d31
Merge pull request #26319 from tspmelo/wip-iscsi-service-spec
mgr/dashboard: Fix iSCSI service unit tests

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-02-12 10:23:15 +01:00
Kefu Chai
c2def40661 rpm,deb: remove python-jinja2 dependency
python-jinja2 dependency was added for the dashboard v1 in 87399bea. but
dashboard v2, which is now known as "dashboard" has taken the place of
the old dashboard. and dashboard now does not use jinja2, so we should
drop this dependency.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-12 17:16:33 +08:00
Yingxin Cheng
be9a832ad9 crimson/net: fix memory leak
Do not enqueue sent before lossless policy implemented, it is causing
memory leak.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-02-12 16:48:03 +08:00
Yingxin Cheng
676077919a crimson/net: port sharded-msgr to existing code
Port sharded-msgr to crimson osd, monc, heartbeat and tests with
compatible mode.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-02-12 16:48:03 +08:00
Yingxin Cheng
f239774850 crimson/net: promote policy related method to Messenger
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-02-12 16:48:03 +08:00
Yingxin Cheng
092944837e crimson/net: compatible mode of crimson-msgr
Added a compatible mode with master_sid to support single-core
dispatcher.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-02-12 16:48:02 +08:00
Yingxin Cheng
cf92062e3f crimson/net: suppress info logs for frequent keepalive
The new unittest_seastar_messenger will print out the count of keepalive
attempts at the end of the execution.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-02-12 16:48:02 +08:00
Yingxin Cheng
7ac5fb013b crimson/net: enable connections on all cores
Implement the sharded crimson-messenger:

* Sharded Messenger: provides shared-nothing Messenger for each shard,
  it's interfaces are symmetric to be called, any modifications will be
  applied to all shards.

* Sharded/non-sharded Dispatcher interface: allow connections to be
  dispatched, and related resources (such as Session) to be managed in
  its own shard or not.

* Sharded Connection: A connection only lives at one dedicated core
  during its lifecycle. It's sharded by its peer_IP in this PoC, because
  peer port and nonce are not available when a socket is accepted. While
  its interfaces are safe to be called from all shards.

* Replace `boost::intrusive_ptr` by seastar native smart ptrs for
  `Connection` and `SocketConnection`, because they need to be
  destructed from its original core.

* Unit test: establish multiple connections on both client and server
  sides, they runs concurrently and creates sessions that are also
  following shared-nothing design.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-02-12 16:47:53 +08:00
Kefu Chai
9b020d0104 debian/control: change Architecture python plugins to "all"
change following plugins' Architecture to "all", as they are pure python
plugins, and are architecture-independent packages.

- ceph-mgr-diskprediction-cloud
- ceph-mgr-diskprediction-local
- ceph-mgr-rook

this also matches their couterparts in ceph.spec.in, where we have
```
BuildArch:  noarch
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-12 16:23:47 +08:00
Sebastian Wagner
8e265da389
mgr/orchestrator: fix device pretty-print, added unit test
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-02-12 07:22:58 +00:00