]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 #31883 from jan--f/ceph-volume-code-owner
Jan Fajerski [Wed, 27 Nov 2019 15:36:23 +0000 (16:36 +0100)]
Merge pull request #31883 from jan--f/ceph-volume-code-owner

github/codeowners: add ceph-volume

5 years agoMerge PR #31892 into master
Sage Weil [Wed, 27 Nov 2019 14:36:12 +0000 (08:36 -0600)]
Merge PR #31892 into master

* refs/pull/31892/head:
ceph-daemon: seek relative to the start of file

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #31899 into master
Sage Weil [Wed, 27 Nov 2019 14:04:14 +0000 (08:04 -0600)]
Merge PR #31899 into master

* refs/pull/31899/head:
mgr: drop session with Ceph daemon when not ready
mgr: improve debug message information

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30262 from sebastian-philipp/orchestrator-pomise-future
Sebastian Wagner [Wed, 27 Nov 2019 13:58:21 +0000 (14:58 +0100)]
Merge pull request #30262 from sebastian-philipp/orchestrator-pomise-future

mgr/orchestrator: Make Completions composable

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
5 years agomgr/ssh: Disable host labels. 30262/head
Sebastian Wagner [Wed, 27 Nov 2019 12:49:02 +0000 (13:49 +0100)]
mgr/ssh: Disable host labels.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #31896 from rsevero/missing_virtualenv
Kefu Chai [Wed, 27 Nov 2019 12:48:40 +0000 (20:48 +0800)]
Merge pull request #31896 from rsevero/missing_virtualenv

doc: add missing virtualenv for build-doc

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/orchestrator: use finalize to set TrivialReadCompletion result
Tim Serong [Mon, 25 Nov 2019 04:43:25 +0000 (15:43 +1100)]
mgr/orchestrator: use finalize to set TrivialReadCompletion result

This is needed to correctly set the state of the completion, so that
Completion.has_result returns true.  Without this, _orchestrator_wait()
will spin forever if given a TrivialReadCompletion.

Signed-off-by: Tim Serong <tserong@suse.com>
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/orchestrator: add pretty_print()
Sebastian Wagner [Thu, 21 Nov 2019 14:18:10 +0000 (15:18 +0100)]
mgr/orchestrator: add pretty_print()

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/ssh: Fix Promises
Sebastian Wagner [Mon, 11 Nov 2019 09:50:21 +0000 (10:50 +0100)]
mgr/ssh: Fix Promises

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoimport typing optionally
Sebastian Wagner [Tue, 1 Oct 2019 09:54:21 +0000 (11:54 +0200)]
import typing optionally

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoFix testing error
Sebastian Wagner [Tue, 1 Oct 2019 09:49:39 +0000 (11:49 +0200)]
Fix testing error

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/deepsea: Fixed DeepSeaReadCompletion arguments
Sebastian Wagner [Fri, 27 Sep 2019 14:52:17 +0000 (16:52 +0200)]
mgr/deepsea: Fixed DeepSeaReadCompletion arguments

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/orchestrator: fix tests
Sebastian Wagner [Tue, 17 Sep 2019 08:53:26 +0000 (10:53 +0200)]
mgr/orchestrator: fix tests

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomake check fixes
Sebastian Wagner [Mon, 16 Sep 2019 13:41:07 +0000 (15:41 +0200)]
make check fixes

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/orchstrator: Removed all type anotations incompatible to Python 2
Sebastian Wagner [Thu, 12 Sep 2019 13:31:34 +0000 (15:31 +0200)]
mgr/orchstrator: Removed all type anotations incompatible to Python 2

* Reduce mypy's type checking capability
* Remove useful code documentation

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agodoc/orchestrator: Adapted to new Completions
Sebastian Wagner [Thu, 12 Sep 2019 10:16:03 +0000 (12:16 +0200)]
doc/orchestrator: Adapted to new Completions

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/orchestrator: add cancel
Sebastian Wagner [Thu, 12 Sep 2019 08:25:21 +0000 (10:25 +0200)]
mgr/orchestrator: add cancel

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoqa/orchestrator: Adapt teuthology test to new completions
Sebastian Wagner [Mon, 9 Sep 2019 09:21:54 +0000 (11:21 +0200)]
qa/orchestrator: Adapt teuthology test to new completions

Also: Adapt mgr/test_orchestrator to new completions

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/deepsea: Adapt to new orchestrator completions
Sebastian Wagner [Fri, 6 Sep 2019 10:57:25 +0000 (12:57 +0200)]
mgr/deepsea: Adapt to new orchestrator completions

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/ansible: Adapt to new orchestrator completions
Sebastian Wagner [Fri, 6 Sep 2019 08:45:30 +0000 (10:45 +0200)]
mgr/ansible: Adapt to new orchestrator completions

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/ssh: Adapt ssh orch to new Completions interface
Sebastian Wagner [Fri, 30 Aug 2019 16:08:46 +0000 (18:08 +0200)]
mgr/ssh: Adapt ssh orch to new Completions interface

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/rook: Adapt to new completions
Sebastian Wagner [Fri, 30 Aug 2019 13:10:10 +0000 (15:10 +0200)]
mgr/rook: Adapt to new completions

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/orchestrator: Introduce composable completions
Sebastian Wagner [Mon, 26 Aug 2019 12:00:32 +0000 (14:00 +0200)]
mgr/orchestrator: Introduce composable completions

Also:

* unify Read and Write completions
* Distinguish should_wait and is_finished
* Removed `all_hosts` parameter to `osd_create`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/orchestrator: rename wait() -> process()
Sebastian Wagner [Thu, 22 Aug 2019 13:53:00 +0000 (15:53 +0200)]
mgr/orchestrator: rename wait() -> process()

Because wait() should actually not wait!

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #31904 from tchaikov/wip-crimson-stop-msgr-after-stopping-osd
Kefu Chai [Wed, 27 Nov 2019 11:46:42 +0000 (19:46 +0800)]
Merge pull request #31904 from tchaikov/wip-crimson-stop-msgr-after-stopping-osd

crimson: stop osd before stopping messengers

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson: stop osd before stopping messengers 31904/head
Kefu Chai [Wed, 27 Nov 2019 09:26:46 +0000 (17:26 +0800)]
crimson: stop osd before stopping messengers

so we can drain all pending tasks referencing messenger before
destroying it, otherwise they will be using a already-stopped
messenger when they are still alive.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #31756 into master
Patrick Donnelly [Tue, 26 Nov 2019 23:53:48 +0000 (15:53 -0800)]
Merge PR #31756 into master

* refs/pull/31756/head:
pybind / cephfs: remove static typing in LibCephFS.chown

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31828 into master
Sage Weil [Tue, 26 Nov 2019 22:18:44 +0000 (16:18 -0600)]
Merge PR #31828 into master

* refs/pull/31828/head:
mgr/orchestrator: include container_image in 'service ls' output
ceph-daemon: include container_image_name and container_image_id in 'ls' output
common/options: default to ceph/ceph:latest-master-devel (for now)

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #31854 into master
Sage Weil [Tue, 26 Nov 2019 22:18:28 +0000 (16:18 -0600)]
Merge PR #31854 into master

* refs/pull/31854/head:
mgr/orchestrator_cli: print table for 'host ls'
mgr/ssh: populate labels
mgr/orchestrator: add 'labels' property to InventoryNode
mgr/ssh: add/remove labels
mgr/orchestrator: orchestrator host label {add,rm}
mgr/ssh: add explicit host list

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #31864 into master
Sage Weil [Tue, 26 Nov 2019 22:17:51 +0000 (16:17 -0600)]
Merge PR #31864 into master

* refs/pull/31864/head:
osd/PeeringState: clear LAGGY and WAIT states on exiting Started

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agoMerge PR #31865 into master
Sage Weil [Tue, 26 Nov 2019 22:17:05 +0000 (16:17 -0600)]
Merge PR #31865 into master

* refs/pull/31865/head:
cls/rbd: improve efficiency of mirror image status queries

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge PR #31866 into master
Sage Weil [Tue, 26 Nov 2019 22:16:33 +0000 (16:16 -0600)]
Merge PR #31866 into master

* refs/pull/31866/head:
osd/SnapMirror: no need to record purged_snaps every epoch

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agomgr: drop session with Ceph daemon when not ready 31899/head
Patrick Donnelly [Tue, 26 Nov 2019 20:49:01 +0000 (12:49 -0800)]
mgr: drop session with Ceph daemon when not ready

If the mgr is waiting on daemon metadata from the mons, it has no
DaemonState associated with the daemon yet. If we try to process this
MgrOpen, the metadata sent by the daemon (like its config) will not be
recorded.

Fixes: https://tracker.ceph.com/issues/43037
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomgr: improve debug message information
Patrick Donnelly [Tue, 26 Nov 2019 20:20:26 +0000 (12:20 -0800)]
mgr: improve debug message information

Connection pointer is not helpful.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agodoc: missing virtualenv for build-doc 31896/head
Rodrigo Severo [Tue, 26 Nov 2019 19:01:54 +0000 (16:01 -0300)]
doc: missing virtualenv for build-doc

The install deps command recommended by admin/build-doc doesn't install virtualenv which is required by admin/build-doc.

After manually installing virtualenv, admin/build-doc runned without issues.

Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
5 years agoMerge PR #27467 into master
Patrick Donnelly [Tue, 26 Nov 2019 17:47:40 +0000 (09:47 -0800)]
Merge PR #27467 into master

* refs/pull/27467/head:
cephfs-shell: add snapshot management

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #31871 from smithfarm/wip-43021
Nathan Cutler [Tue, 26 Nov 2019 17:42:58 +0000 (18:42 +0100)]
Merge pull request #31871 from smithfarm/wip-43021

doc: mention --namespace option in rados manpage

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
5 years agoceph-daemon: seek relative to the start of file 31892/head
Michael Fritch [Tue, 26 Nov 2019 16:44:38 +0000 (09:44 -0700)]
ceph-daemon: seek relative to the start of file

python3 only allows seeks relative to the start of a text file

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agodoc: mention --namespace option in rados manpage 31871/head
Nathan Cutler [Tue, 26 Nov 2019 07:04:17 +0000 (08:04 +0100)]
doc: mention --namespace option in rados manpage

Fixes: https://tracker.ceph.com/issues/43021
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agomgr/orchestrator_cli: print table for 'host ls' 31854/head
Sage Weil [Mon, 25 Nov 2019 14:44:54 +0000 (08:44 -0600)]
mgr/orchestrator_cli: print table for 'host ls'

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/ssh: populate labels
Sage Weil [Mon, 25 Nov 2019 14:44:41 +0000 (08:44 -0600)]
mgr/ssh: populate labels

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/orchestrator: add 'labels' property to InventoryNode
Sage Weil [Mon, 25 Nov 2019 14:44:37 +0000 (08:44 -0600)]
mgr/orchestrator: add 'labels' property to InventoryNode

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/ssh: add/remove labels
Sage Weil [Mon, 25 Nov 2019 14:32:59 +0000 (08:32 -0600)]
mgr/ssh: add/remove labels

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/orchestrator: orchestrator host label {add,rm}
Sage Weil [Mon, 25 Nov 2019 14:32:53 +0000 (08:32 -0600)]
mgr/orchestrator: orchestrator host label {add,rm}

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/ssh: add explicit host list
Sage Weil [Mon, 25 Nov 2019 14:22:41 +0000 (08:22 -0600)]
mgr/ssh: add explicit host list

Keep the host list in an explicit 'inventory' key, and provide a dict for
each host so that we can keep other metadata (like labels).

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31837 into master
Sage Weil [Tue, 26 Nov 2019 13:11:05 +0000 (07:11 -0600)]
Merge PR #31837 into master

* refs/pull/31837/head:
ceph-daemon: add additional debug logging

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agogithub/codeowners: add ceph-volume 31883/head
Jan Fajerski [Tue, 26 Nov 2019 12:49:41 +0000 (13:49 +0100)]
github/codeowners: add ceph-volume

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #31874 from tchaikov/wip-crimson-cyanstore-restructure
Kefu Chai [Tue, 26 Nov 2019 12:13:40 +0000 (20:13 +0800)]
Merge pull request #31874 from tchaikov/wip-crimson-cyanstore-restructure

crimson: move os/cyan_* down to os/cyanstore/*

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson: move os/cyan_* down to os/cyanstore/* 31874/head
Kefu Chai [Tue, 26 Nov 2019 08:24:17 +0000 (16:24 +0800)]
crimson: move os/cyan_* down to os/cyanstore/*

prepare for bluestore and seastore

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31859 from rzarzynski/wip-crimson-drop_dup_failed
Kefu Chai [Tue, 26 Nov 2019 08:06:46 +0000 (16:06 +0800)]
Merge pull request #31859 from rzarzynski/wip-crimson-drop_dup_failed

crimson/osd/osd_operation.h: clean up duplicative check.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31252 from wjwithagen/wjw-doc-ceph_volume_zfs_inventory
Jan Fajerski [Tue, 26 Nov 2019 07:58:31 +0000 (08:58 +0100)]
Merge pull request #31252 from wjwithagen/wjw-doc-ceph_volume_zfs_inventory

doc/ceph-volume: initial docs for zfs/inventory and zfs/api

5 years agoMerge pull request #31821 from mgfritch/c-v-scan-help
Jan Fajerski [Tue, 26 Nov 2019 06:46:48 +0000 (07:46 +0100)]
Merge pull request #31821 from mgfritch/c-v-scan-help

ceph-volume: minor clean-up of `simple scan` subcommand help

5 years agoceph-daemon: add additional debug logging 31837/head
Michael Fritch [Sun, 24 Nov 2019 18:00:37 +0000 (11:00 -0700)]
ceph-daemon: add additional debug logging

Adds additional detail before invoking subprocess for the
`run`, `shell, `enter`, and `logs` commands

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #31567 into master
Sage Weil [Tue, 26 Nov 2019 03:54:16 +0000 (21:54 -0600)]
Merge PR #31567 into master

* refs/pull/31567/head:
common: move gen_rand_alphanumeric() helpers into common
test: add unit tests for gen_rand_alphanumeric helpers

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
5 years agoMerge PR #31781 into master
Sage Weil [Tue, 26 Nov 2019 03:49:31 +0000 (21:49 -0600)]
Merge PR #31781 into master

* refs/pull/31781/head:
cmake/modules: look for GNU make first instead of BSD make
cmake: support parallel build for rocksdb

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #31579 into master
Sage Weil [Tue, 26 Nov 2019 03:49:18 +0000 (21:49 -0600)]
Merge PR #31579 into master

* refs/pull/31579/head:
cmake: add cppcheck and iwyu static analysis targets

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge PR #31775 into master
Patrick Donnelly [Tue, 26 Nov 2019 00:45:57 +0000 (16:45 -0800)]
Merge PR #31775 into master

* refs/pull/31775/head:
mds: remove the incorrect comments

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge PR #31762 into master
Patrick Donnelly [Tue, 26 Nov 2019 00:43:28 +0000 (16:43 -0800)]
Merge PR #31762 into master

* refs/pull/31762/head:
mgr/ssh: improve logging for mds removal
mgr/volumes: move up 'confirm' validation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
5 years agoosd/SnapMirror: no need to record purged_snaps every epoch 31866/head
Sage Weil [Mon, 25 Nov 2019 19:31:26 +0000 (13:31 -0600)]
osd/SnapMirror: no need to record purged_snaps every epoch

These keys were a mirror of the mon's purged_epoch keys.  We were writing
them, but never looking at them.  We only need the per-pool keys that
are indexed by snapid for lookups, so we should stop storing the per-epoch
records.

Note that the OSDSuperblock has the purged_snaps_last that serves as our
position/cursor for ingesting the mon keys.

Fixes: https://tracker.ceph.com/issues/42012
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocls/rbd: improve efficiency of mirror image status queries 31865/head
Jason Dillaman [Mon, 25 Nov 2019 19:28:57 +0000 (14:28 -0500)]
cls/rbd: improve efficiency of mirror image status queries

The removal of remote mirror image status records no longer
(accidentally) searches through nearly the full omap database and
getting the status of a single image no longer involves duplicate
lookups (to pull the fsid keys and then to read the data).

Fixes: https://tracker.ceph.com/issues/42576
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #28625 from zhangsw/rgw-fix-get-object
Casey Bodley [Mon, 25 Nov 2019 19:22:54 +0000 (14:22 -0500)]
Merge pull request #28625 from zhangsw/rgw-fix-get-object

rgw: ignore If-Unmodified-Since if If-Match exists, and ignore If-Modified-Since if If-None-Match exists.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoosd/PeeringState: clear LAGGY and WAIT states on exiting Started 31864/head
Sage Weil [Mon, 25 Nov 2019 19:15:24 +0000 (13:15 -0600)]
osd/PeeringState: clear LAGGY and WAIT states on exiting Started

These flags were not getting cleared except in recheck_readable(), which
meant that a flag from a prior interval could bleed into a new interval.
More dangerously, in a mixed-version cluster, one interval might include
all octopus+ OSDs while the next might include a pre-octopus OSD, bypassing
most of the laggy recheck code.  This could lead to a stalled request
and/or requeue ordering bug when release_object_locks() looked at
is_laggy() and put a lock waiter on the waiting_for_readable list.

Fixes: https://tracker.ceph.com/issues/42978
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph-volume: minor clean-up of `simple scan` subcommand help 31821/head
Michael Fritch [Fri, 22 Nov 2019 18:56:29 +0000 (11:56 -0700)]
ceph-volume: minor clean-up of `simple scan` subcommand help

Fixes: https://tracker.ceph.com/issues/43017
Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #31780 into master
Patrick Donnelly [Mon, 25 Nov 2019 16:49:43 +0000 (08:49 -0800)]
Merge PR #31780 into master

* refs/pull/31780/head:
mgr/volumes: remove unsed variable

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31824 into master
Sage Weil [Mon, 25 Nov 2019 16:28:20 +0000 (10:28 -0600)]
Merge PR #31824 into master

* refs/pull/31824/head:
cls/rbd: sanitize the mirror image status peer address after reading from disk

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agomgr/dashboard: Update translations (#31435)
Lenz Grimmer [Mon, 25 Nov 2019 16:02:13 +0000 (16:02 +0000)]
mgr/dashboard: Update translations (#31435)

mgr/dashboard: Update translations

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/orchestrator: include container_image in 'service ls' output 31828/head
Sage Weil [Tue, 5 Nov 2019 18:08:55 +0000 (12:08 -0600)]
mgr/orchestrator: include container_image in 'service ls' output

Rearrange the columns a bit too.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph-daemon: include container_image_name and container_image_id in 'ls' output
Sage Weil [Tue, 5 Nov 2019 18:08:33 +0000 (12:08 -0600)]
ceph-daemon: include container_image_name and container_image_id in 'ls' output

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocommon/options: default to ceph/ceph:latest-master-devel (for now)
Sage Weil [Fri, 22 Nov 2019 22:29:58 +0000 (16:29 -0600)]
common/options: default to ceph/ceph:latest-master-devel (for now)

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocrimson/osd/osd_operation.h: clean up duplicative check. 31859/head
Radoslaw Zarzynski [Mon, 25 Nov 2019 15:27:38 +0000 (16:27 +0100)]
crimson/osd/osd_operation.h: clean up duplicative check.

`seastar::future<T>::available()` already verifies whether
a future instance stores exception inside. It's unnecessary
to ensure that with further call to `failed()`.

This tiny clean-up removes the duplicative check in
`with_blocking_future()`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge PR #31677 into master
Sage Weil [Mon, 25 Nov 2019 14:54:45 +0000 (08:54 -0600)]
Merge PR #31677 into master

* refs/pull/31677/head:
qa/standalone/ceph-helpers.sh: remove osd down check
qa/standalone/ceph-helpers.sh: destroy_osd: mark osd down
osd: add osd_fast_shutdown option (default true)

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #31823 into master
Sage Weil [Mon, 25 Nov 2019 14:12:41 +0000 (08:12 -0600)]
Merge PR #31823 into master

* refs/pull/31823/head:
ceph-daemon: fix logrotate su line

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #31835 into master
Sage Weil [Mon, 25 Nov 2019 14:07:53 +0000 (08:07 -0600)]
Merge PR #31835 into master

* refs/pull/31835/head:
mgr/ssh: add TemporaryDirectory impl for py2 compat

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge pull request #31325 from cbodley/wip-rgw-sync-concurrent-versions
Casey Bodley [Mon, 25 Nov 2019 14:03:18 +0000 (09:03 -0500)]
Merge pull request #31325 from cbodley/wip-rgw-sync-concurrent-versions

rgw multisite: fixes for concurrent version creation

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agocmake/modules: look for GNU make first instead of BSD make 31781/head
Deepika Upadhyay [Fri, 22 Nov 2019 14:21:55 +0000 (19:51 +0530)]
cmake/modules: look for GNU make first instead of BSD make

  * BuildDPDK.cmake, BuildSPDK.cmake:
      * give priority to build with gmake
      * throw error if make not found

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
5 years agocmake: support parallel build for rocksdb
Deepika Upadhyay [Fri, 22 Nov 2019 14:17:16 +0000 (19:47 +0530)]
cmake: support parallel build for rocksdb

* cmake/modules/BuildRocksDB.cmake: if "make" detected
use concurrent processing, by passing the jobserver to
sub-make using `$(MAKE)`

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
5 years agoMerge PR #30972 into master
Patrick Donnelly [Mon, 25 Nov 2019 02:53:20 +0000 (18:53 -0800)]
Merge PR #30972 into master

* refs/pull/30972/head:
mds: move 'traverse to auth' logic into MDCache::path_traverse
mds: cleanup Capability initialization
mds: cleanup code that kills session requests
mds: cleanup Server::try_open_auth_dirfrag()
mds: restrict path that walks into snapdir
mds: use single map to track pinned & auth_pinned objects
mds: define operator<(...) for MutationImpl::LockOp
mds: cleanup Locker::acquire_locks()
mds: introduce Locker::wrlock_try()
mds: explictly specify if MDCache::path_traverse() needs to check null dentry
mds: cleanup dentry non-readable check in MDCache::path_traverse()
mds: change MDCache::path_traverse()'s 'onfail' argument to flags

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge PR #31786 into master
Sage Weil [Sun, 24 Nov 2019 18:45:26 +0000 (12:45 -0600)]
Merge PR #31786 into master

* refs/pull/31786/head:
mgr: fix errors on using a reference in a Lambda function

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/standalone/ceph-helpers.sh: remove osd down check 31677/head
Sage Weil [Sat, 23 Nov 2019 14:55:00 +0000 (08:55 -0600)]
qa/standalone/ceph-helpers.sh: remove osd down check

A kill doesn't induce a mark-down of the OSD with osd_fast_shutdown=true.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/ssh: add TemporaryDirectory impl for py2 compat 31835/head
Sage Weil [Sat, 23 Nov 2019 18:14:13 +0000 (12:14 -0600)]
mgr/ssh: add TemporaryDirectory impl for py2 compat

This didn't get copied over in 4bfcb5db6bdb833496aa840d6aac603c7c405277

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #31761 from tchaikov/wip-cmake-include-libfmt
Kefu Chai [Sun, 24 Nov 2019 17:08:02 +0000 (01:08 +0800)]
Merge pull request #31761 from tchaikov/wip-cmake-include-libfmt

cmake: do not include ${CMAKE_SOURCE_DIR}/src/fmt/include

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
5 years agoMerge pull request #31711 from p-se/wip-pse-fix-osd-full-alert
Kefu Chai [Sun, 24 Nov 2019 17:06:34 +0000 (01:06 +0800)]
Merge pull request #31711 from p-se/wip-pse-fix-osd-full-alert

monitoring: wait before firing osd full alert

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #31692 from rzarzynski/wip-fips-zeroize-memset_bzero
Kefu Chai [Sun, 24 Nov 2019 17:05:16 +0000 (01:05 +0800)]
Merge pull request #31692 from rzarzynski/wip-fips-zeroize-memset_bzero

FIPS: audit and switch some memset & bzero users

Reviewed-by: Marcus Watts <mwatts@redhat.com>
5 years agoMerge pull request #31705 from tchaikov/wip-mgr-orchestrator
Kefu Chai [Sun, 24 Nov 2019 17:03:52 +0000 (01:03 +0800)]
Merge pull request #31705 from tchaikov/wip-mgr-orchestrator

mgr/orchestrator: do not try to iterate through None

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge pull request #31691 from Anjingkegui/master.monv2change1
Kefu Chai [Sun, 24 Nov 2019 17:01:55 +0000 (01:01 +0800)]
Merge pull request #31691 from Anjingkegui/master.monv2change1

mon: remove the restriction of address type in init_with_hosts

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
5 years agoMerge pull request #31513 from ifed01/wip-ifed-check-bluefs-allocs
Kefu Chai [Sun, 24 Nov 2019 17:00:54 +0000 (01:00 +0800)]
Merge pull request #31513 from ifed01/wip-ifed-check-bluefs-allocs

os/bluestore: check bluefs allocations on log replay

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
5 years agoMerge pull request #30204 from tchaikov/wip-test-aio-completion-release
Kefu Chai [Sun, 24 Nov 2019 16:59:25 +0000 (00:59 +0800)]
Merge pull request #30204 from tchaikov/wip-test-aio-completion-release

test/librados: free AioCompletion using AioCompletion::release()

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #31703 from xiexingguo/wip-42577-plus
Kefu Chai [Sun, 24 Nov 2019 16:58:14 +0000 (00:58 +0800)]
Merge pull request #31703 from xiexingguo/wip-42577-plus

osd/PeeringState: do not exclude up from acting_recovery_backfill

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #31693 from tchaikov/wip-42782
Kefu Chai [Sun, 24 Nov 2019 16:56:09 +0000 (00:56 +0800)]
Merge pull request #31693 from tchaikov/wip-42782

qa/workunits/rados/test_librados_build.sh: download from current branch

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #31243 from lxbsz/log
Kefu Chai [Sun, 24 Nov 2019 16:55:24 +0000 (00:55 +0800)]
Merge pull request #31243 from lxbsz/log

log: just return if t is empty

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31714 from lxbsz/preforker
Kefu Chai [Sun, 24 Nov 2019 16:54:43 +0000 (00:54 +0800)]
Merge pull request #31714 from lxbsz/preforker

preforker: remove useless code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31778 into master
Sage Weil [Sun, 24 Nov 2019 02:30:28 +0000 (20:30 -0600)]
Merge PR #31778 into master

* refs/pull/31778/head:
os/bluestore: pin onodes as they are added to the cache
Revert "Revert "Merge pull request #30964 from markhpc/wip-bs-cache-trim-pinned""

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31807 into master
Sage Weil [Sun, 24 Nov 2019 02:29:52 +0000 (20:29 -0600)]
Merge PR #31807 into master

* refs/pull/31807/head:
mgr/PyModule: correctly remove config options

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #31806 into master
Sage Weil [Sun, 24 Nov 2019 02:29:37 +0000 (20:29 -0600)]
Merge PR #31806 into master

* refs/pull/31806/head:
spec,debian: ceph-mgr-ssh depends on openssh{-client{s}}

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoMerge PR #31818 into master
Sage Weil [Sun, 24 Nov 2019 02:27:00 +0000 (20:27 -0600)]
Merge PR #31818 into master

* refs/pull/31818/head:
common/options: remove unused ms_msgr2_{sign,encrypt}_messages

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge PR #31825 into master
Sage Weil [Sun, 24 Nov 2019 02:26:48 +0000 (20:26 -0600)]
Merge PR #31825 into master

* refs/pull/31825/head:
msg/async: fix typo in Error message

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31831 into master
Sage Weil [Sun, 24 Nov 2019 02:26:08 +0000 (20:26 -0600)]
Merge PR #31831 into master

* refs/pull/31831/head:
ceph-daemon: make infer_fsid behave when /var/lib/ceph dne

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #31832 into master
Sage Weil [Sun, 24 Nov 2019 02:25:52 +0000 (20:25 -0600)]
Merge PR #31832 into master

* refs/pull/31832/head:
ceph-daemon: fix extract_uid_gid

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoceph-daemon: fix extract_uid_gid 31832/head
Sage Weil [Sat, 23 Nov 2019 15:07:09 +0000 (09:07 -0600)]
ceph-daemon: fix extract_uid_gid

This will get confused by the cephdaemon user!

Signed-off-by: Sage Weil <sage@redhat.com>