]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoqa/suites/powercycle: whitelist MDS_SLOW_REQUEST 23151/head
Neha Ojha [Fri, 20 Jul 2018 19:50:02 +0000 (12:50 -0700)]
qa/suites/powercycle: whitelist MDS_SLOW_REQUEST

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge pull request #23129 from alfredodeza/wip-rm24952
Alfredo Deza [Thu, 19 Jul 2018 16:36:40 +0000 (12:36 -0400)]
Merge pull request #23129 from alfredodeza/wip-rm24952

ceph-volume lvm.listing only include devices if they exist

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge PR #23097 into master
Patrick Donnelly [Thu, 19 Jul 2018 15:55:49 +0000 (08:55 -0700)]
Merge PR #23097 into master

* refs/pull/23097/head:
vstart_runner: pass ctx to FuseMount and load mount info

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 years agoMerge pull request #23077 from smithfarm/wip-etc-sudoers
Nathan Cutler [Thu, 19 Jul 2018 14:26:20 +0000 (16:26 +0200)]
Merge pull request #23077 from smithfarm/wip-etc-sudoers

build/ops: rpm: make sudo a build dependency

Reviewed-by: Tim Serong <tserong@suse.com>
7 years agobuild/ops: rpm: make sudo a build dependency 23077/head
Nathan Cutler [Mon, 16 Jul 2018 18:56:50 +0000 (20:56 +0200)]
build/ops: rpm: make sudo a build dependency

ede36df3253bd67bfe206abc0446f1f156feae64 added sudo as a runtime dependency,
but that commit also causes OBS builds to fail with:

[10666s] ... checking filelist
[10667s] ceph-osd-14.0.0-lp150.1332.1.x86_64.rpm: directories not owned by a package:
[10667s]  - /etc/sudoers.d

Since the "sudo" package is a runtime dependency of ceph-osd, it is guaranteed
to be installed on the target system and there is no reason for ceph-osd to own
this directory.

Having sudo as a build dependency makes OBS happy, and does no harm.

Follow-on fix for https://github.com/ceph/ceph/pull/22745

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #23089 from smithfarm/wip-seastar-build-deps
Nathan Cutler [Thu, 19 Jul 2018 12:10:31 +0000 (14:10 +0200)]
Merge pull request #23089 from smithfarm/wip-seastar-build-deps

build/ops: rpm: fix seastar build dependencies for SUSE

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agobuild/ops: rpm: fix seastar build dependencies for SUSE 23089/head
Nathan Cutler [Tue, 17 Jul 2018 08:46:50 +0000 (10:46 +0200)]
build/ops: rpm: fix seastar build dependencies for SUSE

cryptopp-devel is called libcryptopp-devel on SUSE.

/usr/bin/protoc is included in protobuf-devel on SUSE.

numactl-devel is called libnuma-devel on SUSE

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoceph-volume lvm.listing only include devices if they exist 23129/head
Alfredo Deza [Wed, 18 Jul 2018 20:50:25 +0000 (16:50 -0400)]
ceph-volume lvm.listing only include devices if they exist

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #23117 from ceph/wip-rm24796
Alfredo Deza [Wed, 18 Jul 2018 20:03:49 +0000 (16:03 -0400)]
Merge pull request #23117 from ceph/wip-rm24796

ceph-volume: unmount lvs correctly before zapping

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #23098 from neha-ojha/wip-limit-pglog
Josh Durgin [Wed, 18 Jul 2018 18:10:00 +0000 (11:10 -0700)]
Merge pull request #23098 from neha-ojha/wip-limit-pglog

osd: limit pg log length under all circumstances

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22347 from cbodley/wip-24367
Casey Bodley [Wed, 18 Jul 2018 17:25:58 +0000 (13:25 -0400)]
Merge pull request #22347 from cbodley/wip-24367

rgw: fixes for sync of versioned objects

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #23032 from cbodley/wip-24873
Casey Bodley [Wed, 18 Jul 2018 17:25:01 +0000 (13:25 -0400)]
Merge pull request #23032 from cbodley/wip-24873

radosgw-admin: 'sync error trim' loops until complete

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #23116 from alfredodeza/wip-rm24961
Andrew Schoen [Wed, 18 Jul 2018 17:11:20 +0000 (17:11 +0000)]
Merge pull request #23116 from alfredodeza/wip-rm24961

ceph-volume tests/functional run lvm list after OSD provisioning

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests/functional run lvm list after OSD provisioning 23116/head
Alfredo Deza [Wed, 18 Jul 2018 16:39:01 +0000 (12:39 -0400)]
ceph-volume tests/functional run lvm list after OSD provisioning

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: unmount lvs correctly before zapping 23117/head
Andrew Schoen [Wed, 18 Jul 2018 16:08:15 +0000 (11:08 -0500)]
ceph-volume: unmount lvs correctly before zapping

If the lv found does not include the meatadata to construct an osd path,
then we should try to unmount it's path instead.

Fixes: http://tracker.ceph.com/issues/24796
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #23075 from alfredodeza/wip-24492
Alfredo Deza [Wed, 18 Jul 2018 16:04:11 +0000 (12:04 -0400)]
Merge pull request #23075 from alfredodeza/wip-24492

ceph-volume batch command

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #23083 from dzafman/wip-disable-skip-dd
David Zafman [Wed, 18 Jul 2018 15:23:07 +0000 (11:23 -0400)]
Merge pull request #23083 from dzafman/wip-disable-skip-dd

osd: Change osd_skip_data_digest default to false and make it LEVEL_DEV

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22732 from b-ranto/wip-metric-reset
Boris Ranto [Wed, 18 Jul 2018 14:20:57 +0000 (16:20 +0200)]
Merge pull request #22732 from b-ranto/wip-metric-reset

prometheus: Fix metric resets

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge PR #23040 into master
Patrick Donnelly [Wed, 18 Jul 2018 13:43:13 +0000 (06:43 -0700)]
Merge PR #23040 into master

* refs/pull/23040/head:
ceph-debug-docker: install python3 cephfs/rados packages

Reviewed-by: Rishabh Dave <ridave@redhat.com>
7 years agovstart_runner: pass ctx to FuseMount and load mount info 23097/head
Patrick Donnelly [Tue, 17 Jul 2018 16:51:07 +0000 (09:51 -0700)]
vstart_runner: pass ctx to FuseMount and load mount info

Credit to Venky for finding the problem.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #23008 from tchaikov/wip-rbd-silence-gcc-warning
Jason Dillaman [Wed, 18 Jul 2018 12:10:07 +0000 (08:10 -0400)]
Merge pull request #23008 from tchaikov/wip-rbd-silence-gcc-warning

tools/rbd: assert(g_ceph_context) not g_conf

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22902 from alfonsomthd/24778-dashboard-info-cards-refactor
Lenz Grimmer [Wed, 18 Jul 2018 10:33:19 +0000 (12:33 +0200)]
Merge pull request #22902 from alfonsomthd/24778-dashboard-info-cards-refactor

mgr/dashboard: Dashboard info cards refactoring

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #23108 from tchaikov/wip-install-deps-seastar
Kefu Chai [Wed, 18 Jul 2018 03:53:07 +0000 (11:53 +0800)]
Merge pull request #23108 from tchaikov/wip-install-deps-seastar

run-make-check: set WITH_SEASTAR with a non-empty string

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoinstall-deps: set DEBIAN_FRONTEND for apt-get 23108/head
Kefu Chai [Wed, 18 Jul 2018 02:28:03 +0000 (10:28 +0800)]
install-deps: set DEBIAN_FRONTEND for apt-get

so it won't complain if the tty is not an interactive one.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorun-make-check: set WITH_SEASTAR with a non-empty string
Kefu Chai [Wed, 18 Jul 2018 02:25:19 +0000 (10:25 +0800)]
run-make-check: set WITH_SEASTAR with a non-empty string

otherwise "test -n $WITH_SEASTAR" fails, and the dependencies won't be
installed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #22966 into master
Patrick Donnelly [Wed, 18 Jul 2018 01:47:35 +0000 (18:47 -0700)]
Merge PR #22966 into master

* refs/pull/22966/head:
mds: clarify doc string for mds_beacon_grace

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoosd/PGLog: allow pg log trim when complete_to is less than trim_to 23098/head
Neha Ojha [Tue, 17 Jul 2018 01:11:27 +0000 (18:11 -0700)]
osd/PGLog: allow pg log trim when complete_to is less than trim_to

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoprometheus: Set the response header for cached response 22732/head
Boris Ranto [Tue, 17 Jul 2018 14:39:38 +0000 (16:39 +0200)]
prometheus: Set the response header for cached response

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Reset the time the data was captured
Boris Ranto [Tue, 17 Jul 2018 13:59:20 +0000 (15:59 +0200)]
prometheus: Reset the time the data was captured

This was forgotten during the previous patches.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Format metrics in the collect function
Boris Ranto [Thu, 12 Jul 2018 17:29:07 +0000 (19:29 +0200)]
prometheus: Format metrics in the collect function

This allows us to clear metrics upon formatting in the collect function.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Remove the Metrics class
Boris Ranto [Thu, 12 Jul 2018 17:01:50 +0000 (19:01 +0200)]
prometheus: Remove the Metrics class

The class was introduced to account for the 'pending' mechanism but that
is no longer being used by the code so we no longer need it since it
serves a purpose of a simple dictionary, now.

This simplifies the code and brings a bit of performance improvements
since the Metric classes in the collect method are created only if they
did not exist before.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Optimize metrics formatting
Boris Ranto [Thu, 12 Jul 2018 15:05:18 +0000 (17:05 +0200)]
prometheus: Optimize metrics formatting

It is faster to use join for join multiple strings than the regular
string concatenation since it does not create a new string on each
iteration.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Use instance instead of inst variable
Boris Ranto [Thu, 12 Jul 2018 11:57:59 +0000 (13:57 +0200)]
prometheus: Use instance instead of inst variable

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Make the cache timeout configurable
Boris Ranto [Wed, 11 Jul 2018 22:55:18 +0000 (00:55 +0200)]
prometheus: Make the cache timeout configurable

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Fix metric resets
Boris Ranto [Wed, 27 Jun 2018 07:50:04 +0000 (09:50 +0200)]
prometheus: Fix metric resets

This patch changes the way we reset metrics when collecting data in the
prometheus exporter module. With this patch, the exported metrics at any
point in time should align with a freshly started ceph-mgr module.

The patch also introduces locking mechanism to serialize the requests
and to avoid overwriting the metrics during multiple scrapes happenning
at the same time.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoceph-volume tests validate the new utils for prompts 23075/head
Alfredo Deza [Mon, 16 Jul 2018 13:23:14 +0000 (09:23 -0400)]
ceph-volume tests validate the new utils for prompts

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util create prompt helpers
Alfredo Deza [Mon, 16 Jul 2018 13:22:50 +0000 (09:22 -0400)]
ceph-volume util create prompt helpers

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.api update lvm sizing tests
Alfredo Deza [Fri, 13 Jul 2018 12:57:13 +0000 (08:57 -0400)]
ceph-volume tests.api update lvm sizing tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests verify str_to_int utility
Alfredo Deza [Fri, 13 Jul 2018 12:55:46 +0000 (08:55 -0400)]
ceph-volume tests verify str_to_int utility

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume api.lvm convert and use extents for sizing calculations
Alfredo Deza [Fri, 13 Jul 2018 12:55:28 +0000 (08:55 -0400)]
ceph-volume api.lvm convert and use extents for sizing calculations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util move the str_to_int utility out of lvm
Alfredo Deza [Fri, 13 Jul 2018 12:54:33 +0000 (08:54 -0400)]
ceph-volume util move the str_to_int utility out of lvm

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.batch update help docs from auto to batch
Alfredo Deza [Thu, 12 Jul 2018 20:11:29 +0000 (16:11 -0400)]
ceph-volume lvm.batch update help docs from auto to batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.main rename auto to batch
Alfredo Deza [Thu, 12 Jul 2018 20:10:47 +0000 (16:10 -0400)]
ceph-volume lvm.main rename auto to batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm rename auto to batch
Alfredo Deza [Thu, 12 Jul 2018 20:10:28 +0000 (16:10 -0400)]
ceph-volume lvm rename auto to batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.strategies add stubs for filestore
Alfredo Deza [Thu, 12 Jul 2018 19:46:05 +0000 (15:46 -0400)]
ceph-volume lvm.strategies add stubs for filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.strategies add bluestore with validators
Alfredo Deza [Thu, 12 Jul 2018 19:45:20 +0000 (15:45 -0400)]
ceph-volume lvm.strategies add bluestore with validators

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #23093 from ceph/wip-rm24044
Alfredo Deza [Tue, 17 Jul 2018 18:03:10 +0000 (14:03 -0400)]
Merge pull request #23093 from ceph/wip-rm24044

ceph-volume: an OSD ID must be exist and be destroyed before reuse

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #23038 from linuxbox2/wip-rgwfile-deepstat
Matt Benjamin [Tue, 17 Jul 2018 17:12:10 +0000 (13:12 -0400)]
Merge pull request #23038 from linuxbox2/wip-rgwfile-deepstat

rgw_file: deep stat handling

7 years agoMerge pull request #23044 from tchaikov/wip-crimson-connection
Kefu Chai [Tue, 17 Jul 2018 15:31:23 +0000 (23:31 +0800)]
Merge pull request #23044 from tchaikov/wip-crimson-connection

crimson/connection: misc changes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #23057 from liewegas/wip-12.2.7-notes
Abhishek L [Tue, 17 Jul 2018 14:45:34 +0000 (16:45 +0200)]
Merge pull request #23057 from liewegas/wip-12.2.7-notes

doc/release/luminous: v12.2.6 and v12.2.7 release notes

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #23085 from Songweibin/wip-rbd-unused-var
Jason Dillaman [Tue, 17 Jul 2018 13:59:56 +0000 (09:59 -0400)]
Merge pull request #23085 from Songweibin/wip-rbd-unused-var

test/librbd: drop unused variable ‘num_aios’

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoceph-volume: an osd ID must exist and be destroyed before reuse 23093/head
Andrew Schoen [Mon, 16 Jul 2018 21:06:03 +0000 (16:06 -0500)]
ceph-volume: an osd ID must exist and be destroyed before reuse

Fixes: https://tracker.ceph.com/issues/24044
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge PR #22681 into master
Sage Weil [Tue, 17 Jul 2018 12:18:30 +0000 (07:18 -0500)]
Merge PR #22681 into master

* refs/pull/22681/head:
common: use ceph_pthread_getname

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #23052 into master
Sage Weil [Tue, 17 Jul 2018 12:18:25 +0000 (07:18 -0500)]
Merge PR #23052 into master

* refs/pull/23052/head:
osd: fix deep scrub with osd_skip_data_digest=true (default) and bluestore

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agodoc/release/luminous: v12.2.7 release notes 23057/head
Sage Weil [Sat, 14 Jul 2018 19:39:09 +0000 (14:39 -0500)]
doc/release/luminous: v12.2.7 release notes

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22899 from smithfarm/wip-doc-argonaut
Nathan Cutler [Tue, 17 Jul 2018 11:29:49 +0000 (13:29 +0200)]
Merge pull request #22899 from smithfarm/wip-doc-argonaut

doc: cleanup: prune Argonaut-specific verbiage

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agodoc/start/hardware-recommendations.rst: link to Ceph blog 22899/head
Nathan Cutler [Tue, 17 Jul 2018 10:13:58 +0000 (12:13 +0200)]
doc/start/hardware-recommendations.rst: link to Ceph blog

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agodoc: fix up install/upgrading-ceph.rst
Nathan Cutler [Tue, 17 Jul 2018 10:01:59 +0000 (12:01 +0200)]
doc: fix up install/upgrading-ceph.rst

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agodoc: cleanup: prune Argonaut-specific verbiage
Nathan Cutler [Fri, 6 Jul 2018 08:12:09 +0000 (10:12 +0200)]
doc: cleanup: prune Argonaut-specific verbiage

Also drop all release-specific upgrading instructions (they only go up to
Firefly, anyway - none of the current releases are covered).

Note that all of this verbiage I am removing here can still be accessed
on docs.ceph.com via e.g. http://docs.ceph.com/docs/firefly/

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #23079 from smithfarm/wip-with-seastar-fix
Nathan Cutler [Tue, 17 Jul 2018 08:57:52 +0000 (10:57 +0200)]
Merge pull request #23079 from smithfarm/wip-with-seastar-fix

build/ops: install-deps.sh: set with_seastar

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agotest/librbd: drop unused variable ‘num_aios’ 23085/head
songweibin [Tue, 17 Jul 2018 01:35:00 +0000 (09:35 +0800)]
test/librbd: drop unused variable ‘num_aios’

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd: reset complete_to when trimming the log past it
Neha Ojha [Tue, 17 Jul 2018 01:01:26 +0000 (18:01 -0700)]
osd: reset complete_to when trimming the log past it

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoosd: allow trim() to proceed when there are missing items
Neha Ojha [Mon, 16 Jul 2018 23:48:58 +0000 (16:48 -0700)]
osd: allow trim() to proceed when there are missing items

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoosd: handle trim() during backfill and async recovery
Neha Ojha [Mon, 16 Jul 2018 23:31:22 +0000 (16:31 -0700)]
osd: handle trim() during backfill and async recovery

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoosd: add flag to remember async recovery
Neha Ojha [Mon, 16 Jul 2018 22:42:43 +0000 (15:42 -0700)]
osd: add flag to remember async recovery

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoosd: print pg log length and trim_to
Neha Ojha [Mon, 16 Jul 2018 22:06:12 +0000 (15:06 -0700)]
osd: print pg log length and trim_to

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoosd: make calc_trim_to() independent of min_last_complete_ondisk
Neha Ojha [Mon, 16 Jul 2018 21:46:21 +0000 (14:46 -0700)]
osd: make calc_trim_to() independent of min_last_complete_ondisk

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agocommon: Fix description for osd_skip_data_digest 23083/head
David Zafman [Mon, 16 Jul 2018 21:32:54 +0000 (14:32 -0700)]
common: Fix description for osd_skip_data_digest

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agocommon/options: disable osd_skip_data_digest
Sage Weil [Sat, 14 Jul 2018 20:03:43 +0000 (15:03 -0500)]
common/options: disable osd_skip_data_digest

This is flawed in that it stops doing digests based on the primary's
backend store, not the replicas.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit c7d8add701f156eb8bd8c7dc8ae9903bd782e77f)

7 years agocommon/options: make osd_skip_data_digest a DEV option
Sage Weil [Sat, 14 Jul 2018 18:26:31 +0000 (13:26 -0500)]
common/options: make osd_skip_data_digest a DEV option

And document/warn to never turn it off after it's been on.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit c854ed9b33a5a293c8ace15718e26f74237e3332)

7 years agobuild/ops: install-deps.sh: set with_seastar 23079/head
Nathan Cutler [Mon, 16 Jul 2018 20:07:57 +0000 (22:07 +0200)]
build/ops: install-deps.sh: set with_seastar

25d5122b5538062e8282251c3d7bae0f9792d596 introduced code into
install-deps.sh which was intended to set a variable "with_seastar" to the
string "true" or "false" depending on whether or not an environment
variable WITH_SEASTAR is defined.

As originally implemented, the conditional is always true, so with_seastar
is set to "true" unconditionally. Fix this by putting $WITH_SEASTAR in
double quotes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoceph-volume util/prepare.py
Ron Allred [Wed, 23 May 2018 14:34:41 +0000 (08:34 -0600)]
ceph-volume util/prepare.py

Replaces PR#21887
Rename function check_id to osd_id_exists in util/prepare.py
Fix boolean analysis of osd_id_exists when --osd-id is provided on command line

Signed-off-by: Ron Allred <rallred@itrefined.com>
7 years agoMerge PR #23068 into master
Patrick Donnelly [Mon, 16 Jul 2018 16:17:19 +0000 (09:17 -0700)]
Merge PR #23068 into master

* refs/pull/23068/head:
doc: fix some errors in the cephfs-journal-tool

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #22737 from trociny/wip-24675
Jason Dillaman [Mon, 16 Jul 2018 15:43:11 +0000 (11:43 -0400)]
Merge pull request #22737 from trociny/wip-24675

librbd: validate data pool for self-managed snapshot support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoceph-volume lvm.auto create a strategies module
Alfredo Deza [Thu, 5 Jul 2018 17:46:46 +0000 (13:46 -0400)]
ceph-volume lvm.auto create a strategies module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare do not pass the name when creating a vg
Alfredo Deza [Thu, 5 Jul 2018 15:40:28 +0000 (11:40 -0400)]
ceph-volume lvm.prepare do not pass the name when creating a vg

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume api.lvm create_vg should optionally name vgs on the fly
Alfredo Deza [Thu, 5 Jul 2018 15:39:53 +0000 (11:39 -0400)]
ceph-volume api.lvm create_vg should optionally name vgs on the fly

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.main make auto a subcommand
Alfredo Deza [Thu, 5 Jul 2018 12:29:13 +0000 (08:29 -0400)]
ceph-volume lvm.main make auto a subcommand

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.auto add --yes prompt to execute strategies
Alfredo Deza [Thu, 5 Jul 2018 12:28:39 +0000 (08:28 -0400)]
ceph-volume lvm.auto add --yes prompt to execute strategies

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc: fix some errors in the cephfs-journal-tool 23068/head
Zhu Shangzhong [Mon, 16 Jul 2018 07:16:29 +0000 (15:16 +0800)]
doc: fix some errors in the cephfs-journal-tool

Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
7 years agoMerge PR #23059 into master 20538/head
Patrick Donnelly [Sun, 15 Jul 2018 22:10:08 +0000 (15:10 -0700)]
Merge PR #23059 into master

* refs/pull/23059/head:
common/ceph_strings: add request_flush_mdlog op names to ceph_session_op_name()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22211 into master
Patrick Donnelly [Sun, 15 Jul 2018 22:03:13 +0000 (15:03 -0700)]
Merge PR #22211 into master

* refs/pull/22211/head:
cephfs-journal-tool: get and check layout info during dump/undump

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #22705 into master
Patrick Donnelly [Sun, 15 Jul 2018 22:03:08 +0000 (15:03 -0700)]
Merge PR #22705 into master

* refs/pull/22705/head:
Changed Lua library support from all to partial
mds/Mantle: Fixed Mantle's obsolete Lua C++ API

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22751 into master
Patrick Donnelly [Sun, 15 Jul 2018 22:03:03 +0000 (15:03 -0700)]
Merge PR #22751 into master

* refs/pull/22751/head:
test: add tests for ceph_utime() and friends
libcephfs: extend support for changing file access/modification time

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #22801 into master
Patrick Donnelly [Sun, 15 Jul 2018 22:02:58 +0000 (15:02 -0700)]
Merge PR #22801 into master

* refs/pull/22801/head:
client: add inst to asok status output

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 years agogithubmap: update contributors
Patrick Donnelly [Sun, 15 Jul 2018 22:02:57 +0000 (15:02 -0700)]
githubmap: update contributors

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22804 into master
Patrick Donnelly [Sun, 15 Jul 2018 22:01:59 +0000 (15:01 -0700)]
Merge PR #22804 into master

* refs/pull/22804/head:
mds: remove useless dout_subsys macro

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agolibrbd: validate data pool for self-managed snapshot support 22737/head
Mykola Golub [Wed, 27 Jun 2018 14:18:24 +0000 (17:18 +0300)]
librbd: validate data pool for self-managed snapshot support

Fixes: https://tracker.ceph.com/issues/24675
Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agodoc: releases: release notes for v12.2.6 luminous
Abhishek Lekshmanan [Wed, 11 Jul 2018 12:43:16 +0000 (14:43 +0200)]
doc: releases: release notes for v12.2.6 luminous

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #22945 from cxytt/master
Jason Dillaman [Sat, 14 Jul 2018 18:18:02 +0000 (14:18 -0400)]
Merge pull request #22945 from cxytt/master

librbd:optionally support FUA (force unit access) on write requests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22637 from zy751713126/resize_equal_size
Jason Dillaman [Sat, 14 Jul 2018 18:17:17 +0000 (14:17 -0400)]
Merge pull request #22637 from zy751713126/resize_equal_size

rbd: error if new size is equal to original size

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20112 from liyichao/aio_fail
Jason Dillaman [Sat, 14 Jul 2018 18:16:57 +0000 (14:16 -0400)]
Merge pull request #20112 from liyichao/aio_fail

librbd: handle aio failure in ManagedLock and PreReleaseRequest

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosd: fix deep scrub with osd_skip_data_digest=true (default) and bluestore 23052/head
Sage Weil [Sat, 14 Jul 2018 17:39:15 +0000 (12:39 -0500)]
osd: fix deep scrub with osd_skip_data_digest=true (default) and bluestore

The osd_skip_data_digest is about skipping the storing and checking of a
full-object data digest.  Here it is also disabling crc checks during
deep-scrub, which prevents us from detecting crc differences across
replicas.  Fix!

Fixes: http://tracker.ceph.com/issues/24922
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #23046 from tchaikov/wip-ftbfs-rgw-kefu
Kefu Chai [Sat, 14 Jul 2018 13:33:08 +0000 (21:33 +0800)]
Merge pull request #23046 from tchaikov/wip-ftbfs-rgw-kefu

rgw: fix FTBFS introduced by abca9805

7 years agorgw: fix FTBFS introduced by abca9805 23046/head
Kefu Chai [Sat, 14 Jul 2018 10:26:17 +0000 (18:26 +0800)]
rgw: fix FTBFS introduced by abca9805

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22809 from tchaikov/wip-with-seastar
Kefu Chai [Sat, 14 Jul 2018 09:36:20 +0000 (17:36 +0800)]
Merge pull request #22809 from tchaikov/wip-with-seastar

run-make-check: enable --with-seastar option

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #22964 from tchaikov/wip-import-pub-key-without-hkp-server
Kefu Chai [Sat, 14 Jul 2018 07:47:00 +0000 (15:47 +0800)]
Merge pull request #22964 from tchaikov/wip-import-pub-key-without-hkp-server

install-deps.sh: import ubuntu-toolchain-r's key without keyserver

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agocrimson/net: use boost::thread_unsafe_counter for refcounting Connection 23044/head
Kefu Chai [Fri, 29 Jun 2018 11:49:59 +0000 (19:49 +0800)]
crimson/net: use boost::thread_unsafe_counter for refcounting Connection

seastar is basically single threaded.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocrimson/net: add Connection::get_peer_type()
Kefu Chai [Fri, 29 Jun 2018 11:51:31 +0000 (19:51 +0800)]
crimson/net: add Connection::get_peer_type()

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #22971 into master
Patrick Donnelly [Sat, 14 Jul 2018 01:16:51 +0000 (18:16 -0700)]
Merge PR #22971 into master

* refs/pull/22971/head:
qa: optionally use old fs name during cephfs remount
qa: remove dead code
qa: run asok command on correct machine