]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agomsg/async:change EventCenter::process_events(int timeout_microseconds) to EventCenter... 20607/head
shangfufei [Tue, 27 Feb 2018 03:23:37 +0000 (11:23 +0800)]
msg/async:change EventCenter::process_events(int timeout_microseconds) to EventCenter::process_events(unsigned timeout_microseconds)

Signed-off-by: shangfufei <shangfufei@inspur.com>
7 years agoMerge pull request #20600 from liewegas/wip-msgr-level
Haomai Wang [Tue, 27 Feb 2018 02:05:29 +0000 (10:05 +0800)]
Merge pull request #20600 from liewegas/wip-msgr-level

msg/async/AsyncConnection: less noisy debug

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #20572 from batrick/erasure-code-cephfs-doc
Gregory Farnum [Mon, 26 Feb 2018 22:59:59 +0000 (14:59 -0800)]
Merge pull request #20572 from batrick/erasure-code-cephfs-doc

doc: cleanup erasure coded pool doc on cephfs use

7 years agomsg/async/AsyncConnection: less noisy debug 20600/head
Sage Weil [Mon, 26 Feb 2018 21:17:54 +0000 (15:17 -0600)]
msg/async/AsyncConnection: less noisy debug

This spams logs of healthy OSDs.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20571 from dzafman/wip-21833-2
David Zafman [Mon, 26 Feb 2018 19:53:15 +0000 (11:53 -0800)]
Merge pull request #20571 from dzafman/wip-21833-2

Fix asserts caused by DNE pgs left behind after lots of OSD restarts

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20594 from ceph/wip-rm23004
Alfredo Deza [Mon, 26 Feb 2018 19:24:38 +0000 (14:24 -0500)]
Merge pull request #20594 from ceph/wip-rm23004

ceph-volume: log the current running command for easier debugging

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20560 from dillaman/wip-22960-1
Mykola Golub [Mon, 26 Feb 2018 18:51:36 +0000 (20:51 +0200)]
Merge pull request #20560 from dillaman/wip-22960-1

librbd: minor cleanup of the IO pathway

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd: moved write same buffer assembler to common location 20560/head
Jason Dillaman [Fri, 16 Feb 2018 03:23:03 +0000 (22:23 -0500)]
librbd: moved write same buffer assembler to common location

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: decoupled object read requests from result assembler
Jason Dillaman [Thu, 15 Feb 2018 21:37:48 +0000 (16:37 -0500)]
librbd: decoupled object read requests from result assembler

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: use move-semantics for object IO data payloads
Jason Dillaman [Thu, 15 Feb 2018 17:19:28 +0000 (12:19 -0500)]
librbd: use move-semantics for object IO data payloads

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: track the originating source of a flush request
Jason Dillaman [Mon, 19 Feb 2018 21:09:51 +0000 (16:09 -0500)]
librbd: track the originating source of a flush request

This will be used in a later cleanup to remove the IO flush handling
from ImageCtx.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: separated queued image IO requests from state machine
Jason Dillaman [Thu, 15 Feb 2018 15:44:38 +0000 (10:44 -0500)]
librbd: separated queued image IO requests from state machine

This breaks the tight coupling between the IO work queue and
the actual dispatch of IO requests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoceph-volume: log the current running command for easier debugging 20594/head
Andrew Schoen [Mon, 26 Feb 2018 16:04:07 +0000 (10:04 -0600)]
ceph-volume: log the current running command for easier debugging

Fixes: http://tracker.ceph.com/issues/23004
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoosd: Remove partially created pg known as DNE 20571/head
David Zafman [Fri, 23 Feb 2018 20:06:05 +0000 (12:06 -0800)]
osd: Remove partially created pg known as DNE

Fixes: http://tracker.ceph.com/issues/21833
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #20567 from liewegas/wip-kill-pg-preferred
Sage Weil [Mon, 26 Feb 2018 15:13:40 +0000 (09:13 -0600)]
Merge pull request #20567 from liewegas/wip-kill-pg-preferred

osd/osd_types: kill preferred field in pg_t

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoosd/osd_types: pg_t: remove preferred 20567/head
Sage Weil [Fri, 23 Feb 2018 15:03:05 +0000 (09:03 -0600)]
osd/osd_types: pg_t: remove preferred

We killed this many many years ago; remove it!

Keep the hash<pg_t> value the same just in case this leaked into some
on-disk or on-wire structure.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20592 from ceph/ceph-volume-ssh
Alfredo Deza [Mon, 26 Feb 2018 14:55:55 +0000 (09:55 -0500)]
Merge pull request #20592 from ceph/ceph-volume-ssh

ceph-volume: add ANSIBLE_SSH_RETRIES=5 to functional tests

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20591 from idryomov/wip-krbd-latest-osdmap-on-map-test
Ilya Dryomov [Mon, 26 Feb 2018 14:07:01 +0000 (15:07 +0100)]
Merge pull request #20591 from idryomov/wip-krbd-latest-osdmap-on-map-test

qa: krbd latest-osdmap-on-map test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoceph-volume: add ANSIBLE_SSH_RETRIES=5 to functional tests 20592/head
Andrew Schoen [Mon, 26 Feb 2018 13:54:56 +0000 (07:54 -0600)]
ceph-volume: add ANSIBLE_SSH_RETRIES=5 to functional tests

Occasionally we get tests that fail because a test node becomes
'unreachable'. This should avoid those ssh connection issues we see sometimes
by increasing the amount of times ansible will try to reconnect to a node
after an ssh failure.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20152 from Rubab-Syed/add_units_to_performance_counters
John Spray [Mon, 26 Feb 2018 11:24:43 +0000 (11:24 +0000)]
Merge pull request #20152 from Rubab-Syed/add_units_to_performance_counters

mgr: add units to performance counters

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20576 from wjwithagen/wjw-fix-store_test
Kefu Chai [Mon, 26 Feb 2018 09:39:18 +0000 (17:39 +0800)]
Merge pull request #20576 from wjwithagen/wjw-fix-store_test

test: put new BlueStore tests un ifdef WITH_BLUESTORE

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20552 from xiexingguo/wip-scrub-preempt-fixes
Kefu Chai [Mon, 26 Feb 2018 01:55:24 +0000 (09:55 +0800)]
Merge pull request #20552 from xiexingguo/wip-scrub-preempt-fixes

osd/PG: decay scrub_chunk_max too if scrub is preempted

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20555 from jdurgin/wip-min-size-default
Kefu Chai [Mon, 26 Feb 2018 01:54:50 +0000 (09:54 +0800)]
Merge pull request #20555 from jdurgin/wip-min-size-default

mon/OSDMonitor: fix min_size default for replicated pools

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20549 from Songweibin/wip-cleanup
Kefu Chai [Mon, 26 Feb 2018 01:52:34 +0000 (09:52 +0800)]
Merge pull request #20549 from Songweibin/wip-cleanup

common: fix typo in options.cc

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoqa: krbd latest-osdmap-on-map test 20591/head
Ilya Dryomov [Fri, 23 Feb 2018 10:03:33 +0000 (11:03 +0100)]
qa: krbd latest-osdmap-on-map test

Make sure we get the latest osdmap when using an existing client.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoMerge PR #20562 into master
Patrick Donnelly [Sat, 24 Feb 2018 18:25:47 +0000 (10:25 -0800)]
Merge PR #20562 into master

* refs/pull/20562/head:
doc:Update ceph-fuse doc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #20574 from tchaikov/wip-no-more-hash-pthread-t
Kefu Chai [Sat, 24 Feb 2018 10:03:14 +0000 (18:03 +0800)]
Merge pull request #20574 from tchaikov/wip-no-more-hash-pthread-t

common/lockdep: drop hash<pthread_t> specialization

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agotest: put net BlueStore tests un ifdef WITH_BLUESTORE 20576/head
Willem Jan Withagen [Sat, 24 Feb 2018 08:31:45 +0000 (09:31 +0100)]
test: put net BlueStore tests un ifdef WITH_BLUESTORE

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #20497 from tchaikov/wip-ceph-disk-cmd-failure
Kefu Chai [Sat, 24 Feb 2018 04:20:53 +0000 (12:20 +0800)]
Merge pull request #20497 from tchaikov/wip-ceph-disk-cmd-failure

ceph-disk: include output of failed command in exception

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20534 from tchaikov/wip-22413
Kefu Chai [Sat, 24 Feb 2018 04:18:51 +0000 (12:18 +0800)]
Merge pull request #20534 from tchaikov/wip-22413

librados: make OPERATION_FULL_FORCE the default for rados_remove()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20456 from b-ranto/wip-mgr-prom
Kefu Chai [Sat, 24 Feb 2018 04:17:48 +0000 (12:17 +0800)]
Merge pull request #20456 from b-ranto/wip-mgr-prom

mgr/prometheus: Skip bogus entries

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #19843 from ifed01/wip-ifed-bluestore-repair
Kefu Chai [Sat, 24 Feb 2018 04:15:40 +0000 (12:15 +0800)]
Merge pull request #19843 from ifed01/wip-ifed-bluestore-repair

os/bluestore: implement BlueStore repair

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge pull request #14727 from voidbag/wip-voidbag-bdev-discard
Kefu Chai [Sat, 24 Feb 2018 04:13:15 +0000 (12:13 +0800)]
Merge pull request #14727 from voidbag/wip-voidbag-bdev-discard

os/bluestore: add discard method for ssd's performance

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-By: Sage Weil <sage@redhat.com>
7 years agocommon/lockdep: drop hash<pthread_t> specialization 20574/head
Kefu Chai [Sat, 24 Feb 2018 03:31:47 +0000 (11:31 +0800)]
common/lockdep: drop hash<pthread_t> specialization

quote from http://en.cppreference.com/w/cpp/utility/hash:

> Each standard library header that declares the template std::hash
> provides enabled specializations of std::hash for std::nullptr
> and all cv-unqualified arithmetic types (including any extended
> integer types), all enumeration types, and all pointer types.

since we've switched to C++17. this full specialization is not necessary
anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: cleanup erasure coded pool doc on cephfs use 20572/head
Patrick Donnelly [Fri, 23 Feb 2018 22:12:17 +0000 (14:12 -0800)]
doc: cleanup erasure coded pool doc on cephfs use

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #20488 from theanalyst/rgw/frontend-init
Casey Bodley [Fri, 23 Feb 2018 21:35:53 +0000 (16:35 -0500)]
Merge pull request #20488 from theanalyst/rgw/frontend-init

rgw:  make init env methods return an error

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoosd/osd_types: pg_t: remove set_preferred()
Sage Weil [Fri, 23 Feb 2018 14:58:48 +0000 (08:58 -0600)]
osd/osd_types: pg_t: remove set_preferred()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc:Update ceph-fuse doc 20562/head
Jos Collin [Fri, 23 Feb 2018 13:46:25 +0000 (19:16 +0530)]
doc:Update ceph-fuse doc

Fixes: http://tracker.ceph.com/issues/23084
Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #20504 from dzafman/wip-pg-states-doc
Sage Weil [Fri, 23 Feb 2018 12:25:18 +0000 (06:25 -0600)]
Merge pull request #20504 from dzafman/wip-pg-states-doc

doc: Add missing pg states from doc

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: kill extra scrubber state transition 20552/head
xie xingguo [Fri, 23 Feb 2018 05:49:43 +0000 (13:49 +0800)]
osd/PG: kill extra scrubber state transition

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agomon/OSDMonitor: fix min_size default for replicated pools 20555/head
Josh Durgin [Fri, 23 Feb 2018 05:33:00 +0000 (00:33 -0500)]
mon/OSDMonitor: fix min_size default for replicated pools

This was accidentally changed to 0 by using the config value
directly in 582e567c93f7656a1f3e16f473c583e6cb3d5926

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
7 years agoosd/PG: decay scrub_chunk_max too if scrub is preempted
xie xingguo [Fri, 23 Feb 2018 03:39:13 +0000 (11:39 +0800)]
osd/PG: decay scrub_chunk_max too if scrub is preempted

In normal case we'll at least scrub as many objects as
osd_scrub_chunk_max specified at a time, so the current
backoff mechanism should have very limit effect.
Decay both osd_scrub_chunk_min and osd_scrub_chunk_max
should instead be a better resolution.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #20543 from ceph/wip-rm23080
Alfredo Deza [Fri, 23 Feb 2018 00:06:33 +0000 (19:06 -0500)]
Merge pull request #20543 from ceph/wip-rm23080

ceph-volume correctly normalize mount flags

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests.util update tests for mount flags 20543/head
Alfredo Deza [Thu, 22 Feb 2018 18:47:53 +0000 (13:47 -0500)]
ceph-volume tests.util update tests for mount flags

Include parametrized flags for ensuring a combination of values will
still be normalized regardless on how they are on ceph.conf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util.prepare normalize mount flags for CLI
Alfredo Deza [Thu, 22 Feb 2018 18:47:11 +0000 (13:47 -0500)]
ceph-volume util.prepare normalize mount flags for CLI

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20510 from ceph/wip-cdp-docs-update
Alfredo Deza [Thu, 22 Feb 2018 20:30:22 +0000 (15:30 -0500)]
Merge pull request #20510 from ceph/wip-cdp-docs-update

docs update ceph-deploy reference to reflect ceph-volume API

Reviewed-by: Vasu Kulkarni <vakulkar@redhat.com>
7 years agoMerge pull request #20537 from ceph/wip-rm22878
Alfredo Deza [Thu, 22 Feb 2018 20:05:36 +0000 (15:05 -0500)]
Merge pull request #20537 from ceph/wip-rm22878

ceph-volume: adds support to zap encrypted devices

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20425 from yehudasa/wip-22982
Casey Bodley [Thu, 22 Feb 2018 19:07:55 +0000 (14:07 -0500)]
Merge pull request #20425 from yehudasa/wip-22982

rgw: parse old rgw_obj with namespace correctly

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #13644 from yehudasa/wip-rgw-ragweed
Casey Bodley [Thu, 22 Feb 2018 17:02:30 +0000 (12:02 -0500)]
Merge pull request #13644 from yehudasa/wip-rgw-ragweed

rgw: changes to support ragweed

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoceph-volume: use lv.encrypted property with lvm zap 20537/head
Andrew Schoen [Thu, 22 Feb 2018 17:01:10 +0000 (11:01 -0600)]
ceph-volume: use lv.encrypted property with lvm zap

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume: adds an encrypted property to api.lvm.Volume
Andrew Schoen [Thu, 22 Feb 2018 17:00:15 +0000 (11:00 -0600)]
ceph-volume: adds an encrypted property to api.lvm.Volume

This property will return a boolean indicating if the lv
is encrypted or not.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume: add zapping to lvm dmcrypt tests
Andrew Schoen [Wed, 21 Feb 2018 22:03:03 +0000 (16:03 -0600)]
ceph-volume: add zapping to lvm dmcrypt tests

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume: test zapping for both lvm create and lvm dmcrypt
Andrew Schoen [Wed, 21 Feb 2018 20:44:09 +0000 (14:44 -0600)]
ceph-volume: test zapping for both lvm create and lvm dmcrypt

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume: adds support to zap encrypted devices, lvs, and partitions
Andrew Schoen [Wed, 21 Feb 2018 20:28:06 +0000 (14:28 -0600)]
ceph-volume: adds support to zap encrypted devices, lvs, and partitions

Fixes: http://tracker.ceph.com/issues/22878
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20533 from wido/issue-23083
Sage Weil [Thu, 22 Feb 2018 15:25:21 +0000 (09:25 -0600)]
Merge pull request #20533 from wido/issue-23083

systemd: Wait 10 seconds before restarting ceph-mgr

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agodoc/rados/troubleshooting update ceph-deploy references with new ceph-voume API 20510/head
Alfredo Deza [Wed, 21 Feb 2018 15:15:57 +0000 (10:15 -0500)]
doc/rados/troubleshooting update ceph-deploy references with new ceph-voume API

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/deployment update ceph-deploy references with new ceph-volume API
Alfredo Deza [Wed, 21 Feb 2018 15:15:24 +0000 (10:15 -0500)]
doc/rados/deployment update ceph-deploy references with new ceph-volume API

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/man update ceph-deploy for the new ceph-volume API
Alfredo Deza [Wed, 21 Feb 2018 15:14:06 +0000 (10:14 -0500)]
doc/man update ceph-deploy for the new ceph-volume API

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agolibrados: make OPERATION_FULL_FORCE the default for rados_remove() 20534/head
Kefu Chai [Thu, 22 Feb 2018 11:07:34 +0000 (19:07 +0800)]
librados: make OPERATION_FULL_FORCE the default for rados_remove()

Fixes: http://tracker.ceph.com/issues/22413
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agosystemd: Wait 10 seconds before restarting ceph-mgr 20533/head
Wido den Hollander [Thu, 22 Feb 2018 10:53:41 +0000 (11:53 +0100)]
systemd: Wait 10 seconds before restarting ceph-mgr

We do this for the MON and OSD as well, wait for a few
seconds before we try to attempt a restart.

On boot in IPv6 networks it might take a few seconds longer
before a IP-address is usable and this does not allow the mgr
to start right away.

Fixes: http://tracker.ceph.com/issues/23083
Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agoMerge pull request #20400 from tchaikov/wip-22354
Kefu Chai [Thu, 22 Feb 2018 09:56:17 +0000 (17:56 +0800)]
Merge pull request #20400 from tchaikov/wip-22354

ceph-disk: erase 110MB for nuking existing bluestore

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Wido den Hollander <wido@42on.com>
7 years agoMerge pull request #20514 from ifed01/wip-ifed-fio-build-fix
Igor Fedotov [Thu, 22 Feb 2018 09:21:58 +0000 (12:21 +0300)]
Merge pull request #20514 from ifed01/wip-ifed-fio-build-fix

test/fio: fix fio objectstore plugin building broken by

7 years agocommon: fix typo in options.cc 20549/head
songweibin [Thu, 22 Feb 2018 06:47:14 +0000 (14:47 +0800)]
common: fix typo in options.cc

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoceph-disk: erase 110MB for nuking existing bluestore 20400/head
Kefu Chai [Mon, 12 Feb 2018 10:02:30 +0000 (18:02 +0800)]
ceph-disk: erase 110MB for nuking existing bluestore

10M is not enough for erasing the data partition *and* db partition,
let's make it 110M.

Fixes: http://tracker.ceph.com/issues/22354
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20513 from ceph/wip-rm23003
Andrew Schoen [Wed, 21 Feb 2018 21:28:04 +0000 (22:28 +0100)]
Merge pull request #20513 from ceph/wip-rm23003

ceph-volume warn on mix of filestore and bluestore flags

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20500 from theanalyst/doc/releases/12.2.3
Abhishek L [Wed, 21 Feb 2018 21:01:19 +0000 (22:01 +0100)]
Merge pull request #20500 from theanalyst/doc/releases/12.2.3

doc: release notes for 12.2.3

Reviewed-By: Sage Weil <sage@redhat.com>
7 years agotest/fio: fix fio objectstore plugin building broken by 20514/head
Igor Fedotov [Wed, 21 Feb 2018 20:47:50 +0000 (23:47 +0300)]
test/fio: fix fio objectstore plugin building broken by
ObjectStore::queue_transaction interface changes.

Signed-off-by: Igor Fedotov "ifedotov@suse.com"
7 years agodoc quick-ceph-deploy update for newer ceph-volume API
Alfredo Deza [Wed, 21 Feb 2018 13:39:10 +0000 (08:39 -0500)]
doc quick-ceph-deploy update for newer ceph-volume API

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc: release notes for 12.2.3 20500/head
Abhishek Lekshmanan [Tue, 20 Feb 2018 18:04:25 +0000 (19:04 +0100)]
doc: release notes for 12.2.3

Also dropping the relevant changes from PendingReleaseNotes

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #20503 from theanalyst/doc/changelog/v12.2.3
Sage Weil [Wed, 21 Feb 2018 18:33:53 +0000 (12:33 -0600)]
Merge pull request #20503 from theanalyst/doc/changelog/v12.2.3

doc: changelog for v12.2.3

7 years agoceph-volume tests verify exclude_group_options works with groups of flags 20513/head
Alfredo Deza [Tue, 20 Feb 2018 19:38:11 +0000 (14:38 -0500)]
ceph-volume tests verify exclude_group_options works with groups of flags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests add exclusion checks in prepare
Alfredo Deza [Mon, 19 Feb 2018 21:31:29 +0000 (16:31 -0500)]
ceph-volume tests add exclusion checks in prepare

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests add exclusion checks in create
Alfredo Deza [Mon, 19 Feb 2018 21:31:04 +0000 (16:31 -0500)]
ceph-volume tests add exclusion checks in create

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util.arg_validators create an arg group exclusion check
Alfredo Deza [Mon, 19 Feb 2018 21:28:52 +0000 (16:28 -0500)]
ceph-volume util.arg_validators create an arg group exclusion check

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.create use the new group option exclution
Alfredo Deza [Mon, 19 Feb 2018 21:26:36 +0000 (16:26 -0500)]
ceph-volume lvm.create use the new group option exclution

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare use the new group option exclution
Alfredo Deza [Mon, 19 Feb 2018 21:26:21 +0000 (16:26 -0500)]
ceph-volume lvm.prepare use the new group option exclution

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.common remove --journal-size as it is not used/supported
Alfredo Deza [Mon, 19 Feb 2018 20:13:04 +0000 (15:13 -0500)]
ceph-volume lvm.common remove --journal-size as it is not used/supported

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.common define arg groups for objectstores
Alfredo Deza [Mon, 19 Feb 2018 20:10:47 +0000 (15:10 -0500)]
ceph-volume lvm.common define arg groups for objectstores

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge PR #19342 into master
Sage Weil [Wed, 21 Feb 2018 16:23:48 +0000 (10:23 -0600)]
Merge PR #19342 into master

* refs/pull/19342/head:
osd: add 'ceph [tell|daemon] osd.id smart'

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #20465 into master
Sage Weil [Wed, 21 Feb 2018 16:23:43 +0000 (10:23 -0600)]
Merge PR #20465 into master

* refs/pull/20465/head:
os/bluestore: avoid frequent allocator dump on bluefs rebalance failure

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #20467 into master
Sage Weil [Wed, 21 Feb 2018 16:23:38 +0000 (10:23 -0600)]
Merge PR #20467 into master

* refs/pull/20467/head:
mon: mark manager beacons as no_reply

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
7 years agoMerge PR #20484 into master
Sage Weil [Wed, 21 Feb 2018 16:23:33 +0000 (10:23 -0600)]
Merge PR #20484 into master

* refs/pull/20484/head:
osd/PrimaryLogPG: cancel all objecter ops atomically
osdc/Objecter: allow multiple ops to be canceled atomically

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge PR #20487 into master
Sage Weil [Wed, 21 Feb 2018 16:23:29 +0000 (10:23 -0600)]
Merge PR #20487 into master

* refs/pull/20487/head:
os/bluestore: do not account DB volume space in total one reported by statfs method
os/bluestore: prevent statfs available from going negative

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #20374 from liewegas/wip-18351
Gregory Farnum [Wed, 21 Feb 2018 15:48:38 +0000 (07:48 -0800)]
Merge pull request #20374 from liewegas/wip-18351

msg/DispatchQueue: clear queue after wait()

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoos/bluestore: add an ability to reproduce issue #21040 and verify if 19843/head
Igor Fedotov [Mon, 8 Jan 2018 15:06:01 +0000 (18:06 +0300)]
os/bluestore: add an ability to reproduce issue #21040 and verify if
fsck repair fixes it.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #20475 from tchaikov/wip-std-string-view
Kefu Chai [Wed, 21 Feb 2018 12:57:22 +0000 (20:57 +0800)]
Merge pull request #20475 from tchaikov/wip-std-string-view

common/str_list: s/boost::string_view/std::string_view

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoos/bluestore: implement BlueStore repair
Igor Fedotov [Thu, 21 Dec 2017 13:46:01 +0000 (16:46 +0300)]
os/bluestore: implement BlueStore repair

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoos/bluestore: simplify SharedBlob::put_ref interface
Igor Fedotov [Wed, 27 Dec 2017 20:05:45 +0000 (23:05 +0300)]
os/bluestore: simplify SharedBlob::put_ref interface

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #20443 from rzarzynski/wip-common-inlineable-ceph_clock_now
Kefu Chai [Wed, 21 Feb 2018 02:14:44 +0000 (10:14 +0800)]
Merge pull request #20443 from rzarzynski/wip-common-inlineable-ceph_clock_now

common: make ceph_clock_now() inlineable.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20439 from jcsp/wip-percent_used
Kefu Chai [Wed, 21 Feb 2018 02:13:48 +0000 (10:13 +0800)]
Merge pull request #20439 from jcsp/wip-percent_used

mon: dump percent_used PGMap field as float

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: Add missing pg states from doc 20504/head
David Zafman [Tue, 20 Feb 2018 22:44:56 +0000 (14:44 -0800)]
doc: Add missing pg states from doc

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agodoc: changelog for v12.2.3 20503/head
Abhishek Lekshmanan [Tue, 20 Feb 2018 22:07:47 +0000 (23:07 +0100)]
doc: changelog for v12.2.3

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #20177 from liewegas/wip-kill-onreadable
Sage Weil [Tue, 20 Feb 2018 20:59:35 +0000 (14:59 -0600)]
Merge pull request #20177 from liewegas/wip-kill-onreadable

os,osd: initial work to drop onreadable/onapplied callbacks

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20499 from idryomov/wip-krbd-discard-tests
Jason Dillaman [Tue, 20 Feb 2018 19:02:07 +0000 (14:02 -0500)]
Merge pull request #20499 from idryomov/wip-krbd-discard-tests

qa: additional krbd discard test cases

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20490 from dillaman/wip-rbd-journal-workunit
Mykola Golub [Tue, 20 Feb 2018 16:45:11 +0000 (18:45 +0200)]
Merge pull request #20490 from dillaman/wip-rbd-journal-workunit

qa/workunits/rbd: remove sanity check in journal.sh test

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #20093 from supriti/wip_rgw_ganesha_df
Matt Benjamin [Tue, 20 Feb 2018 16:43:57 +0000 (11:43 -0500)]
Merge pull request #20093 from supriti/wip_rgw_ganesha_df

RGW-NFS: Use rados cluster_stat to report filesystem usage

7 years agoMerge pull request #20395 from Songweibin/wip-misc-cleanup
Jason Dillaman [Tue, 20 Feb 2018 15:32:17 +0000 (10:32 -0500)]
Merge pull request #20395 from Songweibin/wip-misc-cleanup

librbd: validate if dst group snap name is the same with src

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20420 from trociny/wip-unwatch-race
Jason Dillaman [Tue, 20 Feb 2018 15:31:54 +0000 (10:31 -0500)]
Merge pull request #20420 from trociny/wip-unwatch-race

librbd: potential race in RewatchRequest when resetting watch_handle

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20478 from trociny/wip-api-mirror
Jason Dillaman [Tue, 20 Feb 2018 15:31:14 +0000 (10:31 -0500)]
Merge pull request #20478 from trociny/wip-api-mirror

librbd: fix structure size check in rbd_mirror_image_get_info/status

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agorgw: make init env methods return an error 20488/head
Abhishek Lekshmanan [Mon, 12 Feb 2018 17:05:03 +0000 (18:05 +0100)]
rgw:  make init env methods return an error

Since web frontends may signal an error when requests are malformed or so, let
us double check this and raise errors early. The current user of this is
civetweb frontend; which can potentially return null from `parse_http_headers`
when a HTTP header without a ":" is supplied at which point headers.value is
null which can lead to undefined behaviour later in RGW.

Fixes: http://tracker.ceph.com/issues/23039
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>