]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoceph-volume: update deploy.yml 26397/head
Guillaume Abrioux [Wed, 13 Feb 2019 10:27:12 +0000 (11:27 +0100)]
ceph-volume: update deploy.yml

update deploy.yml accordingly with recent changes in ceph-ansible.

Fixes: ceph/ceph-ansible#3602
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agoMerge pull request #26346 from noahdesu/mgr-orch-cache-refresh
Sebastian Wagner [Wed, 13 Feb 2019 10:13:52 +0000 (11:13 +0100)]
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>
6 years agoMerge pull request #26357 from rjfd/wip-orch-fix-dev-pretty-print
Sebastian Wagner [Wed, 13 Feb 2019 10:13:08 +0000 (11:13 +0100)]
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>
6 years agoMerge pull request #26384 from tspmelo/wip-e2e-login
Lenz Grimmer [Wed, 13 Feb 2019 10:06:44 +0000 (11:06 +0100)]
Merge pull request #26384 from tspmelo/wip-e2e-login

mgr/dashboard: Add implicit wait in e2e tests

Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #26379 from tchaikov/wip-remove-jinja2
Kefu Chai [Wed, 13 Feb 2019 09:29:58 +0000 (17:29 +0800)]
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>
6 years agomgr/dashboard: Add implicit wait in e2e tests 26384/head
Tiago Melo [Tue, 12 Feb 2019 13:32:48 +0000 (13:32 +0000)]
mgr/dashboard: Add implicit wait in e2e tests

Fixes: https://tracker.ceph.com/issues/38269
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge PR #26385 into master
Sage Weil [Tue, 12 Feb 2019 22:45:22 +0000 (16:45 -0600)]
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>
6 years agoMerge pull request #26377 from tchaikov/wip-mgr-plugin-arch-all
Dan Mick [Tue, 12 Feb 2019 22:06:21 +0000 (14:06 -0800)]
Merge pull request #26377 from tchaikov/wip-mgr-plugin-arch-all

debian/control: change Architecture python plugins to "all"

6 years agoMerge pull request #26246 from leseb/cb-typo
Andrew Schoen [Tue, 12 Feb 2019 20:08:17 +0000 (14:08 -0600)]
Merge pull request #26246 from leseb/cb-typo

ceph-volume: add space between words

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #26337 from dillaman/wip-37998
Mykola Golub [Tue, 12 Feb 2019 19:31:43 +0000 (21:31 +0200)]
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>
6 years agoMerge pull request #26368 from alfredodeza/wip-rm38261
Ken Dreyer [Tue, 12 Feb 2019 19:13:51 +0000 (12:13 -0700)]
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>
6 years agorbd: added missing feature bitmask to name mapping 26337/head
Jason Dillaman [Tue, 12 Feb 2019 15:43:49 +0000 (10:43 -0500)]
rbd: added missing feature bitmask to name mapping

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd: removed migration source annotation from parent info
Jason Dillaman [Tue, 12 Feb 2019 15:43:14 +0000 (10:43 -0500)]
rbd: removed migration source annotation from parent info

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge PR #26340 into master
Sage Weil [Tue, 12 Feb 2019 15:26:56 +0000 (09:26 -0600)]
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>
6 years agoMerge PR #26365 into master
Sage Weil [Tue, 12 Feb 2019 15:09:34 +0000 (09:09 -0600)]
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>
6 years agoMerge PR #26363 into master
Sage Weil [Tue, 12 Feb 2019 15:09:10 +0000 (09:09 -0600)]
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>
6 years agoMerge pull request #26323 from LenzGr/pools-typo
Kefu Chai [Tue, 12 Feb 2019 14:54:03 +0000 (22:54 +0800)]
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>
6 years agomon: mons also connect to mgrs 26385/head
Ricardo Dias [Tue, 12 Feb 2019 13:46:19 +0000 (13:46 +0000)]
mon: mons also connect to mgrs

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #26320 from tspmelo/wip-iscsi-discovery-ui
Lenz Grimmer [Tue, 12 Feb 2019 14:04:22 +0000 (15:04 +0100)]
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>
6 years agoMerge pull request #26383 from tchaikov/wip-auth-common-cleanup
Kefu Chai [Tue, 12 Feb 2019 13:22:45 +0000 (21:22 +0800)]
Merge pull request #26383 from tchaikov/wip-auth-common-cleanup

auth, common: cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #26221 from cyx1231st/wip-seastar-msgr-perf
Kefu Chai [Tue, 12 Feb 2019 12:44:35 +0000 (20:44 +0800)]
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>
6 years agomon/MonClient: forward declare AuthRegistry instead of #include it 26383/head
Kefu Chai [Tue, 12 Feb 2019 11:44:04 +0000 (19:44 +0800)]
mon/MonClient: forward declare AuthRegistry instead of #include it

to speed up the compilation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocommon/ceph_context: hardwire module_type to CEPH_ENTITY_TYPE_OSD
Kefu Chai [Tue, 12 Feb 2019 11:42:33 +0000 (19:42 +0800)]
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>
6 years agoauth/AuthServer: fix typo in comments
Kefu Chai [Tue, 12 Feb 2019 11:41:41 +0000 (19:41 +0800)]
auth/AuthServer: fix typo in comments

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/net: crimson messenger performance test tool 26221/head
Yingxin Cheng [Wed, 30 Jan 2019 02:29:33 +0000 (10:29 +0800)]
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>
6 years agocrimson/net: improve UT performance and added timing
Yingxin Cheng [Tue, 29 Jan 2019 12:08:47 +0000 (20:08 +0800)]
crimson/net: improve UT performance and added timing

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agoMerge pull request #26243 from nathan-weinberg/block-tabs
Lenz Grimmer [Tue, 12 Feb 2019 11:09:41 +0000 (12:09 +0100)]
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>
6 years agoMerge pull request #26364 from tchaikov/wip-test-silence-warnings
Kefu Chai [Tue, 12 Feb 2019 09:41:45 +0000 (17:41 +0800)]
Merge pull request #26364 from tchaikov/wip-test-silence-warnings

test/rgw: silence -Wsign-compare warnings

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agomgr/dashboard: Add iSCSI discovery authentication UI 26320/head
Tiago Melo [Tue, 5 Feb 2019 12:01:05 +0000 (12:01 +0000)]
mgr/dashboard: Add iSCSI discovery authentication UI

Fixes: https://tracker.ceph.com/issues/38021
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Fix order of table buttons
Tiago Melo [Mon, 11 Feb 2019 15:08:25 +0000 (15:08 +0000)]
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>
6 years agoMerge pull request #26319 from tspmelo/wip-iscsi-service-spec
Lenz Grimmer [Tue, 12 Feb 2019 09:23:15 +0000 (10:23 +0100)]
Merge pull request #26319 from tspmelo/wip-iscsi-service-spec

mgr/dashboard: Fix iSCSI service unit tests

Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agorpm,deb: remove python-jinja2 dependency 26379/head
Kefu Chai [Tue, 12 Feb 2019 08:30:03 +0000 (16:30 +0800)]
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>
6 years agocrimson/net: fix memory leak
Yingxin Cheng [Thu, 31 Jan 2019 07:48:24 +0000 (15:48 +0800)]
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>
6 years agocrimson/net: port sharded-msgr to existing code 24945/head
Yingxin Cheng [Sun, 3 Feb 2019 14:24:23 +0000 (22:24 +0800)]
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>
6 years agocrimson/net: promote policy related method to Messenger
Yingxin Cheng [Sun, 3 Feb 2019 12:52:51 +0000 (20:52 +0800)]
crimson/net: promote policy related method to Messenger

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: compatible mode of crimson-msgr
Yingxin Cheng [Wed, 23 Jan 2019 03:37:57 +0000 (11:37 +0800)]
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>
6 years agocrimson/net: suppress info logs for frequent keepalive
Yingxin Cheng [Sat, 2 Feb 2019 02:27:06 +0000 (10:27 +0800)]
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>
6 years agocrimson/net: enable connections on all cores
Yingxin Cheng [Tue, 12 Feb 2019 05:11:16 +0000 (13:11 +0800)]
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>
6 years agodebian/control: change Architecture python plugins to "all" 26377/head
Kefu Chai [Tue, 12 Feb 2019 08:18:58 +0000 (16:18 +0800)]
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>
6 years agomgr/orchestrator: fix device pretty-print, added unit test 26357/head
Sebastian Wagner [Tue, 12 Feb 2019 07:22:58 +0000 (07:22 +0000)]
mgr/orchestrator: fix device pretty-print, added unit test

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #26255 from tchaikov/wip-crimson-hb
Kefu Chai [Tue, 12 Feb 2019 02:57:40 +0000 (10:57 +0800)]
Merge pull request #26255 from tchaikov/wip-crimson-hb

crimson/osd: add more heartbeat peers

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agopybind/orch: add refresh option to inventory query 26346/head
Noah Watkins [Fri, 8 Feb 2019 23:25:55 +0000 (15:25 -0800)]
pybind/orch: add refresh option to inventory query

allow a user of the orchestrator interface to express that the inventory
query should not read from any cached inventory state.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
6 years agoMerge PR #26282 into master
Sage Weil [Mon, 11 Feb 2019 23:26:19 +0000 (17:26 -0600)]
Merge PR #26282 into master

* refs/pull/26282/head:
mon: include progress events in 'ceph status' output
mon/MgrStatMonitor: persist progress events
mgr: send progress events to mon
mgr/progress: revise message syntax a bit
mgr/progress: report events into mgr
mgr: allow progress events to be reported from modules
mgr/progress: make persist period/interval configurable
mgr/progress: prune completed events

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
6 years agoMerge PR #26336 into master
Sage Weil [Mon, 11 Feb 2019 21:47:29 +0000 (15:47 -0600)]
Merge PR #26336 into master

* refs/pull/26336/head:
qa/tasks/keystone.py: no need for notcmalloc in example
qa/suites/rgw/tempest/tasks/rgw_tempest: no need for notcmalloc

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agocmake: further removal/cleanup of subman configuration 26368/head
Alfredo Deza [Mon, 11 Feb 2019 21:15:26 +0000 (16:15 -0500)]
cmake: further removal/cleanup of subman configuration

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agorpm: further removal/cleanup of subman calls
Alfredo Deza [Mon, 11 Feb 2019 21:14:43 +0000 (16:14 -0500)]
rpm: further removal/cleanup of subman calls

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agomgr/dashboard: Fix typo in pools management 26323/head
Lenz Grimmer [Fri, 8 Feb 2019 10:15:17 +0000 (11:15 +0100)]
mgr/dashboard: Fix typo in pools management

Typo fix: "suite your needs" -> "suit your needs"

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agoMerge pull request #26322 from trociny/wip-mock-warning
Jason Dillaman [Mon, 11 Feb 2019 17:23:02 +0000 (12:23 -0500)]
Merge pull request #26322 from trociny/wip-mock-warning

test/librbd: fix 'Uninteresting mock function call' warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agomsg/async/ProtocolV2: refuse incoming reconnect attempt intended for someone else 26365/head
Sage Weil [Mon, 11 Feb 2019 17:02:28 +0000 (11:02 -0600)]
msg/async/ProtocolV2: refuse incoming reconnect attempt intended for someone else

The same scenario that was possible on client_ident is also possible
for reconnect: on the accepting side we recognized the client_addrs
but the client is trying to reach someone else.  Since the cookie is a
random 64-bit value it is unlikely, but still possible, that we will
match an existing session that is not for the client.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agotest/rgw: silence -Wsign-compare warnings 26364/head
Kefu Chai [Mon, 11 Feb 2019 16:29:44 +0000 (00:29 +0800)]
test/rgw: silence -Wsign-compare warnings

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #26318 from wjwithagen/wjw-fix-crush_weights.sh-sed
Kefu Chai [Mon, 11 Feb 2019 16:20:15 +0000 (00:20 +0800)]
Merge pull request #26318 from wjwithagen/wjw-fix-crush_weights.sh-sed

test: switch to GNU sed on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoceph.spec.in: python-kubernetes broken on rhel 26363/head
Sage Weil [Mon, 11 Feb 2019 15:54:17 +0000 (09:54 -0600)]
ceph.spec.in: python-kubernetes broken on rhel

Error: Package: python2-kubernetes-8.0.0-6.el7.noarch (epel)
           Requires: python-adal

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomsg/async/ProtocolV2: refuse incoming connection intended for someone else
Sage Weil [Mon, 11 Feb 2019 15:29:30 +0000 (09:29 -0600)]
msg/async/ProtocolV2: refuse incoming connection intended for someone else

If we get a client_ident frame, and they are trying to talk to someone
else, drop the connection.

This is an inelegant workaround to http://tracker.ceph.com/issues/38247.
A nicer fix would be to restructure the protocol so that the client knows
who they connected to before they try to open a session.  That is a bigger
change that can follow...

Fixes: http://tracker.ceph.com/issues/38247
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/dashboard: Fix iSCSI service unit tests 26319/head
Tiago Melo [Thu, 7 Feb 2019 14:41:00 +0000 (14:41 +0000)]
mgr/dashboard: Fix iSCSI service unit tests

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #26339 from idryomov/wip-krbd-namespaces-test
Ilya Dryomov [Mon, 11 Feb 2019 15:00:32 +0000 (16:00 +0100)]
Merge pull request #26339 from idryomov/wip-krbd-namespaces-test

qa: krbd namespaces test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #26102 from rhcs-dashboard/wip-featuretoggles
Lenz Grimmer [Mon, 11 Feb 2019 14:58:57 +0000 (15:58 +0100)]
Merge pull request #26102 from rhcs-dashboard/wip-featuretoggles

mgr/dashboard: add Feature Toggles

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agolibrbd: get_parent API method should properly handle migrating image
Jason Dillaman [Fri, 8 Feb 2019 15:14:03 +0000 (10:14 -0500)]
librbd: get_parent API method should properly handle migrating image

The true parent of a migrating parent is actually the parent of the
migration source image. There are other API methods available to
retreive the details of the migration source.

Fixes: http://tracker.ceph.com/issues/37998
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #26360 from rhcs-dashboard/wip-38254-master
Lenz Grimmer [Mon, 11 Feb 2019 13:16:59 +0000 (14:16 +0100)]
Merge pull request #26360 from rhcs-dashboard/wip-38254-master

doc: mgr/orch: Fix remote_host doc reference

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
6 years agodoc: mgr/orch: Fix remote_host doc reference 26360/head
Ernesto Puerta [Mon, 11 Feb 2019 11:50:43 +0000 (12:50 +0100)]
doc: mgr/orch: Fix remote_host doc reference

The type fix in the remote_host to remove_host has caused a Ceph docs
build failure.

Introduced-By: 05cfa6f
Fixes: http://tracker.ceph.com/issues/38254
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agoMerge pull request #26268 from smithfarm/wip-opensuse-s390
Nathan Cutler [Mon, 11 Feb 2019 11:53:09 +0000 (12:53 +0100)]
Merge pull request #26268 from smithfarm/wip-opensuse-s390

rpm: do not exclude s390x build on openSUSE

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: mgr/dashboard: feature-toggles: Fix config 26102/head
Ernesto Puerta [Wed, 6 Feb 2019 17:04:23 +0000 (18:04 +0100)]
doc: mgr/dashboard: feature-toggles: Fix config

Add '*.inc.rst' to the list of excluded patterns from sphinx-build. This
allows for using '*.inc.rst' as includes, and avoids duplicates. The
benefit of keeping the trailing '.rst' extension is that most IDEs use
that to render reStructured Text files.

Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agomgr/dashboard: feature-toggles: minor fixes
Ernesto Puerta [Wed, 6 Feb 2019 11:55:35 +0000 (12:55 +0100)]
mgr/dashboard: feature-toggles: minor fixes

Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agomgr/dashboard: feature-toggles: Update Hacking
Ernesto Puerta [Tue, 5 Feb 2019 19:01:33 +0000 (20:01 +0100)]
mgr/dashboard: feature-toggles: Update Hacking

Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agomgr/dashboard: feature-toggles: Fix formatting
Ernesto Puerta [Tue, 5 Feb 2019 10:50:43 +0000 (11:50 +0100)]
mgr/dashboard: feature-toggles: Fix formatting

Fix front-end formatting as suggested by tspmelo

Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agodoc: mgr/dashboard: feature-toggles: Add doc
Ernesto Puerta [Mon, 4 Feb 2019 18:06:12 +0000 (19:06 +0100)]
doc: mgr/dashboard: feature-toggles: Add doc

Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agomgr/dashboard: feature-toggles: add py unit tests
Ernesto Puerta [Mon, 4 Feb 2019 09:28:29 +0000 (10:28 +0100)]
mgr/dashboard: feature-toggles: add py unit tests

Add python unit test for feature toggles plugin, and refactor other
files, and add a new type of function cache decorator based on LRU but
with a TTL.

Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agoMerge pull request #26115 from ricardoasmarques/iscsi-discovery-auth-api
Lenz Grimmer [Mon, 11 Feb 2019 09:50:14 +0000 (10:50 +0100)]
Merge pull request #26115 from ricardoasmarques/iscsi-discovery-auth-api

mgr/dashboard: iSCSI discovery authentication API

Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/orchestrator: fix device pretty print with None attributes
Ricardo Dias [Mon, 11 Feb 2019 09:22:49 +0000 (09:22 +0000)]
mgr/orchestrator: fix device pretty print with None attributes

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #26314 from sebastian-philipp/orchestrator-host-mon-mgr
Sebastian Wagner [Mon, 11 Feb 2019 08:52:53 +0000 (09:52 +0100)]
Merge pull request #26314 from sebastian-philipp/orchestrator-host-mon-mgr

mgr/orchestrator: Add host mon mgr management to interface

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
6 years agoMerge PR #25977 into master
Sage Weil [Sat, 9 Feb 2019 19:46:51 +0000 (13:46 -0600)]
Merge PR #25977 into master

* refs/pull/25977/head:
qa/suites: exclude new packages when installing old versions
rpm: add dependency on python-kubernetes module to ceph-mgr-rook package
rpm,deb: add rbd_support module to ceph-mgr
packaging: split ceph-mgr diskprediction and rook plugins into own packages

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #26327 into master
Sage Weil [Sat, 9 Feb 2019 14:29:18 +0000 (08:29 -0600)]
Merge PR #26327 into master

* refs/pull/26327/head:
doc/dev/msgr2: bring up to date with new HELLO, different RECONNECT
msg/async/ProtocolV2: separate IDENT into {CLIENT,SERVER}_IDENT

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #25082 from rzarzynski/wip-bl-less-atomic
Kefu Chai [Sat, 9 Feb 2019 13:32:23 +0000 (21:32 +0800)]
Merge pull request #25082 from rzarzynski/wip-bl-less-atomic

common: optimize reference counting in bufferlist

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #26287 into master
Patrick Donnelly [Sat, 9 Feb 2019 03:38:37 +0000 (19:38 -0800)]
Merge PR #26287 into master

* refs/pull/26287/head:
doc: update doc on new recall config

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge PR #26248 into master
Sage Weil [Fri, 8 Feb 2019 20:42:10 +0000 (14:42 -0600)]
Merge PR #26248 into master

* refs/pull/26248/head:
systemd: lock down privileges more

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agomon: include progress events in 'ceph status' output 26282/head
Sage Weil [Tue, 5 Feb 2019 16:16:44 +0000 (10:16 -0600)]
mon: include progress events in 'ceph status' output

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/MgrStatMonitor: persist progress events
Sage Weil [Tue, 5 Feb 2019 16:16:35 +0000 (10:16 -0600)]
mon/MgrStatMonitor: persist progress events

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr: send progress events to mon
Sage Weil [Tue, 5 Feb 2019 16:16:22 +0000 (10:16 -0600)]
mgr: send progress events to mon

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/progress: revise message syntax a bit
Sage Weil [Fri, 8 Feb 2019 19:50:18 +0000 (13:50 -0600)]
mgr/progress: revise message syntax a bit

"osd.0", not "OSD 0"

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/progress: report events into mgr
Sage Weil [Tue, 5 Feb 2019 16:16:10 +0000 (10:16 -0600)]
mgr/progress: report events into mgr

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa/suites: exclude new packages when installing old versions 25977/head
Sage Weil [Fri, 8 Feb 2019 18:59:14 +0000 (12:59 -0600)]
qa/suites: exclude new packages when installing old versions

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #26335 into master
Sage Weil [Fri, 8 Feb 2019 18:51:57 +0000 (12:51 -0600)]
Merge PR #26335 into master

* refs/pull/26335/head:
ceph-osd: fix warning

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agorpm: add dependency on python-kubernetes module to ceph-mgr-rook package
Jeff Layton [Fri, 8 Feb 2019 17:03:15 +0000 (12:03 -0500)]
rpm: add dependency on python-kubernetes module to ceph-mgr-rook package

Signed-off-by: Jeff Layton <jlayton@redhat.com>
6 years agoosd/OSD: respect osdmap message limits 26340/head
Sage Weil [Fri, 8 Feb 2019 14:59:52 +0000 (08:59 -0600)]
osd/OSD: respect osdmap message limits

We restructure the function significantly to let us work forwards instead
of backwards through epochs.  We also make the assumption that the OSD
will have the maps it is supposed to have.  If we for some reason fail to
load a map, we fall back to something minimal, but in general there is
little point to sending a more complete message when local maps are missing
since it shouldn't ever happen anyway and the receiver can always go get
maps from the mon.

Fixes: http://tracker.ceph.com/issues/38040
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #26330 from dzafman/wip-fixstats
David Zafman [Fri, 8 Feb 2019 16:41:29 +0000 (08:41 -0800)]
Merge pull request #26330 from dzafman/wip-fixstats

test: osd-backfill-stats.sh Fix check of multi backfill OSDs, skip re…

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agomon/OSDMonitor: limit MOSDMap message size by bytes
Sage Weil [Fri, 8 Feb 2019 13:22:28 +0000 (07:22 -0600)]
mon/OSDMonitor: limit MOSDMap message size by bytes

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agocommon/options: add osd_map_message_max_bytes
Sage Weil [Fri, 8 Feb 2019 13:22:20 +0000 (07:22 -0600)]
common/options: add osd_map_message_max_bytes

Limit MOSDMap message size by bytes as well as map count.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa/tasks/keystone.py: no need for notcmalloc in example 26336/head
Sage Weil [Fri, 8 Feb 2019 15:12:01 +0000 (09:12 -0600)]
qa/tasks/keystone.py: no need for notcmalloc in example

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa/suites/rgw/tempest/tasks/rgw_tempest: no need for notcmalloc
Sage Weil [Fri, 8 Feb 2019 15:11:07 +0000 (09:11 -0600)]
qa/suites/rgw/tempest/tasks/rgw_tempest: no need for notcmalloc

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/dashboard: Added tab tests to Block menu items 26243/head
Nathan Weinberg [Fri, 8 Feb 2019 15:00:08 +0000 (10:00 -0500)]
mgr/dashboard: Added tab tests to Block menu items

Fixes: https://tracker.ceph.com/issues/38149
Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
6 years agorpm,deb: add rbd_support module to ceph-mgr
Sage Weil [Fri, 8 Feb 2019 14:29:45 +0000 (08:29 -0600)]
rpm,deb: add rbd_support module to ceph-mgr

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa: krbd namespaces test 26339/head
Ilya Dryomov [Wed, 6 Feb 2019 14:21:50 +0000 (15:21 +0100)]
qa: krbd namespaces test

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agoceph-osd: fix warning 26335/head
Sage Weil [Fri, 8 Feb 2019 13:16:07 +0000 (07:16 -0600)]
ceph-osd: fix warning

/home/sage/src/ceph/src/ceph_osd.cc: In function ‘int main(int, const char**)’:
/home/sage/src/ceph/src/ceph_osd.cc:478:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
       require_osd_release + 2 < ceph_release()) {
       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/dashboard: iSCSI discovery authentication API 26115/head
Ricardo Marques [Thu, 24 Jan 2019 13:41:53 +0000 (13:41 +0000)]
mgr/dashboard: iSCSI discovery authentication API

Fixes: https://tracker.ceph.com/issues/38017
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #26317 from jtlayton/wip-jlayton-orch
Sebastian Wagner [Fri, 8 Feb 2019 09:58:46 +0000 (10:58 +0100)]
Merge pull request #26317 from jtlayton/wip-jlayton-orch

mgr/orchestrator: Fix up rook osd create dispatcher

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoMerge pull request #26331 from tchaikov/wip-mgr-orchestrator-docstring
Sebastian Wagner [Fri, 8 Feb 2019 08:33:05 +0000 (09:33 +0100)]
Merge pull request #26331 from tchaikov/wip-mgr-orchestrator-docstring

doc/mgr/orchestrator: Add Architecture Image

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoMerge pull request #26301 from tchaikov/wip-cxx17-aggre-init
Kefu Chai [Fri, 8 Feb 2019 08:09:11 +0000 (16:09 +0800)]
Merge pull request #26301 from tchaikov/wip-cxx17-aggre-init

changes to address FTBFS on fc30

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoMerge pull request #26311 from tchaikov/wip-docker-fc-29
Kefu Chai [Fri, 8 Feb 2019 06:37:51 +0000 (14:37 +0800)]
Merge pull request #26311 from tchaikov/wip-docker-fc-29

tests: update Dockerfile to support fc-29

Reviewed-By: Neha Ojha <nojha@redhat.com>
6 years agomgr/orchestrator: reformat the docstring 26331/head
Kefu Chai [Fri, 8 Feb 2019 06:27:35 +0000 (14:27 +0800)]
mgr/orchestrator: reformat the docstring

we need to add an empty line before the param and return lines.

so it renders better with sphinx's `automethod::` directive.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #26313 from tchaikov/wip-mgr-ansible-tox
Kefu Chai [Fri, 8 Feb 2019 05:12:25 +0000 (13:12 +0800)]
Merge pull request #26313 from tchaikov/wip-mgr-ansible-tox

mgr/ansible: add install tox==2.9.1

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agotest: osd-backfill-stats.sh Fix check of multi backfill OSDs, skip remapped test 26330/head
David Zafman [Thu, 7 Feb 2019 23:48:48 +0000 (15:48 -0800)]
test: osd-backfill-stats.sh Fix check of multi backfill OSDs, skip remapped test

Signed-off-by: David Zafman <dzafman@redhat.com>