]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agodoc: RBD exclusive locks 31893/head
Florian Haas [Tue, 26 Nov 2019 17:25:12 +0000 (18:25 +0100)]
doc: RBD exclusive locks

A discussion on the ceph-users list uncovered a bit of uncertainty
about how exclusive locking works:

https://www.mail-archive.com/ceph-users@lists.ceph.com/msg56910.html

Add a bit of background information about exclusive locks, and
cross-reference the documentatation on OpenStack, and on CephX.

Signed-off-by: Florian Haas <florian@citynetwork.eu>
5 years agoMerge pull request #31972 from clwluvw/patch-1
Casey Bodley [Wed, 4 Dec 2019 13:32:00 +0000 (08:32 -0500)]
Merge pull request #31972 from clwluvw/patch-1

doc: rgw: Fixed bug on wrong name for user_id for OPA

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #31906 from s0nea/wip-dashboard-fix-pg-num-warning
Laura Paduano [Wed, 4 Dec 2019 13:20:39 +0000 (14:20 +0100)]
Merge pull request #31906 from s0nea/wip-dashboard-fix-pg-num-warning

mgr/dashboard: fix tests in order to match pg num conventions

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge PR #31797 into master
Sage Weil [Wed, 4 Dec 2019 13:10:49 +0000 (07:10 -0600)]
Merge PR #31797 into master

* refs/pull/31797/head:
qa: test mgr cephfs mount blacklist
mgr: forward RADOS client instances for potential blacklist
mon/MgrMonitor: blacklist previous instance
mon: set RUNTIME flag on mon_mds_blacklist_interval
mgr: use more efficient data structure

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #31950 from dillaman/wip-mirror-peer-fsid
Mykola Golub [Wed, 4 Dec 2019 13:08:23 +0000 (15:08 +0200)]
Merge pull request #31950 from dillaman/wip-mirror-peer-fsid

rbd-mirror: peer_ping should send the local fsid to the remote

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge PR #31908 into master
Sage Weil [Wed, 4 Dec 2019 13:06:34 +0000 (07:06 -0600)]
Merge PR #31908 into master

* refs/pull/31908/head:
ceph-daemon: use uid/gid 0 when creating tempfiles
ceph-daemon: drop unneeded `mode` during tmpfile create
ceph-daemon: consolidate NamedTemporaryFile logic
ceph-daemon: chown uid/gid `ceph-volume` tmpfiles

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #31940 into master
Sage Weil [Wed, 4 Dec 2019 13:06:13 +0000 (07:06 -0600)]
Merge PR #31940 into master

* refs/pull/31940/head:
mgr/ssh: Port raising exceptions from completion handlers to Py2

Reviewed-by: Joshua Schmid <jschmid@suse.de>
5 years agoMerge pull request #31990 from dzafman/wip-43084
Kefu Chai [Wed, 4 Dec 2019 04:30:11 +0000 (12:30 +0800)]
Merge pull request #31990 from dzafman/wip-43084

tools/osdmaptool.cc: do not use deprecated std::random_shuffle()

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
5 years agoqa: test mgr cephfs mount blacklist 31797/head
Patrick Donnelly [Tue, 3 Dec 2019 23:02:19 +0000 (15:02 -0800)]
qa: test mgr cephfs mount blacklist

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomgr: forward RADOS client instances for potential blacklist
Patrick Donnelly [Tue, 3 Dec 2019 04:27:44 +0000 (20:27 -0800)]
mgr: forward RADOS client instances for potential blacklist

The mgr creates a per-module RADOS client connection for modules which
interact with RADOS (e.g. the volumes module). These clients should also
be blacklisted when the active mgr is failed; we don't want the former
active mgr to continue interacting with RADOS when the new one takes
over. This is particularly impactful for avoiding extraneous
"unresponsive client" warnings from the MDS when the mgr switches
(especially in testing). The MDS will pickup the new OSD blacklists
which include's the old mgr's libcephfs instance and blacklist/evict
that session quietly.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomon/MgrMonitor: blacklist previous instance
Patrick Donnelly [Thu, 21 Nov 2019 20:31:16 +0000 (12:31 -0800)]
mon/MgrMonitor: blacklist previous instance

This wasn't realized as necessary early on in the ceph-mgr development
because the mgr didn't interact with RADOS. However, now it is becoming
common for plugins to store data there. It's important that the previous
instance can no longer interact with RADOS while the new mgr takes over.

In particular, this means that the mgr's client sessions with the MDS
are automatically evicted once the MDS receives the new OSDMap. This
avoids a pesky "unresponsive client" warning in the cluster logs.

Fixes: https://tracker.ceph.com/issues/42939
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomon: set RUNTIME flag on mon_mds_blacklist_interval
Patrick Donnelly [Thu, 21 Nov 2019 21:01:07 +0000 (13:01 -0800)]
mon: set RUNTIME flag on mon_mds_blacklist_interval

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomgr: use more efficient data structure
Patrick Donnelly [Tue, 3 Dec 2019 01:57:48 +0000 (17:57 -0800)]
mgr: use more efficient data structure

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agotools/osdmaptool.cc: do not use deprecated std::random_shuffle() 31990/head
Kefu Chai [Wed, 4 Dec 2019 00:06:40 +0000 (16:06 -0800)]
tools/osdmaptool.cc: do not use deprecated std::random_shuffle()
the use of `std::random_shuffle()` was introduced by
b946308 .

in this change, it is replaced using `std::shuffle()`.

Fixes: https://tracker.ceph.com/issues/43084
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #31891 into master
Sage Weil [Tue, 3 Dec 2019 22:49:28 +0000 (16:49 -0600)]
Merge PR #31891 into master

* refs/pull/31891/head:
qa/suites/rados/ssh: only install ceph-daemon for packaged mode
tasks/ceph2: add support for packaged ceph-daemon
qa/tasks/ceph2: make image cluster-private
qa/tasks/ceph2: add 'shell' command

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge PR #31984 into master
Sage Weil [Tue, 3 Dec 2019 22:11:21 +0000 (16:11 -0600)]
Merge PR #31984 into master

* refs/pull/31984/head:
mgr/telemetry: fix log typo

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #31869 into master
Sage Weil [Tue, 3 Dec 2019 22:00:14 +0000 (16:00 -0600)]
Merge PR #31869 into master

* refs/pull/31869/head:
ceph-daemon: bootstrap: deploy initial mon via deploy_daemon()
qa/standalone/test_ceph_daemon.sh: more $SUDO
ceph-daemon: configure firewalld for new daemon deploys
ceph-daemon: name mgr the same way mgr/ssh does

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #31930 into master
Sage Weil [Tue, 3 Dec 2019 21:59:16 +0000 (15:59 -0600)]
Merge PR #31930 into master

* refs/pull/31930/head:
mgr/orchestrator: add optional "format" param for "orchestrator host ls"

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #31968 from idryomov/wip-krbd-python3
Ilya Dryomov [Tue, 3 Dec 2019 20:54:41 +0000 (21:54 +0100)]
Merge pull request #31968 from idryomov/wip-krbd-python3

qa: update krbd tests for python3

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agomgr/telemetry: fix log typo 31984/head
Sage Weil [Tue, 3 Dec 2019 19:38:50 +0000 (13:38 -0600)]
mgr/telemetry: fix log typo

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31983 into master
Sage Weil [Tue, 3 Dec 2019 19:20:16 +0000 (13:20 -0600)]
Merge PR #31983 into master

* refs/pull/31983/head:
mgr/ssh/tests: fix RGWSpec test

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agomgr/ssh/tests: fix RGWSpec test 31983/head
Sage Weil [Tue, 3 Dec 2019 18:14:47 +0000 (12:14 -0600)]
mgr/ssh/tests: fix RGWSpec test

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31973 into master
Sage Weil [Tue, 3 Dec 2019 17:32:55 +0000 (11:32 -0600)]
Merge PR #31973 into master

* refs/pull/31973/head:
mgr/crash: fix 'crash ls[-new]' sorting

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agomgr/dashboard: grafana charts match time picker selection. (#31964)
Lenz Grimmer [Tue, 3 Dec 2019 17:09:00 +0000 (17:09 +0000)]
mgr/dashboard: grafana charts match time picker selection. (#31964)

mgr/dashboard: grafana charts match time picker selection.

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
5 years agoMerge PR #31890 into master
Sage Weil [Tue, 3 Dec 2019 16:38:28 +0000 (10:38 -0600)]
Merge PR #31890 into master

* refs/pull/31890/head:
mgr/orchestrator: name rgw by client.rgw.$realm.$zone[.$id]

Reviewed-by: Ali Maredia <amaredia@redhat.com>
5 years agoMerge PR #31952 into master
Sage Weil [Tue, 3 Dec 2019 16:33:44 +0000 (10:33 -0600)]
Merge PR #31952 into master

* refs/pull/31952/head:
mgr/ssh: fix remove_osds
mgr/ssh: fix service_action

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoceph-daemon: bootstrap: deploy initial mon via deploy_daemon() 31869/head
Sage Weil [Mon, 2 Dec 2019 19:32:03 +0000 (13:32 -0600)]
ceph-daemon: bootstrap: deploy initial mon via deploy_daemon()

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/standalone/test_ceph_daemon.sh: more $SUDO
Sage Weil [Mon, 2 Dec 2019 19:33:27 +0000 (13:33 -0600)]
qa/standalone/test_ceph_daemon.sh: more $SUDO

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph-daemon: configure firewalld for new daemon deploys
Sage Weil [Mon, 25 Nov 2019 23:59:40 +0000 (17:59 -0600)]
ceph-daemon: configure firewalld for new daemon deploys

Note that we only open firewalld ports; we never close them.

We could conceivably do that from rm-cluster, but that might also interfere
with something else on the host...

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoFixed bug on wrong name for user_id 31972/head
Seena Fallah [Tue, 3 Dec 2019 12:55:32 +0000 (16:25 +0330)]
Fixed bug on wrong name for user_id

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
5 years agoMerge pull request #31202 from athanatos/sjust/wip-crimson-obc
Kefu Chai [Tue, 3 Dec 2019 16:04:20 +0000 (00:04 +0800)]
Merge pull request #31202 from athanatos/sjust/wip-crimson-obc

crimson, common: Add ephemeral ObjectContext state to crimson

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-daemon: use uid/gid 0 when creating tempfiles 31908/head
Michael Fritch [Tue, 3 Dec 2019 14:41:59 +0000 (07:41 -0700)]
ceph-daemon: use uid/gid 0 when creating tempfiles

skip extraction of the uid/gid since `ceph-volume` runs as root

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #31473 from ifed01/wip-ifed-smplify-fsck
Kefu Chai [Tue, 3 Dec 2019 14:32:25 +0000 (22:32 +0800)]
Merge pull request #31473 from ifed01/wip-ifed-smplify-fsck

os/bluestore: simplify multithreaded shallow fsck.

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #31969 from sebastian-philipp/mgr-fix-mocking
Sebastian Wagner [Tue, 3 Dec 2019 14:26:23 +0000 (15:26 +0100)]
Merge pull request #31969 from sebastian-philipp/mgr-fix-mocking

pybind/mgr: Make it easier to create a Module instance without the mgr

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agomgr/dashboard,grafana: remove shortcut menu (#31951)
Lenz Grimmer [Tue, 3 Dec 2019 13:56:00 +0000 (13:56 +0000)]
mgr/dashboard,grafana: remove shortcut menu (#31951)

mgr/dashboard,grafana: remove shortcut menu

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
5 years agomgr/dashboard: grafana charts match time picker selection. 31964/head
Alfonso Martínez [Tue, 3 Dec 2019 13:15:10 +0000 (14:15 +0100)]
mgr/dashboard: grafana charts match time picker selection.

Fixes: https://tracker.ceph.com/issues/43097
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
5 years agomgr/crash: fix 'crash ls[-new]' sorting 31973/head
Sage Weil [Tue, 3 Dec 2019 13:12:26 +0000 (07:12 -0600)]
mgr/crash: fix 'crash ls[-new]' sorting

Broken by c691f2f8763a9db081a0b61294c5eedf4e9c2cee

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #31960 from tchaikov/wip-cmake-new-policy
Kefu Chai [Tue, 3 Dec 2019 12:04:28 +0000 (20:04 +0800)]
Merge pull request #31960 from tchaikov/wip-cmake-new-policy

cmake: do not use CMP0093 unless it is supported

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
5 years agocmake: do not use CMP0093 unless it is supported 31944/head 31960/head
Kefu Chai [Tue, 3 Dec 2019 03:50:40 +0000 (11:50 +0800)]
cmake: do not use CMP0093 unless it is supported

CMake CMP0093 was introduced by CMake 3.15, but we only require CMake
v3.10.2. so use the old `Boost_VERSION_MACRO` variable by default,
unless specified otherwise.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agopybind/mgr: Make it easier to create a Module instance without the mgr 31969/head
Sebastian Wagner [Tue, 3 Dec 2019 11:49:07 +0000 (12:49 +0100)]
pybind/mgr: Make it easier to create a Module instance without the mgr

Caused by conflict between #30961 and #30262

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #31872 from smithfarm/wip-mimic-v13.2.7-doc2
Nathan Cutler [Tue, 3 Dec 2019 11:21:11 +0000 (12:21 +0100)]
Merge pull request #31872 from smithfarm/wip-mimic-v13.2.7-doc2

doc/releases: add mimic v13.2.7 to releases timeline

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agomgr/dashboard: Increase max-width of popovers (#31743)
Lenz Grimmer [Tue, 3 Dec 2019 09:32:21 +0000 (09:32 +0000)]
mgr/dashboard: Increase max-width of popovers (#31743)

mgr/dashboard: Increase max-width of popovers

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #30961 from rjfd/wip-mgr-module-logging
Laura Paduano [Tue, 3 Dec 2019 09:29:42 +0000 (10:29 +0100)]
Merge pull request #30961 from rjfd/wip-mgr-module-logging

mgr: module logging infrastructure

Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agomgr/dashboard,grafana: remove shortcut menu 31951/head
Ernesto Puerta [Mon, 2 Dec 2019 20:28:35 +0000 (21:28 +0100)]
mgr/dashboard,grafana: remove shortcut menu

Remove shortcut menu (links) and add check in grafana CI script.

Fixes: https://tracker.ceph.com/issues/43091
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoMerge pull request #31962 from bk201/wip-43095
Kefu Chai [Tue, 3 Dec 2019 07:12:02 +0000 (15:12 +0800)]
Merge pull request #31962 from bk201/wip-43095

vstart: fix error when getting CMake variables with the same prefix

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agovstart: fix error when getting CMake variables with the same prefix 31962/head
Kiefer Chang [Tue, 3 Dec 2019 06:03:21 +0000 (14:03 +0800)]
vstart: fix error when getting CMake variables with the same prefix

The function fails to work when there are multiple variables starts with
the same prefix. e.g.

- WITH_RBD
- WITH_RBD_RGW

Fixes: https://tracker.ceph.com/issues/43095
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agocrimson/osd: convert PG::wait_for_active to a blocking_future 31202/head
Samuel Just [Wed, 16 Oct 2019 18:12:12 +0000 (11:12 -0700)]
crimson/osd: convert PG::wait_for_active to a blocking_future

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/osd: use ObjectContext and take obc locks
Samuel Just [Wed, 9 Oct 2019 22:07:55 +0000 (15:07 -0700)]
crimson/osd: use ObjectContext and take obc locks

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/osd/pg_backend: factor out load_object_state/snapset
Samuel Just [Wed, 9 Oct 2019 22:06:55 +0000 (15:06 -0700)]
crimson/osd/pg_backend: factor out load_object_state/snapset

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson: add ObjectContext/Registry
Samuel Just [Mon, 7 Oct 2019 18:37:10 +0000 (11:37 -0700)]
crimson: add ObjectContext/Registry

ObjectContext will hold the ephemeral state and lock status
for an object as in classic osd.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agosrc/osd: factor out RWState, move SnapSetContext, ObjectState, RWState
Samuel Just [Mon, 7 Oct 2019 18:36:43 +0000 (11:36 -0700)]
src/osd: factor out RWState, move SnapSetContext, ObjectState, RWState

We'll want to reuse this logic in crimson, but the actual operation
wake/wait mechanics will be different.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocommon/: introduce intrusive_lru
Samuel Just [Fri, 4 Oct 2019 05:22:09 +0000 (22:22 -0700)]
common/: introduce intrusive_lru

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agoosd/: factor OSD::init_op_flags into seperate class
Samuel Just [Tue, 15 Oct 2019 22:35:52 +0000 (15:35 -0700)]
osd/: factor OSD::init_op_flags into seperate class

We'll want to reuse this in crimson, extract the logic
for setting flags from MOSDOp into osd_types.h.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/common/errorator.h: add finally method for resource release
Samuel Just [Fri, 22 Nov 2019 01:52:00 +0000 (01:52 +0000)]
crimson/common/errorator.h: add finally method for resource release

This way we can add things like resource handlers which are otherwise
transparent to passing values and errors.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agovstart: add --debug for crimson if debug is enabled
Samuel Just [Sat, 23 Nov 2019 02:09:25 +0000 (18:09 -0800)]
vstart: add --debug for crimson if debug is enabled

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agoMerge pull request #31947 from zdover23/wip-doc-ubuntu-1804-python-minimal
Kefu Chai [Tue, 3 Dec 2019 04:07:42 +0000 (12:07 +0800)]
Merge pull request #31947 from zdover23/wip-doc-ubuntu-1804-python-minimal

doc: add Python 2 to Ubuntu 18.04 installations

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31958 from tchaikov/wip-cmake-new-policy
Kefu Chai [Tue, 3 Dec 2019 02:48:39 +0000 (10:48 +0800)]
Merge pull request #31958 from tchaikov/wip-cmake-new-policy

cmake: do not use CMP0074 unless it is supported

Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agoqa/suites/rados/ssh: only install ceph-daemon for packaged mode 31891/head
Sage Weil [Tue, 3 Dec 2019 02:26:12 +0000 (02:26 +0000)]
qa/suites/rados/ssh: only install ceph-daemon for packaged mode

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocmake: do not use CMP0074 unless it is supported 31958/head
Kefu Chai [Tue, 3 Dec 2019 01:50:10 +0000 (09:50 +0800)]
cmake: do not use CMP0074 unless it is supported

CMake CMP0074 was introduced by CMake 3.12, but we only require CMake
v3.10.2. so default to check `Boost_ROOT` unless specified otherwise.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-daemon: drop unneeded `mode` during tmpfile create
Michael Fritch [Mon, 2 Dec 2019 23:07:13 +0000 (16:07 -0700)]
ceph-daemon: drop unneeded `mode` during tmpfile create

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoceph-daemon: name mgr the same way mgr/ssh does
Sage Weil [Mon, 25 Nov 2019 23:30:31 +0000 (17:30 -0600)]
ceph-daemon: name mgr the same way mgr/ssh does

(with a random 6-char id, not the hostname)

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph-daemon: consolidate NamedTemporaryFile logic
Michael Fritch [Wed, 27 Nov 2019 18:01:17 +0000 (11:01 -0700)]
ceph-daemon: consolidate NamedTemporaryFile logic

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoceph-daemon: chown uid/gid `ceph-volume` tmpfiles
Michael Fritch [Wed, 27 Nov 2019 18:01:08 +0000 (11:01 -0700)]
ceph-daemon: chown uid/gid `ceph-volume` tmpfiles

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #31913 into master
Sage Weil [Mon, 2 Dec 2019 22:26:33 +0000 (16:26 -0600)]
Merge PR #31913 into master

* refs/pull/31913/head:
ceph-daemon: Allow env var for setting the used image

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agotasks/ceph2: add support for packaged ceph-daemon
Sage Weil [Mon, 2 Dec 2019 21:19:09 +0000 (21:19 +0000)]
tasks/ceph2: add support for packaged ceph-daemon

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/ssh: fix remove_osds 31952/head
Sage Weil [Mon, 2 Dec 2019 21:06:42 +0000 (15:06 -0600)]
mgr/ssh: fix remove_osds

Broken by the new completions

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/ssh: fix service_action
Sage Weil [Mon, 2 Dec 2019 21:06:14 +0000 (15:06 -0600)]
mgr/ssh: fix service_action

Broken by the new completions

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agorbd-mirror: peer_ping should send the local fsid to the remote 31950/head
Jason Dillaman [Mon, 2 Dec 2019 20:45:04 +0000 (15:45 -0500)]
rbd-mirror: peer_ping should send the local fsid to the remote

It was previously incorrectly sending the remote cluster's
fsid to the remote cluster.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #31919 from idryomov/wip-krbd-udev-improvements
Ilya Dryomov [Mon, 2 Dec 2019 20:27:31 +0000 (21:27 +0100)]
Merge pull request #31919 from idryomov/wip-krbd-udev-improvements

krbd: do away with explicit memory management and other cleanups

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoqa: update krbd tests for python3 31968/head
Ilya Dryomov [Tue, 26 Nov 2019 11:06:58 +0000 (12:06 +0100)]
qa: update krbd tests for python3

There is no /usr/bin/python symlink in CentOS 8 even if python2 is
installed.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agoMerge PR #31933 into master
Sage Weil [Mon, 2 Dec 2019 19:58:28 +0000 (13:58 -0600)]
Merge PR #31933 into master

* refs/pull/31933/head:
mgr/ssh: `test_mon_update` needs to set a mon name

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31274 into master
Sage Weil [Mon, 2 Dec 2019 18:56:05 +0000 (12:56 -0600)]
Merge PR #31274 into master

* refs/pull/31274/head:
osd/OSD: enhance osd numa affinity compatibility

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31348 into master
Sage Weil [Mon, 2 Dec 2019 18:55:49 +0000 (12:55 -0600)]
Merge PR #31348 into master

* refs/pull/31348/head:
tools/rados: update advisory lock break usage with --lock-cookie required

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #31669 into master
Sage Weil [Mon, 2 Dec 2019 18:55:26 +0000 (12:55 -0600)]
Merge PR #31669 into master

* refs/pull/31669/head:
bluestore: tiny tracepoints improvement

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agoMerge pull request #31943 from tchaikov/wip-31224
Kefu Chai [Mon, 2 Dec 2019 16:52:00 +0000 (00:52 +0800)]
Merge pull request #31943 from tchaikov/wip-31224

python-common: move pytest integration from setup.py to tox.ini

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agodoc: add Python 2 to Ubuntu 18.04 installations 31947/head
Zac Dover [Mon, 2 Dec 2019 16:21:27 +0000 (02:21 +1000)]
doc: add Python 2 to Ubuntu 18.04 installations

This commit updates the "Create a Cluster" section of the
"Storage Cluster Quick Start" document. Ubuntu 18.04 does
not have Python 2 installed by default. This commit instructs
users of Python 18.04 to install the package "python-minimal"
to provide Python 2 prior to running "ceph-deploy".

This commit fixes Bug number 9 in the list here:
https://pad.ceph.com/p/Report_Documentation_Bugs

Signed-off-by: Zac Dover <zac.dover@gmail.com>
5 years agoMerge pull request #31361 from hairesis/kms_transit_backend
Casey Bodley [Mon, 2 Dec 2019 15:20:19 +0000 (10:20 -0500)]
Merge pull request #31361 from hairesis/kms_transit_backend

rgw: extend SSE-KMS with Vault using transit secrets engine

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agopython-common: move pytest integration from setup.py to tox.ini 31943/head
Sebastian Wagner [Tue, 29 Oct 2019 15:36:01 +0000 (16:36 +0100)]
python-common: move pytest integration from setup.py to tox.ini

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #31279 from lixiaoy1/rwl-image-writeback-cache-seq1
Jason Dillaman [Mon, 2 Dec 2019 14:16:10 +0000 (09:16 -0500)]
Merge pull request #31279 from lixiaoy1/rwl-image-writeback-cache-seq1

rbd/cache: Replicated Write Log core codes part 1

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agomgr/ssh: Port raising exceptions from completion handlers to Py2 31940/head
Sebastian Wagner [Mon, 2 Dec 2019 14:13:14 +0000 (15:13 +0100)]
mgr/ssh: Port raising exceptions from completion handlers to Py2

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/dashboard: Display the aggregated number of request (#31369)
Lenz Grimmer [Mon, 2 Dec 2019 12:41:20 +0000 (12:41 +0000)]
mgr/dashboard: Display the aggregated number of request (#31369)

mgr/dashboard: Display the aggregated number of request

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: Resolve some npm audit issues (#31845)
Lenz Grimmer [Mon, 2 Dec 2019 12:06:39 +0000 (12:06 +0000)]
mgr/dashboard: Resolve some npm audit issues (#31845)

mgr/dashboard: Resolve some npm audit issues

Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agomgr/dashboard: Trim IQN on iSCSI target form (#31888)
Lenz Grimmer [Mon, 2 Dec 2019 11:40:20 +0000 (11:40 +0000)]
mgr/dashboard: Trim IQN on iSCSI target form (#31888)

mgr/dashboard: Trim IQN on iSCSI target form

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agomgr/orchestrator: add optional "format" param for "orchestrator host ls" 31930/head
Kefu Chai [Mon, 2 Dec 2019 08:07:18 +0000 (16:07 +0800)]
mgr/orchestrator: add optional "format" param for "orchestrator host ls"

and update the test accordingly

Fixes: https://tracker.ceph.com/issues/43078
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/ssh: `test_mon_update` needs to set a mon name 31933/head
Sebastian Wagner [Mon, 2 Dec 2019 10:20:53 +0000 (11:20 +0100)]
mgr/ssh: `test_mon_update` needs to set a mon name

... in order to exercise a code path to make use of `_get_services()`

Fixes: https://tracker.ceph.com/issues/43075
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/dashboard: Eye candy updates to datatable pages (#31764)
Lenz Grimmer [Mon, 2 Dec 2019 09:27:33 +0000 (09:27 +0000)]
mgr/dashboard: Eye candy updates to datatable pages (#31764)

mgr/dashboard: Eye candy updates to datatable pages

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agomgr/dashboard: fix tests in order to match pg num conventions 31906/head
Tatjana Dehler [Fri, 8 Nov 2019 12:51:40 +0000 (13:51 +0100)]
mgr/dashboard: fix tests in order to match pg num conventions

Update the tests test_ganesha and test_rbd_mirroring in order
to match the PG num conventions. It prevents the health warning
'POOL_PG_NUM_NOT_POWER_OF_TWO' from being shown.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge pull request #31903 from majianpeng/os-bluestore-ceph-assert
Kefu Chai [Mon, 2 Dec 2019 08:50:38 +0000 (16:50 +0800)]
Merge pull request #31903 from majianpeng/os-bluestore-ceph-assert

os/bluestore: don't round_up_to in apply_for_bitset_range.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #31774 from dzafman/wip-balancer3
Kefu Chai [Mon, 2 Dec 2019 08:48:38 +0000 (16:48 +0800)]
Merge pull request #31774 from dzafman/wip-balancer3

osd,tools: Balancer fixes without all of the calc_pg_upmaps() rewrites

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #31317 from wjwithagen/wjw-update-FindBoost.cmake
Kefu Chai [Mon, 2 Dec 2019 08:46:00 +0000 (16:46 +0800)]
Merge pull request #31317 from wjwithagen/wjw-update-FindBoost.cmake

cmake: update FindBoost.cmake for 1.71

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31841 from rosinL/wip-support-dpdk-numa
Kefu Chai [Mon, 2 Dec 2019 08:45:11 +0000 (16:45 +0800)]
Merge pull request #31841 from rosinL/wip-support-dpdk-numa

cmake: Add dpdk numa support

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31915 from majianpeng/osd-remove-useless-ceph-assert
Kefu Chai [Mon, 2 Dec 2019 08:44:27 +0000 (16:44 +0800)]
Merge pull request #31915 from majianpeng/osd-remove-useless-ceph-assert

osd: remove useless ceph_assert.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31723 from rosinL/wip-add-bench-log-usage
Kefu Chai [Mon, 2 Dec 2019 08:43:48 +0000 (16:43 +0800)]
Merge pull request #31723 from rosinL/wip-add-bench-log-usage

test/bench_log: add usage function

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31840 from rosinL/wip-fix-dpdk
Kefu Chai [Mon, 2 Dec 2019 08:42:00 +0000 (16:42 +0800)]
Merge pull request #31840 from rosinL/wip-fix-dpdk

msg/async/dpdk: fix compilation errors when WITH_DPDK=on

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30631 from xxhdx1985126/wip-bluefs-sync-leak-fix
Kefu Chai [Mon, 2 Dec 2019 08:39:09 +0000 (16:39 +0800)]
Merge pull request #30631 from xxhdx1985126/wip-bluefs-sync-leak-fix

BlueFS: prevent BlueFS::dirty_files from being leaked when syncing metadata

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge PR #31900 into master
Sage Weil [Mon, 2 Dec 2019 02:16:31 +0000 (20:16 -0600)]
Merge PR #31900 into master

* refs/pull/31900/head:
mgr: fix debug typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #31442 into master
Sage Weil [Mon, 2 Dec 2019 02:12:00 +0000 (20:12 -0600)]
Merge PR #31442 into master

* refs/pull/31442/head:
kv/RocksDBStore: Add minimum key limit before invoking DeleteRange.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agomsg/async/dpdk: Porting seastar's init_port_start to fix to resolve compilation errors 31840/head
Chunsong Feng [Thu, 14 Nov 2019 02:10:34 +0000 (10:10 +0800)]
msg/async/dpdk: Porting seastar's init_port_start to fix to resolve compilation errors

Ceph currently uses dpdk19.05, seastar dpdk_device::init_port_start has
been upgraded to DPDK19.05, so porting changes to fix compiler error.

Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
5 years agoMerge pull request #31165 from votdev/improve_py_unittests
Laura Paduano [Fri, 29 Nov 2019 10:04:57 +0000 (11:04 +0100)]
Merge pull request #31165 from votdev/improve_py_unittests

mgr/dashboard: Refactor Python unittests and controller

Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #31856 from rzarzynski/wip-crimson-errorator-handle_error
Kefu Chai [Fri, 29 Nov 2019 05:49:26 +0000 (13:49 +0800)]
Merge pull request #31856 from rzarzynski/wip-crimson-errorator-handle_error

crimson/common/errorator.h: add handle_error() method.

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>