]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agomgr/dashboard: fix RGW subuser auto-generate key. 32186/head
Alfonso Martínez [Wed, 11 Dec 2019 16:53:01 +0000 (17:53 +0100)]
mgr/dashboard: fix RGW subuser auto-generate key.

Fixes: https://tracker.ceph.com/issues/43263
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
5 years agoMerge pull request #32176 from idryomov/wip-doc-fancy-striping
Jason Dillaman [Wed, 11 Dec 2019 16:35:42 +0000 (11:35 -0500)]
Merge pull request #32176 from idryomov/wip-doc-fancy-striping

doc: clarify support for rbd fancy striping

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge PR #32163 into master
Patrick Donnelly [Wed, 11 Dec 2019 14:24:13 +0000 (06:24 -0800)]
Merge PR #32163 into master

* refs/pull/32163/head:
qa: fix output check to not be sensitive to debugging

Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #32083 from smithfarm/wip-42612
Nathan Cutler [Wed, 11 Dec 2019 14:14:31 +0000 (15:14 +0100)]
Merge pull request #32083 from smithfarm/wip-42612

rpm: add rpm-build to SUSE-specific make check deps

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #32160 into master
Sage Weil [Wed, 11 Dec 2019 14:06:40 +0000 (08:06 -0600)]
Merge PR #32160 into master

* refs/pull/32160/head:
doc/releases/nautilus,PendingReleaseNotes: consolidate telemetry note

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #32161 from mgfritch/wip-cd-tox-warn
Thomas Bechtold [Wed, 11 Dec 2019 12:44:27 +0000 (13:44 +0100)]
Merge pull request #32161 from mgfritch/wip-cd-tox-warn

ceph-daemon: `imp` module  DeprecationWarning

5 years agomgr/dashboard: Disable cache for static files (#31018)
Lenz Grimmer [Wed, 11 Dec 2019 12:28:19 +0000 (12:28 +0000)]
mgr/dashboard: Disable cache for static files (#31018)

mgr/dashboard: Disable cache for static files

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agodoc: clarify support for rbd fancy striping 32176/head
Ilya Dryomov [Wed, 11 Dec 2019 11:41:09 +0000 (12:41 +0100)]
doc: clarify support for rbd fancy striping

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agoMerge pull request #32025 from tchaikov/wip-pick-address-silence-warning
Kefu Chai [Wed, 11 Dec 2019 04:08:10 +0000 (12:08 +0800)]
Merge pull request #32025 from tchaikov/wip-pick-address-silence-warning

common/pick_address.cc: silence GCC warning

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32091 into master
Sage Weil [Wed, 11 Dec 2019 04:05:03 +0000 (22:05 -0600)]
Merge PR #32091 into master

* refs/pull/32091/head:
common/config: update values when they are removed via mon

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agocommon/pick_address.cc: silence GCC warning 32025/head
Kefu Chai [Thu, 5 Dec 2019 07:34:12 +0000 (15:34 +0800)]
common/pick_address.cc: silence GCC warning

* use `string_view` instead of string
* use `auto` instead of `int` to silence the warning
* use `enum class` instead of plain `enum`
* do not specify the value of enum, as
  we don't care about it

this change silences following warning

```
../src/common/pick_address.cc: In function ‘int get_iface_numa_node(const string&, int*)’:
../src/common/pick_address.cc:517:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_type’ {aka ‘const long unsigned int’} [-Wsign-com\
pare]
  517 |   if (pos != string::npos ) {
      |       ~~~~^~~~~~~~~~~~~~~
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31839 from alimaredia/wip-s3-test-branch-refactor
Kefu Chai [Wed, 11 Dec 2019 01:28:58 +0000 (09:28 +0800)]
Merge pull request #31839 from alimaredia/wip-s3-test-branch-refactor

qa: update s3-test download code for s3-test tasks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoqa: fix output check to not be sensitive to debugging 32163/head
Patrick Donnelly [Tue, 10 Dec 2019 23:08:41 +0000 (15:08 -0800)]
qa: fix output check to not be sensitive to debugging

The traceback would screw up the equality checks.

Also, use unittest asserts so we can easily see the assert values.

Fixes: https://tracker.ceph.com/issues/43247
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31772 into master
Sage Weil [Tue, 10 Dec 2019 22:40:58 +0000 (16:40 -0600)]
Merge PR #31772 into master

* refs/pull/31772/head:
qa/standalone/test_ceph_daemon.sh: clone corpus explicitly
ceph-daemon: re-enable the OSD standalone test
ceph-daemon: move standalone test tgz to corpus
ceph-daemon: add ceph-daemon-adoption-corpus.git submodule

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30548 from trociny/wip-41557
Jason Dillaman [Tue, 10 Dec 2019 21:41:28 +0000 (16:41 -0500)]
Merge pull request #30548 from trociny/wip-41557

rbd-mirror: snapshot mirror mode

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge PR #31122 into master
Patrick Donnelly [Tue, 10 Dec 2019 21:33:54 +0000 (13:33 -0800)]
Merge PR #31122 into master

* refs/pull/31122/head:
mds: Reorganize class members in MDSTable header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31253 into master
Patrick Donnelly [Tue, 10 Dec 2019 21:32:19 +0000 (13:32 -0800)]
Merge PR #31253 into master

* refs/pull/31253/head:
mds: Reorganize class members in Migrator header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31596 into master
Patrick Donnelly [Tue, 10 Dec 2019 21:31:28 +0000 (13:31 -0800)]
Merge PR #31596 into master

* refs/pull/31596/head:
mds: Reorganize class members in PurgeQueue header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoceph-daemon: `imp` module DeprecationWarning 32161/head
Michael Fritch [Tue, 10 Dec 2019 21:09:08 +0000 (14:09 -0700)]
ceph-daemon: `imp` module  DeprecationWarning

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agodoc/releases/nautilus,PendingReleaseNotes: consolidate telemetry note 32160/head
Sage Weil [Tue, 10 Dec 2019 20:36:06 +0000 (14:36 -0600)]
doc/releases/nautilus,PendingReleaseNotes: consolidate telemetry note

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32148 into master
Sage Weil [Tue, 10 Dec 2019 20:33:02 +0000 (14:33 -0600)]
Merge PR #32148 into master

* refs/pull/32148/head:
doc/releases/nautilus: fix release notes (crash->device)

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
5 years agoMerge pull request #32041 from dzafman/wip-balancer3-pending
David Zafman [Tue, 10 Dec 2019 18:56:04 +0000 (10:56 -0800)]
Merge pull request #32041 from dzafman/wip-balancer3-pending

release note: Add pending release notes for already merged code

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoqa/standalone/test_ceph_daemon.sh: clone corpus explicitly 31772/head
Sage Weil [Fri, 6 Dec 2019 22:00:36 +0000 (16:00 -0600)]
qa/standalone/test_ceph_daemon.sh: clone corpus explicitly

When this is run by teuthology we don't have a full ceph source tree
checkout with submodules.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph-daemon: re-enable the OSD standalone test
Michael Fritch [Wed, 4 Dec 2019 22:55:12 +0000 (15:55 -0700)]
ceph-daemon: re-enable the OSD standalone test

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoceph-daemon: move standalone test tgz to corpus
Michael Fritch [Wed, 4 Dec 2019 22:50:46 +0000 (15:50 -0700)]
ceph-daemon: move standalone test tgz to corpus

Fixes: https://tracker.ceph.com/issues/42876
Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoceph-daemon: add ceph-daemon-adoption-corpus.git submodule
Michael Fritch [Wed, 4 Dec 2019 18:45:30 +0000 (11:45 -0700)]
ceph-daemon: add ceph-daemon-adoption-corpus.git submodule

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #32127 into master
Sage Weil [Tue, 10 Dec 2019 18:16:23 +0000 (12:16 -0600)]
Merge PR #32127 into master

* refs/pull/32127/head:
mgr/rook: Added Mypy static type checking

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32138 into master
Sage Weil [Tue, 10 Dec 2019 18:16:07 +0000 (12:16 -0600)]
Merge PR #32138 into master

* refs/pull/32138/head:
ceph-daemon: combine SUDO and ARGS into a single var

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32137 into master
Sage Weil [Tue, 10 Dec 2019 18:15:53 +0000 (12:15 -0600)]
Merge PR #32137 into master

* refs/pull/32137/head:
ceph-daemon: don't deref symlinks during chown

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoqa: update s3-test download code for s3-test tasks 31839/head
Ali Maredia [Mon, 25 Nov 2019 02:30:03 +0000 (21:30 -0500)]
qa: update s3-test download code for s3-test tasks

- Ensure the download code for all tasks running
s3-tests is consistent.
- Simplify download code to only use the config
variable 'force-branch' for the branch being
cloned.
- make ceph-master the force-branch for all
suites using s3-tests.

Fixes: https://tracker.ceph.com/issues/43077
Signed-off-by: Ali Maredia <amaredia@redhat.com>
5 years agorpm: add rpm-build to SUSE-specific make check deps 32083/head
Nathan Cutler [Fri, 6 Dec 2019 14:29:30 +0000 (15:29 +0100)]
rpm: add rpm-build to SUSE-specific make check deps

The binary /usr/bin/rpmspec was recently moved to rpm-build, breaking
install-deps.sh on openSUSE Tumbleweed. The package is not strictly
needed for SLE-15-SP* and openSUSE Leap 15.*, but it doesn't hurt to
have it, and will future-proof these distros from this regression.

Putting the dependency in the spec file does not address the issue,
because /usr/bin/rpmspec must be available before install-deps.sh runs it to
determine the dependencies, but it's nice to have it explicitly listed there,
since it *is* a dependency of "make check" on SUSE distros.

SUSE versions < 15 are of no interest in master/octopus+.

Fixes: https://tracker.ceph.com/issues/42612
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge PR #32145 into master
Patrick Donnelly [Tue, 10 Dec 2019 17:22:06 +0000 (09:22 -0800)]
Merge PR #32145 into master

* refs/pull/32145/head:
doc: show how to count jobs before triggering them

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #32140 from tchaikov/wip-cmake-cleanup
Kefu Chai [Tue, 10 Dec 2019 16:28:49 +0000 (00:28 +0800)]
Merge pull request #32140 from tchaikov/wip-cmake-cleanup

cmake: silence messages when cppcheck/IWYU is not found

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #31954 from dzafman/wip-42346
David Zafman [Tue, 10 Dec 2019 16:08:37 +0000 (08:08 -0800)]
Merge pull request #31954 from dzafman/wip-42346

osd: Use physical ratio for nearfull (doesn't include backfill resserve)

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agolibrbd: force promote for snapshot mirroring 30548/head
Mykola Golub [Sat, 30 Nov 2019 17:07:38 +0000 (17:07 +0000)]
librbd: force promote for snapshot mirroring

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: introduce LIST_WATCHERS_MIRROR_INSTANCES_ONLY flag
Mykola Golub [Wed, 4 Dec 2019 09:31:48 +0000 (09:31 +0000)]
librbd: introduce LIST_WATCHERS_MIRROR_INSTANCES_ONLY flag

Also, don't skip listing mirror watchers if the image has journaling
disabled -- it is not correct for snapshot mirror mode.

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: refactor CreateNonPrimaryRequest and CreatePrimaryRequest
Mykola Golub [Thu, 28 Nov 2019 11:04:35 +0000 (11:04 +0000)]
librbd: refactor CreateNonPrimaryRequest and CreatePrimaryRequest

to extract re-usable functions into utils

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: store/remove image state when creating/removing mirror snapshot
Mykola Golub [Thu, 21 Nov 2019 14:26:34 +0000 (14:26 +0000)]
librbd: store/remove image state when creating/removing mirror snapshot

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: requests for mirror snapshot image state
Mykola Golub [Thu, 21 Nov 2019 14:25:46 +0000 (14:25 +0000)]
librbd: requests for mirror snapshot image state

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agocls/rbd: async methods for snapshot_get_limit
Mykola Golub [Thu, 21 Nov 2019 14:21:09 +0000 (14:21 +0000)]
cls/rbd: async methods for snapshot_get_limit

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agorbd: list primary mirror snapshots in mirror image status
Mykola Golub [Sun, 10 Nov 2019 18:09:34 +0000 (18:09 +0000)]
rbd: list primary mirror snapshots in mirror image status

TODO: provide the same in verbose mirror pool status.

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agorbd: add 'mirror image snapshot' command
Mykola Golub [Sun, 10 Nov 2019 10:17:44 +0000 (10:17 +0000)]
rbd: add 'mirror image snapshot' command

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: API method to get mirror image mode
Mykola Golub [Wed, 13 Nov 2019 16:24:48 +0000 (16:24 +0000)]
librbd: API method to get mirror image mode

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: add mirror image snapshot tests
Mykola Golub [Sun, 3 Nov 2019 15:31:42 +0000 (15:31 +0000)]
librbd: add mirror image snapshot tests

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: add mirror image snapshot API
Mykola Golub [Thu, 19 Sep 2019 13:07:16 +0000 (14:07 +0100)]
librbd: add mirror image snapshot API

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: when removing mirror peer unlink it from all snapshots
Mykola Golub [Thu, 10 Oct 2019 19:17:37 +0000 (20:17 +0100)]
librbd: when removing mirror peer unlink it from all snapshots

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: snapshot mirror mode
Mykola Golub [Sun, 1 Sep 2019 08:48:16 +0000 (09:48 +0100)]
librbd: snapshot mirror mode

Enabling mirroring for an image that does not support journaling
assumes snapshot based mirroring, which is supported only when the
pool is in the "image" mirror mode.

Also for the pool in the "image" mirror mode disabling/enabling
journaling feature for a mirroring image will switch
snapshot/journal mirror mode.

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: state machine for snapshot based mirror promote/demote
Mykola Golub [Fri, 11 Oct 2019 18:32:31 +0000 (19:32 +0100)]
librbd: state machine for snapshot based mirror promote/demote

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: state machine for creating mirroring snapshot
Mykola Golub [Thu, 10 Oct 2019 15:18:00 +0000 (16:18 +0100)]
librbd: state machine for creating mirroring snapshot

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: state machine for unlinking peer from mirror snapshot
Mykola Golub [Mon, 7 Oct 2019 16:07:34 +0000 (17:07 +0100)]
librbd: state machine for unlinking peer from mirror snapshot

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agocls/rbd: method to set mirror snapshot copy progress
Mykola Golub [Thu, 24 Oct 2019 15:28:36 +0000 (16:28 +0100)]
cls/rbd: method to set mirror snapshot copy progress

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agocls/rbd: method to unlink peer from mirror snapshot
Mykola Golub [Wed, 9 Oct 2019 13:38:55 +0000 (14:38 +0100)]
cls/rbd: method to unlink peer from mirror snapshot

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agocls/rbd: async methods for mirror_peer_list
Mykola Golub [Thu, 10 Oct 2019 15:14:46 +0000 (16:14 +0100)]
cls/rbd: async methods for mirror_peer_list

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: cleanup: remove unused function
Mykola Golub [Tue, 12 Nov 2019 15:05:46 +0000 (15:05 +0000)]
librbd: cleanup: remove unused function

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agocls/rbd: add mode (journal/snapshot) to mirror image
Mykola Golub [Mon, 4 Nov 2019 09:59:32 +0000 (09:59 +0000)]
cls/rbd: add mode (journal/snapshot) to mirror image

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoceph-daemon: don't deref symlinks during chown 32137/head
Michael Fritch [Tue, 10 Dec 2019 04:42:43 +0000 (21:42 -0700)]
ceph-daemon: don't deref symlinks during chown

- consolidate move/copy loop logic
- chown the actual file and not the symlink

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #32132 into master
Sage Weil [Tue, 10 Dec 2019 14:49:52 +0000 (08:49 -0600)]
Merge PR #32132 into master

* refs/pull/32132/head:
osd/OSDMap: rename old calc_pg_role -> calc_pg_role_broken
osd/OSDMap: remove dead osd_is_valid_op_target
osd/OSDMap: fix get_pg_acting_role()
osd: use spg_t for pending_creates_from_osd
osd/OSDMap: drop unused get_pg_acting_role()
osd/OSDMap: fix+simplify is_up_acting_osd_shard
osd: use new and improved calc_pg_role()
osd/OSDMap: new calc_pg_role() that takes a pg_shard_t
osd/OSDMap: calc_pg_rank -> calc_pg_role
osd/PeeringState: debug lines for upacting_features, proc_lease
osd/PeeringState: use pg_vector_string for operator<<

Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agodoc/releases/nautilus: fix release notes (crash->device) 32148/head
Sage Weil [Tue, 10 Dec 2019 14:32:02 +0000 (08:32 -0600)]
doc/releases/nautilus: fix release notes (crash->device)

Fix pending note for octopus too

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31827 into master
Sage Weil [Tue, 10 Dec 2019 13:15:59 +0000 (07:15 -0600)]
Merge PR #31827 into master

* refs/pull/31827/head:
mgr/ssh: add 'upgrade check' command
ceph-daemon: add 'pull' command
mgr/orchestrator_cli: document orchestrator option
mgr/ssh: move entity name munging into a helper

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #31970 into master
Sage Weil [Tue, 10 Dec 2019 13:13:47 +0000 (07:13 -0600)]
Merge PR #31970 into master

* refs/pull/31970/head:
doc/releases: add Nautilus 14.2.5 to release timeline
doc/releases: add release notes for nautilus v14.2.5

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #32141 from tchaikov/wip-doc-highlight-console
Kefu Chai [Tue, 10 Dec 2019 13:12:28 +0000 (21:12 +0800)]
Merge pull request #32141 from tchaikov/wip-doc-highlight-console

doc: use the console lexer for rendering command line sessions

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #31965 from rosinL/wip-osd-support-bond-network
Kefu Chai [Tue, 10 Dec 2019 13:07:29 +0000 (21:07 +0800)]
Merge pull request #31965 from rosinL/wip-osd-support-bond-network

osd/osd: Refactor get_iface_numa_node

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #27392 from rouming/bluestore-iouring
Kefu Chai [Tue, 10 Dec 2019 12:28:57 +0000 (20:28 +0800)]
Merge pull request #27392 from rouming/bluestore-iouring

os/bluestore: introduce new io_uring IO engine

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31979 from jan--f/c-v-patch-volumegroups
Sebastian Wagner [Tue, 10 Dec 2019 10:23:45 +0000 (11:23 +0100)]
Merge pull request #31979 from jan--f/c-v-patch-volumegroups

ceph-volume/test: patch VolumeGroups

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #32122 from s0nea/wip-dashboard-fix-tests
Lenz Grimmer [Tue, 10 Dec 2019 09:33:41 +0000 (09:33 +0000)]
Merge pull request #32122 from s0nea/wip-dashboard-fix-tests

qa/tasks/mgr/dashboard/test_health: update schema

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
5 years agodoc: show how to count jobs before triggering them 32145/head
Rishabh Dave [Tue, 10 Dec 2019 09:31:17 +0000 (15:01 +0530)]
doc: show how to count jobs before triggering them

Suggesting to use teuthology-suite command switch --dry-run for that.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agoos/bluestore: introduce new io_uring IO engine 27392/head
Roman Penyaev [Thu, 21 Mar 2019 17:10:11 +0000 (18:10 +0100)]
os/bluestore: introduce new io_uring IO engine

This implements low-level IO engine, which utilizes brand-new
io_uring IO interface: https://lwn.net/Articles/776428/

By default libaio is used.  If bluestore_ioring=true is set but kernel
does not support io_uring or architecture is not x86-64, libaio will be
used instead.

In current patch liburing library is used in order not to open code
everything.

In order to compile with liburing WITH_LIBURING=ON should be specified.

Signed-off-by: Roman Penyaev <rpenyaev@suse.de>
5 years agoos/bluestore: make abstract interface for any sorts of AIO queues
Roman Penyaev [Tue, 26 Mar 2019 09:10:50 +0000 (10:10 +0100)]
os/bluestore: make abstract interface for any sorts of AIO queues

In the next patch new io_uring API will be used instead of libaio.
So this prepares the abstract interface.

Signed-off-by: Roman Penyaev <rpenyaev@suse.de>
5 years agoMerge pull request #32007 from tchaikov/wip-osd-cleanup
Kefu Chai [Tue, 10 Dec 2019 09:18:03 +0000 (17:18 +0800)]
Merge pull request #32007 from tchaikov/wip-osd-cleanup

osd: use unique_ptr for managing life cycles

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
5 years agoMerge pull request #31931 from majianpeng/bluestore-bugfix
Kefu Chai [Tue, 10 Dec 2019 09:13:21 +0000 (17:13 +0800)]
Merge pull request #31931 from majianpeng/bluestore-bugfix

os/bluestore: fix wakeup bug

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #32052 from mgfritch/wip-cd-standalone-tempfiles
Kefu Chai [Tue, 10 Dec 2019 08:57:48 +0000 (16:57 +0800)]
Merge pull request #32052 from mgfritch/wip-cd-standalone-tempfiles

ceph-daemon: clean-up tempfiles on EXIT

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge pull request #32100 from yehudasa/wip-43184
Yehuda Sadeh [Tue, 10 Dec 2019 05:51:27 +0000 (07:51 +0200)]
Merge pull request #32100 from yehudasa/wip-43184

qa: radosgw-admin: remove dependency on bunch package

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #31961 from joscollin/wip-B43038-subvolume-group-create-fail
Jos Collin [Tue, 10 Dec 2019 05:42:03 +0000 (11:12 +0530)]
Merge pull request #31961 from joscollin/wip-B43038-subvolume-group-create-fail

mgr/volumes: check for string values in uid/gid

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agodoc: use console lexer for rendering command line sessions 32141/head
Kefu Chai [Tue, 10 Dec 2019 04:41:36 +0000 (12:41 +0800)]
doc: use console lexer for rendering command line sessions

by default the pygements uses python lexer for rendering literal blocks,
and `#` is considered as the marker for inline comments. in this change,
the "console" lexer is specified explicitly. see
https://pygments.org/docs/lexers/#lexers-for-various-shells for more details,
in which "BashSessionLexer" is for this very use case.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32124 into master
Patrick Donnelly [Tue, 10 Dec 2019 03:52:41 +0000 (19:52 -0800)]
Merge PR #32124 into master

* refs/pull/32124/head:
doc/cephfs/disaster-recovery-experts: Add link for scrub and note for scrub_path

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agocmake: silence messages when cppcheck/IWYU is not found 32140/head
Kefu Chai [Tue, 10 Dec 2019 03:03:13 +0000 (11:03 +0800)]
cmake: silence messages when cppcheck/IWYU is not found

* remove messages spit when these tools are not found
  they are not necessary for building Ceph. and the messages in the cmake
  output are distracting.
* fix a typo

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #27894 into master
Patrick Donnelly [Tue, 10 Dec 2019 01:05:52 +0000 (17:05 -0800)]
Merge PR #27894 into master

* refs/pull/27894/head:
cephfs-shell: Add default list to df
cephfs-shell: Add tests for df command
cephfs-shell: Fix 'df' command errors

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32131 into master
Patrick Donnelly [Tue, 10 Dec 2019 00:39:36 +0000 (16:39 -0800)]
Merge PR #32131 into master

* refs/pull/32131/head:
codeowners: Add ceph2.py to @ceph/orchestrators

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32038 into master
Patrick Donnelly [Tue, 10 Dec 2019 00:36:59 +0000 (16:36 -0800)]
Merge PR #32038 into master

* refs/pull/32038/head:
doc: reorganize CephFS landing page and ToC

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge PR #32098 into master
Sage Weil [Tue, 10 Dec 2019 00:29:41 +0000 (18:29 -0600)]
Merge PR #32098 into master

* refs/pull/32098/head:
ceph-daemon: py2: tolerate whitespace before config key name

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge pull request #32037 from smithfarm/wip-43152-workaround
Nathan Cutler [Mon, 9 Dec 2019 23:42:16 +0000 (00:42 +0100)]
Merge pull request #32037 from smithfarm/wip-43152-workaround

build/ops: make-dist: default to no dashboard frontend build parallelism

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agodoc/releases: add Nautilus 14.2.5 to release timeline 31970/head
Nathan Cutler [Mon, 9 Dec 2019 22:28:58 +0000 (23:28 +0100)]
doc/releases: add Nautilus 14.2.5 to release timeline

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/releases: add release notes for nautilus v14.2.5
Nathan Cutler [Tue, 3 Dec 2019 11:53:08 +0000 (12:53 +0100)]
doc/releases: add release notes for nautilus v14.2.5

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #32088 from idryomov/wip-krbd-exclusive-lock-fixups
Ilya Dryomov [Mon, 9 Dec 2019 21:59:13 +0000 (22:59 +0100)]
Merge pull request #32088 from idryomov/wip-krbd-exclusive-lock-fixups

qa: krbd_exclusive_option.sh: update for recent kernel changes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge PR #32046 into master
Sage Weil [Mon, 9 Dec 2019 21:34:57 +0000 (15:34 -0600)]
Merge PR #32046 into master

* refs/pull/32046/head:
mgr/DaemonServer: fix 'osd ok-to-stop' for EC pools

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #31489 into master
Sage Weil [Mon, 9 Dec 2019 20:46:39 +0000 (14:46 -0600)]
Merge PR #31489 into master

* refs/pull/31489/head:
pybind/rados: add WriteOp::writesame() and test WriteOp::writesame()
pybind/rados: add Ioctx::aio_writesame() and test Ioctx::aio_writesame()
pybind/rados: add Ioctx::writesame() and test Ioctx::writesame()

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
5 years agoMerge PR #29214 into master
Sage Weil [Mon, 9 Dec 2019 20:46:09 +0000 (14:46 -0600)]
Merge PR #29214 into master

* refs/pull/29214/head:
mgr: templatize/generalize metrics collection interface

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32102 into master
Sage Weil [Mon, 9 Dec 2019 20:44:37 +0000 (14:44 -0600)]
Merge PR #32102 into master

* refs/pull/32102/head:
mgr/diskprediction_local: import scipy early to fix self-test deadlock

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agorelease note: Add pending release notes for already merged code 32041/head
David Zafman [Thu, 5 Dec 2019 17:52:04 +0000 (09:52 -0800)]
release note: Add pending release notes for already merged code

Follow on to https://github.com/ceph/ceph/pull/31774

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoMerge pull request #31794 from dillaman/wip-42889
Jason Dillaman [Mon, 9 Dec 2019 17:47:47 +0000 (12:47 -0500)]
Merge pull request #31794 from dillaman/wip-42889

librbd: disable zero-copy writes by default

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
5 years agoMerge pull request #32105 from junxfl/test1
Jason Dillaman [Mon, 9 Dec 2019 17:37:37 +0000 (12:37 -0500)]
Merge pull request #32105 from junxfl/test1

librbd: fix rbd_open_by_id, rbd_open_by_id_read_only

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #32109 from yehudasa/wip-42868
Daniel Gryniewicz [Mon, 9 Dec 2019 17:23:12 +0000 (12:23 -0500)]
Merge pull request #32109 from yehudasa/wip-42868

rgw: list buckets: don't return buckets if limit=0

5 years agoosd/OSDMap: rename old calc_pg_role -> calc_pg_role_broken 32132/head
Sage Weil [Mon, 9 Dec 2019 16:56:02 +0000 (10:56 -0600)]
osd/OSDMap: rename old calc_pg_role -> calc_pg_role_broken

Also primary_changed -> primary_changed_broken.

Logged this issue with https://tracker.ceph.com/issues/43213

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph-daemon: combine SUDO and ARGS into a single var 32138/head
Michael Fritch [Mon, 9 Dec 2019 16:53:31 +0000 (09:53 -0700)]
ceph-daemon: combine SUDO and ARGS into a single var

- reduce the amount of typing/noise for each CEPH_DAEMON invocation
- ensure the `--image` param is passed to each test invocation
- allow passing additional args to ceph-daemon via CEPH_DAEMON_ARGS

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoosd/OSDMap: remove dead osd_is_valid_op_target
Sage Weil [Mon, 9 Dec 2019 16:53:08 +0000 (10:53 -0600)]
osd/OSDMap: remove dead osd_is_valid_op_target

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoosd/OSDMap: fix get_pg_acting_role()
Sage Weil [Mon, 9 Dec 2019 16:47:49 +0000 (10:47 -0600)]
osd/OSDMap: fix get_pg_acting_role()

This needs to take an spgid in order to know what role the osd is
serving.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocodeowners: Add ceph2.py to @ceph/orchestrators 32131/head
Sebastian Wagner [Mon, 9 Dec 2019 16:46:57 +0000 (17:46 +0100)]
codeowners: Add ceph2.py to @ceph/orchestrators

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #32053 from votdev/left_align_badges
Lenz Grimmer [Mon, 9 Dec 2019 16:44:56 +0000 (16:44 +0000)]
Merge pull request #32053 from votdev/left_align_badges

mgr/dashboard: Left align badge datatable columns

Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoosd: use spg_t for pending_creates_from_osd
Sage Weil [Mon, 9 Dec 2019 16:44:55 +0000 (10:44 -0600)]
osd: use spg_t for pending_creates_from_osd

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoosd/OSDMap: drop unused get_pg_acting_role()
Sage Weil [Mon, 9 Dec 2019 16:43:16 +0000 (10:43 -0600)]
osd/OSDMap: drop unused get_pg_acting_role()

No callers.

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