]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoqa: fix for s3tests.functional.test_s3.test_bucket_get_location failed 22312/head
Enming Zhang [Sat, 23 Jun 2018 09:09:54 +0000 (17:09 +0800)]
qa: fix for s3tests.functional.test_s3.test_bucket_get_location failed

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
7 years agorgw: fix issue for CreateBucket with BucketLocation param under default zonegroup
Enming Zhang [Wed, 30 May 2018 02:54:42 +0000 (10:54 +0800)]
rgw: fix issue for CreateBucket with BucketLocation param under default zonegroup

Because there is not a default realm, the has_zonegroup_api always returns false
when create bucket with the BucketLocation parameter under default zonegroup,
which always leads to the CreateBucket with BucketLocation parameter request failed.

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
7 years agorgw: set "api_name" to default_zonegroup_name for default zonegroup
Enming Zhang [Wed, 30 May 2018 02:42:55 +0000 (10:42 +0800)]
rgw: set "api_name" to default_zonegroup_name for default zonegroup

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
7 years agoMerge pull request #22240 from ukernel/wip-24289
Yan, Zheng [Wed, 30 May 2018 00:43:07 +0000 (08:43 +0800)]
Merge pull request #22240 from ukernel/wip-24289

mds: fix some memory leak

7 years agoMerge pull request #22305 from yehudasa/wip-rgw-mimic
Sage Weil [Tue, 29 May 2018 22:15:18 +0000 (17:15 -0500)]
Merge pull request #22305 from yehudasa/wip-rgw-mimic

docs: update rgw info for mimic

7 years agodocs: update rgw info for mimic 22305/head
Yehuda Sadeh [Tue, 29 May 2018 22:00:20 +0000 (15:00 -0700)]
docs: update rgw info for mimic

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #22280 from hjwsm1989/wip-osdmaptool
Kefu Chai [Tue, 29 May 2018 17:01:47 +0000 (01:01 +0800)]
Merge pull request #22280 from hjwsm1989/wip-osdmaptool

osdmaptool: fix wrong test_map_pgs_dump_all output

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22157 from ceph/wip-doc-clear-config
John Spray [Tue, 29 May 2018 14:00:21 +0000 (15:00 +0100)]
Merge pull request #22157 from ceph/wip-doc-clear-config

doc/mgr: mention how to clear config setting

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
7 years agoMerge pull request #22286 from ifed01/wip-ifed-fix-release-build
Kefu Chai [Tue, 29 May 2018 13:58:50 +0000 (21:58 +0800)]
Merge pull request #22286 from ifed01/wip-ifed-fix-release-build

cmake: enable RTTI for both debug and release RocksDB builds.

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22231 from linuxbox2/wip-get-irange
Matt Benjamin [Tue, 29 May 2018 13:58:06 +0000 (09:58 -0400)]
Merge pull request #22231 from linuxbox2/wip-get-irange

rgw: add configurable AWS-compat invalid range get behavior

7 years agoMerge pull request #22203 from hydro-b/rbd-docu-fixes
Jason Dillaman [Tue, 29 May 2018 13:41:47 +0000 (09:41 -0400)]
Merge pull request #22203 from hydro-b/rbd-docu-fixes

doc: remove duplicate python packages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22259 from liewegas/wip-24322
Kefu Chai [Tue, 29 May 2018 13:07:06 +0000 (21:07 +0800)]
Merge pull request #22259 from liewegas/wip-24322

mon/OSDMonitor: no_reply on MOSDFailure messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: remove duplicate python packages, explicitly ensure python script installation... 22203/head
Stefan Kooman [Tue, 29 May 2018 12:20:33 +0000 (14:20 +0200)]
doc: remove duplicate python packages, explicitly ensure python script installation in path /usr/bin.
Signed-off-by: Stefan Kooman <stefan@kooman.org>
Signed-off-by: Stefan Kooman <stefan@kooman.org>
7 years agomon/OSDMonitor: no_reply on MOSDFailure ops we eventually process 22259/head
Sage Weil [Sun, 27 May 2018 14:55:04 +0000 (09:55 -0500)]
mon/OSDMonitor: no_reply on MOSDFailure ops we eventually process

Failure ops get attached to the failure report.  Once we finally process
them, mark them no_reply so that the forwarding mon will know about it.
The other paths through prepare_failure() do no_reply on the messages
that don't get logged in the failure_info_t::reporters.

Fixes: http://tracker.ceph.com/issues/24322
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22279 from tspmelo/wip-improve-lint-rules
Lenz Grimmer [Tue, 29 May 2018 09:27:13 +0000 (11:27 +0200)]
Merge pull request #22279 from tspmelo/wip-improve-lint-rules

mgr/dashboard: Improve max-line-length tslint rule

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22281 from p-na/hacking-rst
Lenz Grimmer [Tue, 29 May 2018 09:05:33 +0000 (11:05 +0200)]
Merge pull request #22281 from p-na/hacking-rst

mgr/dashboard: Improve `HACKING.rst`

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #22193 from liewegas/wip-mon-ranks
Kefu Chai [Tue, 29 May 2018 04:02:40 +0000 (12:02 +0800)]
Merge pull request #22193 from liewegas/wip-mon-ranks

mon: make rank ordering explicit (not tied to mon address sort order)

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22275 from tchaikov/wip-24321
Kefu Chai [Tue, 29 May 2018 03:26:11 +0000 (11:26 +0800)]
Merge pull request #22275 from tchaikov/wip-24321

qa: wait longer for osd to flush pg stats

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomds: fix some memory leak 22240/head
Yan, Zheng [Fri, 25 May 2018 08:11:30 +0000 (16:11 +0800)]
mds: fix some memory leak

Fixes: http://tracker.ceph.com/issues/24289
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agobuild/cmake: enable RTTI for both debug and release RocksDB builds. 22286/head
Igor Fedotov [Mon, 28 May 2018 20:00:42 +0000 (23:00 +0300)]
build/cmake: enable RTTI for both debug and release RocksDB builds.
Overwise ceph build in Release mode is failing.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agomon/Monitor: use legacy ranks during bootstrap for initial seed monmap 22193/head
Sage Weil [Mon, 28 May 2018 18:50:48 +0000 (13:50 -0500)]
mon/Monitor: use legacy ranks during bootstrap for initial seed monmap

We get various fabricated monmaps with epoch 0 to get things started.  Use
the legacy rank order so that we have a well-defined ordering and mon
ranks do not collide.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/MonMap: use legacy rank order for all bootstrap monmaps
Sage Weil [Mon, 28 May 2018 18:50:07 +0000 (13:50 -0500)]
mon/MonMap: use legacy rank order for all bootstrap monmaps

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22256 into master
Sage Weil [Mon, 28 May 2018 18:36:54 +0000 (13:36 -0500)]
Merge PR #22256 into master

* refs/pull/22256/head:
unittest_addrs: check parse() return value too
common/LogEntry: remove addrs from log entry operator<<
common/LogEntry: addr -> addrs
common/LogEntry: no need for LogEntryKey encode/decode
msg/msg_types: entity_addrvec_t ctors
msg/msg_types: add entity_addrvec_t::legacy_addr() helper
msg/msg_types: some comparators for entity_addrvec_t
msg/msg_types: entity_addrvec_t parse() and operator<<

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/dashboard: Improve `HACKING.rst` 22281/head
Patrick Nawracay [Mon, 28 May 2018 13:56:09 +0000 (15:56 +0200)]
mgr/dashboard: Improve `HACKING.rst`

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agoMerge PR #22261 into master
Sage Weil [Mon, 28 May 2018 14:24:03 +0000 (09:24 -0500)]
Merge PR #22261 into master

* refs/pull/22261/head:
qa/suites/rados: move valgrind test to singleton-flat

7 years agoMerge PR #22263 into master
Sage Weil [Mon, 28 May 2018 14:21:57 +0000 (09:21 -0500)]
Merge PR #22263 into master

* refs/pull/22263/head:
doc/releases: mimic 13.2.0

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoosdmaptool: fix wrong test_map_pgs_dump_all output 22280/head
huangjun [Mon, 28 May 2018 13:44:36 +0000 (21:44 +0800)]
osdmaptool: fix wrong test_map_pgs_dump_all output

Signed-off-by: huangjun <huangjun@xsky.com>
7 years agomgr/dashboard: Improve max-line-length tslint rule 22279/head
Tiago Melo [Mon, 28 May 2018 13:19:26 +0000 (14:19 +0100)]
mgr/dashboard: Improve max-line-length tslint rule

Prettier is not breaking strings if they are bigger
then the defined max line length.

With this rule we can make sure lines are not exceeding it,
with the exception of import/export lines.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agounittest_addrs: check parse() return value too 22256/head
Sage Weil [Mon, 28 May 2018 13:11:09 +0000 (08:11 -0500)]
unittest_addrs: check parse() return value too

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22210 from rjfd/wip-dashboard-controller-refactor
Lenz Grimmer [Mon, 28 May 2018 12:10:03 +0000 (14:10 +0200)]
Merge pull request #22210 from rjfd/wip-dashboard-controller-refactor

mgr/dashboard: controller infrastructure refactor and new features

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoqa: wait longer for osd to flush pg stats 22275/head
Kefu Chai [Mon, 28 May 2018 11:37:44 +0000 (19:37 +0800)]
qa: wait longer for osd to flush pg stats

pg sends pg-stats to mgr every 5 seconds, so we cannot check for the
number of pgs right after creating the pool, at that moment, the number
of pgs could be 0, that's why manger.wait_for_clean() returns right
away, and leaves us with 0 pgs: the pgs serving the pool are still being
created. that's why `manager.get_num_active_clean()` returns `0`
sometimes. so, we should force osd to flush their stats to mgr, and wait
until the pg stats converages.

Fixes: http://tracker.ceph.com/issues/24321
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22159 from b-ranto/wip-dashboard-shutdown
Lenz Grimmer [Mon, 28 May 2018 11:07:15 +0000 (13:07 +0200)]
Merge pull request #22159 from b-ranto/wip-dashboard-shutdown

mgr/dashboard: Fix dashboard shutdown/restart

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
7 years agomgr/dashboard: hacking.rst: minor improvements and cleanup 22210/head
Ricardo Dias [Fri, 25 May 2018 06:58:52 +0000 (07:58 +0100)]
mgr/dashboard: hacking.rst: minor improvements and cleanup

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: hacking.rst: controller creation instructions update
Ricardo Dias [Thu, 24 May 2018 16:10:41 +0000 (17:10 +0100)]
mgr/dashboard: hacking.rst: controller creation instructions update

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: test: controllers unit test
Ricardo Dias [Thu, 24 May 2018 09:29:24 +0000 (10:29 +0100)]
mgr/dashboard: test: controllers unit test

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: controllers: @Endpoint annotation implementation
Ricardo Dias [Thu, 24 May 2018 09:27:43 +0000 (10:27 +0100)]
mgr/dashboard: controllers: @Endpoint annotation implementation

With these changes we now have a single implementation for both the
BaseController and RESTController classes, with the respective
overrides.

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21960 from socketpair/output
Kefu Chai [Mon, 28 May 2018 02:45:38 +0000 (10:45 +0800)]
Merge pull request #21960 from socketpair/output

osd: write "debug dump_missing" output to stdout

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22267 from ZVampirEM77/wip-telegraf-typo-fix
Kefu Chai [Mon, 28 May 2018 02:37:38 +0000 (10:37 +0800)]
Merge pull request #22267 from ZVampirEM77/wip-telegraf-typo-fix

doc: fix a typo in doc/mgr/telegraf.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: fix a typo in doc/mgr/telegraf.rst 22267/head
Enming Zhang [Mon, 28 May 2018 02:25:46 +0000 (10:25 +0800)]
doc: fix a typo in doc/mgr/telegraf.rst

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
7 years agocommon/LogEntry: remove addrs from log entry operator<<
Sage Weil [Sun, 27 May 2018 22:23:45 +0000 (17:23 -0500)]
common/LogEntry: remove addrs from log entry operator<<

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocommon/LogEntry: addr -> addrs
Sage Weil [Fri, 25 May 2018 20:11:32 +0000 (15:11 -0500)]
common/LogEntry: addr -> addrs

We want to switch to an addrvec.  This requires multiple parts:

 - switch the Key type to use just the rank
 - separate entity_name_t rank
 - compat encoding
 - graylog field naming has changed (includes name)
 - syslog output formatting has changed (includes name)
 - LogEntry operator<< modified a bit

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocommon/LogEntry: no need for LogEntryKey encode/decode
Sage Weil [Fri, 25 May 2018 15:53:52 +0000 (10:53 -0500)]
common/LogEntry: no need for LogEntryKey encode/decode

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: entity_addrvec_t ctors
Sage Weil [Fri, 25 May 2018 14:23:40 +0000 (09:23 -0500)]
msg/msg_types: entity_addrvec_t ctors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: add entity_addrvec_t::legacy_addr() helper
Sage Weil [Wed, 23 May 2018 16:45:57 +0000 (11:45 -0500)]
msg/msg_types: add entity_addrvec_t::legacy_addr() helper

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: some comparators for entity_addrvec_t
Sage Weil [Wed, 23 May 2018 16:16:06 +0000 (11:16 -0500)]
msg/msg_types: some comparators for entity_addrvec_t

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: entity_addrvec_t parse() and operator<<
Sage Weil [Wed, 23 May 2018 15:37:18 +0000 (10:37 -0500)]
msg/msg_types: entity_addrvec_t parse() and operator<<

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22223 from wido/telemetry-bool
Sage Weil [Sun, 27 May 2018 22:21:28 +0000 (17:21 -0500)]
Merge pull request #22223 from wido/telemetry-bool

mgr/telemetry: Check if boolean is False or not present

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22252 from liewegas/wip-24308
Sage Weil [Sun, 27 May 2018 22:18:50 +0000 (17:18 -0500)]
Merge pull request #22252 from liewegas/wip-24308

mon/MDSMonitor: do not send redundant MDS health messages to cluster log

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agomon/MonMap: use c++17 structured bindings
Sage Weil [Thu, 24 May 2018 13:28:09 +0000 (08:28 -0500)]
mon/MonMap: use c++17 structured bindings

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/MonmapMonitor: add 'mon set-rank <name> <rank>' command
Sage Weil [Wed, 23 May 2018 20:37:57 +0000 (15:37 -0500)]
mon/MonmapMonitor: add 'mon set-rank <name> <rank>' command

Add a command to manipulate the mon ranks.  This lets you control which
mon is preferred as the primary, in case you care about such things.
Mostly it doesn't matter.  (Previously we preferred the mon with the
lowest-sorting IP address, which is pretty arbitrary.)

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/MonMap: separate rank ordering from entity_addr_t
Sage Weil [Wed, 23 May 2018 17:52:06 +0000 (12:52 -0500)]
mon/MonMap: separate rank ordering from entity_addr_t

We currently define the mon rank ordering based on the sort order of the
mon addresses.  Change that so that the rank order is explicitly encoded
in the ranks field of the MonMap.

If we load a legacy MonMap, calculate the legacy ordering.

If the monmap does not require nautilus features yet, force the legacy
ordering.  Once all mons are >= nautilus, we can reorder ranks.  Note that
the daemons and clients (MonClients) may see a different rank ordering.
That should be okay.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/releases: mimic 13.2.0 22263/head
Sage Weil [Sun, 27 May 2018 20:07:03 +0000 (15:07 -0500)]
doc/releases: mimic 13.2.0

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados: move valgrind test to singleton-flat 22261/head
Sage Weil [Sun, 27 May 2018 15:07:45 +0000 (10:07 -0500)]
qa/suites/rados: move valgrind test to singleton-flat

No distro facet (or anything else) since we require centos for this test.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/OSDMonitor: no_reply on ignored MOSDFailure
Sage Weil [Sun, 27 May 2018 14:49:37 +0000 (09:49 -0500)]
mon/OSDMonitor: no_reply on ignored MOSDFailure

If we are ignoring the message, tell the forwarding mon to discard it's
state.

Fixes: http://tracker.ceph.com/issues/24322
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22019 from majianpeng/cmake-fio
Kefu Chai [Sun, 27 May 2018 11:37:59 +0000 (19:37 +0800)]
Merge pull request #22019 from majianpeng/cmake-fio

cmake: update fio version from 3.5 to 540e235dcd276e63c57.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge PR #22257 into master
Sage Weil [Sat, 26 May 2018 19:08:03 +0000 (14:08 -0500)]
Merge PR #22257 into master

* refs/pull/22257/head:
mon/MonCommands: allow nautilus for require-osd-release

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomon/MonMap: simplify encode() flow
Sage Weil [Wed, 23 May 2018 17:40:36 +0000 (12:40 -0500)]
mon/MonMap: simplify encode() flow

We only need legacy_mon_addr for the !MONENC case.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22243 into master
Sage Weil [Sat, 26 May 2018 13:30:34 +0000 (08:30 -0500)]
Merge PR #22243 into master

* refs/pull/22243/head:
Revert "mon: no delay for single message MSG_ALIVE and MSG_PGTEMP"

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22228 into master
Sage Weil [Sat, 26 May 2018 13:30:29 +0000 (08:30 -0500)]
Merge PR #22228 into master

* refs/pull/22228/head:
mon: add send_mon_message() helper
mon: change timecheck_* key to int
mon/MonClient: make connection check more robust

Reviewed-by: João Eduardo Luís <joao@suse.de>
7 years agomon/MonCommands: allow nautilus for require-osd-release 22257/head
Sage Weil [Sat, 26 May 2018 03:22:54 +0000 (22:22 -0500)]
mon/MonCommands: allow nautilus for require-osd-release

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22255 from neha-ojha/wip-double-reservation
Josh Durgin [Sat, 26 May 2018 01:26:08 +0000 (18:26 -0700)]
Merge pull request #22255 from neha-ojha/wip-double-reservation

PG: release reservations after backfill completes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoPG: add custom_reaction Backfilled and release reservations after backfill 22255/head
Neha Ojha [Mon, 21 May 2018 19:34:31 +0000 (12:34 -0700)]
PG: add custom_reaction Backfilled and release reservations after backfill

After backfill completes, we directly go to the Recovered state without
releasing reservations. The outstanding reservations cause double reservation
issues.

Creating a custom_reaction Backfilled, allows us to release reservations,
before transiting to the Recovered state.

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agomon: add send_mon_message() helper 22228/head
Sage Weil [Thu, 24 May 2018 18:37:28 +0000 (13:37 -0500)]
mon: add send_mon_message() helper

Avoid a zillion calls to monmap->get_inst()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: change timecheck_* key to int
Sage Weil [Thu, 24 May 2018 14:26:18 +0000 (09:26 -0500)]
mon: change timecheck_* key to int

We don't need to use entity_inst_t here since we're only paying attention
to mons in the quorum.

This involves changing the message format.  To save some time/effort and
complexity, we only support time checks on all-nautilus.  If you are
mid-upgrade, the time sync checks are skipped.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/MonClient: make connection check more robust
Sage Weil [Wed, 23 May 2018 22:37:00 +0000 (17:37 -0500)]
mon/MonClient: make connection check more robust

Do no rely on the address comparison; just check the Connection*
itself.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #21934 into master v14.0.0
Sage Weil [Fri, 25 May 2018 22:52:41 +0000 (17:52 -0500)]
Merge PR #21934 into master

* refs/pull/21934/head:
qa/standalone/mon/misc: fix features test
qa/workunits: osd require-osd-release mimic -> nautilus
test/cli/monmaptool/feature-set-unset: fix unknown ids
test/cli/monmaptool: fix test
osd/OSDMap: make NAUTILUS feature bit significant
mon: add initial NAUTILUS feature/compatset bits

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #22037 into master
Sage Weil [Fri, 25 May 2018 22:05:55 +0000 (17:05 -0500)]
Merge PR #22037 into master

* refs/pull/22037/head:
filestore: Raise the priority of two counters

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22133 into master
Sage Weil [Fri, 25 May 2018 22:05:50 +0000 (17:05 -0500)]
Merge PR #22133 into master

* refs/pull/22133/head:
osd/ReplicatedBackend: fix use-after-free on InProgressOp

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge PR #22147 into master
Sage Weil [Fri, 25 May 2018 22:05:10 +0000 (17:05 -0500)]
Merge PR #22147 into master

* refs/pull/22147/head:
test: silence unused variable warning

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22187 from jdurgin/wip-pg-hard-limit
Sage Weil [Fri, 25 May 2018 22:04:35 +0000 (17:04 -0500)]
Merge pull request #22187 from jdurgin/wip-pg-hard-limit

osd: increase default hard pg limit

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa/standalone/mon/misc: fix features test 21934/head
Sage Weil [Fri, 25 May 2018 22:02:49 +0000 (17:02 -0500)]
qa/standalone/mon/misc: fix features test

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agorgw: add configurable AWS-compat invalid range get behavior 22231/head
Matt Benjamin [Thu, 24 May 2018 20:09:01 +0000 (16:09 -0400)]
rgw: add configurable AWS-compat invalid range get behavior

If rgw_ignore_get_invalid_range is set, treat invalid range
restrictions as a request for the full object.  By default, retain
the RGW behavior to fail with ERANGE.

Fixes: http://tracker.ceph.com/issues/24317
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
7 years agoqa/workunits: osd require-osd-release mimic -> nautilus
Sage Weil [Fri, 25 May 2018 20:19:28 +0000 (15:19 -0500)]
qa/workunits: osd require-osd-release mimic -> nautilus

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22233 from neha-ojha/wip-fix-2580436
Josh Durgin [Fri, 25 May 2018 19:02:30 +0000 (12:02 -0700)]
Merge pull request #22233 from neha-ojha/wip-fix-2580436

qa/workunits/suites/pjd.sh: use correct dir name

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21381 from liewegas/wip-seastore
Sage Weil [Fri, 25 May 2018 18:35:28 +0000 (13:35 -0500)]
Merge pull request #21381 from liewegas/wip-seastore

doc/dev/seastore.rst: initial draft notes

7 years agoMerge PR #22230 into master
Sage Weil [Fri, 25 May 2018 18:27:58 +0000 (13:27 -0500)]
Merge PR #22230 into master

* refs/pull/22230/head:
test/cli-integration/rbd: fixed unit formatting
qa/workunits/rbd: fix unit formatting tests
librbd: clones should not inherit implicit feature bits from parent

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #22250 from falcon78921/wip-doc-falcon78921-cloudstack
John Wilkins [Fri, 25 May 2018 17:16:33 +0000 (10:16 -0700)]
Merge pull request #22250 from falcon78921/wip-doc-falcon78921-cloudstack

doc: updated reference link for creating new disk offerings in cloudstack

7 years agomon/MDSMonitor: do not send redundant MDS health messages to cluster log 22252/head
Sage Weil [Fri, 25 May 2018 16:42:49 +0000 (11:42 -0500)]
mon/MDSMonitor: do not send redundant MDS health messages to cluster log

Fixes: http://tracker.ceph.com/issues/24308
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22178 from aclamk/wip-bug-24225-fix
Kefu Chai [Fri, 25 May 2018 16:39:49 +0000 (00:39 +0800)]
Merge pull request #22178 from aclamk/wip-bug-24225-fix

common/crc/aarch64: Added cpu feature pmull and make aarch64 specific…

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22236 from tchaikov/wip-rocksdb
Kefu Chai [Fri, 25 May 2018 16:38:51 +0000 (00:38 +0800)]
Merge pull request #22236 from tchaikov/wip-rocksdb

rocksdb: sync with upstream

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22185 from ceph/wip-yuri-powercycle
Sage Weil [Fri, 25 May 2018 16:24:48 +0000 (11:24 -0500)]
Merge pull request #22185 from ceph/wip-yuri-powercycle

qa/tests:  added supported distro for powercycle suite

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agodoc: updated reference link for creating new disk offerings in cloudstack 22250/head
James McClune [Fri, 25 May 2018 15:30:33 +0000 (11:30 -0400)]
doc: updated reference link for creating new disk offerings in cloudstack

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
7 years agoRevert "mon: no delay for single message MSG_ALIVE and MSG_PGTEMP" 22243/head
Xiaoxi CHEN [Fri, 25 May 2018 09:15:08 +0000 (02:15 -0700)]
Revert "mon: no delay for single message MSG_ALIVE and MSG_PGTEMP"

This change doesn't looks right and causing twice as much proposal as we targeted to (limited by paxos_propose_interval).

Imaging we have a sequence of pg_temp/up_thru during a large recovery.

now =T
The 1st up_thru/pg_temp will go through fast path and trigger propose at T + paxos_min_wait, last_attempted_minwait_time = T.

now = T+ paxos_min_wait
The [2, K] up_thru will failed by (now - last_attempted_minwait_time > g_conf->paxos_propose_interval)
and go through PaxosService::should_propose, which will schedule the propose at) T+paxos_propose_interval

now= T+ paxos_propose_interval + paxos_min_wait
The K+1 up_thru/pg_temp comes, both (now - last_attempted_minwait_time > g_conf->paxos_propose_interval
and now - paxos->get_last_commit_time() > g_conf->paxos_min_wait satisfied, so we trigger another propose
in now+ paxos_min_wait = T+ paxos_propose_interval +paxos_min_wait.

clearly we made TWO proposal in each paxos_propose_interval.

This reverts commit ca652104fe91ac41c7c1788a2907178c36fbe6ef.

Signed-off-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
7 years agoMerge pull request #22204 from tchaikov/wip-cmake-silence-bjam
Kefu Chai [Fri, 25 May 2018 14:25:22 +0000 (22:25 +0800)]
Merge pull request #22204 from tchaikov/wip-cmake-silence-bjam

cmake: always turn off bjam debugging output

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #22126 from cbodley/wip-qa-rgw-no-ec-cache
Casey Bodley [Fri, 25 May 2018 14:08:12 +0000 (10:08 -0400)]
Merge pull request #22126 from cbodley/wip-qa-rgw-no-ec-cache

qa/rgw: disable testing on ec-cache pools

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22124 from cbodley/wip-rgw-test-zonegroup-checkpoint
Casey Bodley [Fri, 25 May 2018 14:07:30 +0000 (10:07 -0400)]
Merge pull request #22124 from cbodley/wip-rgw-test-zonegroup-checkpoint

test/rgw: fix for bucket checkpoints

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #22246 from tchaikov/wip-mkfs-EINVAL
Sage Weil [Fri, 25 May 2018 13:51:30 +0000 (08:51 -0500)]
Merge pull request #22246 from tchaikov/wip-mkfs-EINVAL

qa: use $TESTDIR for testing mkfs

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa: use $TESTDIR for testing mkfs 22246/head
Kefu Chai [Fri, 25 May 2018 12:06:45 +0000 (20:06 +0800)]
qa: use $TESTDIR for testing mkfs

as tmpfs does not support O_DIRECT, but bluefs use this flag for
accessing the underlying file.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotest/cli/monmaptool/feature-set-unset: fix unknown ids
Sage Weil [Fri, 25 May 2018 13:28:51 +0000 (08:28 -0500)]
test/cli/monmaptool/feature-set-unset: fix unknown ids

Move 16 -> 64 so it is still unknown.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22163 into wip-sage-testing-20180525.131829
Sage Weil [Fri, 25 May 2018 13:18:42 +0000 (08:18 -0500)]
Merge PR #22163 into wip-sage-testing-20180525.131829

* refs/pull/22163/head:
CodingStyle: update my_type_t sample
CodingStyle: allow #pragma once
CodingStyle: a few updates

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
7 years agoMerge pull request #22237 from a2batic/link
Lenz Grimmer [Fri, 25 May 2018 10:00:50 +0000 (12:00 +0200)]
Merge pull request #22237 from a2batic/link

mgr/dashboard: Fixes documentation link- to open in new tab

Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #22182 from tspmelo/wip-unit-test-pipe
Lenz Grimmer [Fri, 25 May 2018 09:37:27 +0000 (11:37 +0200)]
Merge pull request #22182 from tspmelo/wip-unit-test-pipe

mgr/dashboard: Add unit tests for all frontend pipes

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22206 from theanalyst/wip-doc-tag-fix
Abhishek L [Fri, 25 May 2018 08:43:55 +0000 (10:43 +0200)]
Merge pull request #22206 from theanalyst/wip-doc-tag-fix

doc: rgw: fix tagging support status

Reviewed-By: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #22207 from tchaikov/wip-dpp-constexpr
Kefu Chai [Fri, 25 May 2018 06:49:29 +0000 (14:49 +0800)]
Merge pull request #22207 from tchaikov/wip-dpp-constexpr

dout: declare dpp using `decltype(auto)` instead of `auto`

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agomgr/dashboard: Fixes documentation link- to open in new tab 22237/head
a2batic [Fri, 25 May 2018 05:34:38 +0000 (11:04 +0530)]
mgr/dashboard: Fixes documentation link- to open in new tab
Adds 'target' attribute to open link in new tab.
Fixes : https://tracker.ceph.com/issues/24288

Signed-off-by: a2batic <murarkakanika@gmail.com>
7 years agorocksdb: sync with upstream 22236/head
Kefu Chai [Fri, 25 May 2018 05:09:34 +0000 (13:09 +0800)]
rocksdb: sync with upstream

since
https://github.com/facebook/rocksdb/pull/3862 has been merged by
upstream.

Fixes: http://tracker.ceph.com/issues/23653
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #22026 into master
Patrick Donnelly [Fri, 25 May 2018 04:05:01 +0000 (21:05 -0700)]
Merge PR #22026 into master

* refs/pull/22026/head:
mds: send cap export message when exporting non-auth caps to auth mds

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #22232 from batrick/cephfs-release-notes-mimic
Sage Weil [Fri, 25 May 2018 02:06:51 +0000 (21:06 -0500)]
Merge pull request #22232 from batrick/cephfs-release-notes-mimic

doc/releases: update CephFS mimic notes

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa/workunits/suites/pjd.sh: use correct dir name 22233/head
Neha Ojha [Fri, 25 May 2018 00:03:01 +0000 (17:03 -0700)]
qa/workunits/suites/pjd.sh: use correct dir name

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge pull request #22195 from neha-ojha/wip-minor-fixes
David Zafman [Thu, 24 May 2018 23:48:48 +0000 (16:48 -0700)]
Merge pull request #22195 from neha-ojha/wip-minor-fixes

qa/suites/rados: minor fixes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>