]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agodoc: 12.2.4 release notes 20619/head
Abhishek Lekshmanan [Tue, 27 Feb 2018 17:46:41 +0000 (18:46 +0100)]
doc: 12.2.4 release notes

And updating the release table

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #20234 from smithfarm/wip-run-make-check
Nathan Cutler [Tue, 27 Feb 2018 16:33:14 +0000 (17:33 +0100)]
Merge pull request #20234 from smithfarm/wip-run-make-check

build/ops: run-make-check.sh: fix SUSE support

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20436 from smithfarm/wip-22999
Nathan Cutler [Tue, 27 Feb 2018 15:19:36 +0000 (16:19 +0100)]
Merge pull request #20436 from smithfarm/wip-22999

install-deps.sh: set python2 %bcond by environment

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #20611 from Leeshine/wip-rgw-22080-1
Casey Bodley [Tue, 27 Feb 2018 14:23:09 +0000 (09:23 -0500)]
Merge pull request #20611 from Leeshine/wip-rgw-22080-1

rgw: create sync-module instance when radosgw-admin sync run

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20397 from tdb/fix/perms-ocf-rbd
Nathan Cutler [Tue, 27 Feb 2018 13:59:46 +0000 (14:59 +0100)]
Merge pull request #20397 from tdb/fix/perms-ocf-rbd

rbd: resource agent needs to be executable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #20577 from Songweibin/wip-group-rename
Jason Dillaman [Tue, 27 Feb 2018 13:25:33 +0000 (08:25 -0500)]
Merge pull request #20577 from Songweibin/wip-group-rename

rbd: add group rename methods

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoinstall-deps.sh: set python2 %bcond by environment 20436/head
Nathan Cutler [Wed, 14 Feb 2018 11:51:09 +0000 (12:51 +0100)]
install-deps.sh: set python2 %bcond by environment

If there is no /usr/bin/python2 we need to set %bcond_with python2.

Fixes: http://tracker.ceph.com/issues/22999
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #20434 from smithfarm/wip-22998
Nathan Cutler [Tue, 27 Feb 2018 13:09:33 +0000 (14:09 +0100)]
Merge pull request #20434 from smithfarm/wip-22998

build/ops: install-deps.sh: pass --no-recommends to zypper

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #20404 from smithfarm/wip-cmake-with-systemd
Nathan Cutler [Tue, 27 Feb 2018 13:03:30 +0000 (14:03 +0100)]
Merge pull request #20404 from smithfarm/wip-cmake-with-systemd

build/ops: change WITH_SYSTEMD default to ON

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
7 years agobuild/ops: run-make-check.sh: fix SUSE support 20234/head
Nathan Cutler [Thu, 1 Feb 2018 14:53:15 +0000 (15:53 +0100)]
build/ops: run-make-check.sh: fix SUSE support

Get /usr/bin/which from the right RPM.

Fixes: http://tracker.ceph.com/issues/22875
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #20245 from smithfarm/wip-p2p-ripout
Nathan Cutler [Tue, 27 Feb 2018 12:53:17 +0000 (13:53 +0100)]
Merge pull request #20245 from smithfarm/wip-p2p-ripout

tests: cleanup: drop upgrade/jewel-x/point-to-point-x

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20138 from smithfarm/wip-recommend-chrony
Nathan Cutler [Tue, 27 Feb 2018 12:48:52 +0000 (13:48 +0100)]
Merge pull request #20138 from smithfarm/wip-recommend-chrony

build/ops: rpm: recommend chrony instead of ntp-daemon

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoMerge pull request #20551 from shun-s/wip-add-notify-name-print
Jason Dillaman [Tue, 27 Feb 2018 12:47:05 +0000 (07:47 -0500)]
Merge pull request #20551 from shun-s/wip-add-notify-name-print

rbd: output notifyOp request name when watching

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge PR #19471 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:45 +0000 (02:22 -0800)]
Merge PR #19471 into master

* refs/pull/19471/head:
cephfs-journal-tool: support purge queue

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #20412 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:38 +0000 (02:22 -0800)]
Merge PR #20412 into master

* refs/pull/20412/head:
mds/CDir: cleanup in the lookup_exact_snap()
mds/cdir: add CDir missing state

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #20468 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:31 +0000 (02:22 -0800)]
Merge PR #20468 into master

* refs/pull/20468/head:
mds: fix check of underwater dentries

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #20489 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:25 +0000 (02:22 -0800)]
Merge PR #20489 into master

* refs/pull/20489/head:
common: omit short option for id in help for clients

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge PR #20547 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:19 +0000 (02:22 -0800)]
Merge PR #20547 into master

* refs/pull/20547/head:
mds: add uptime to MDS status

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
7 years agoMerge PR #20553 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:08 +0000 (02:22 -0800)]
Merge PR #20553 into master

* refs/pull/20553/head:
mds: always handle SESSION_REQUEST_RENEWCAPS messages
mds: don't cleanup request that has pending remote authpin/wrlock/xlock

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agorgw: create sync-module instance when radosgw-admin sync run 20611/head
lvshanchun [Tue, 27 Feb 2018 08:14:08 +0000 (16:14 +0800)]
rgw: create sync-module instance when radosgw-admin sync run

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agoMerge pull request #20532 from Songweibin/wip-du-user
Jason Dillaman [Tue, 27 Feb 2018 04:21:21 +0000 (23:21 -0500)]
Merge pull request #20532 from Songweibin/wip-du-user

rbd: filter out UserSnapshotNamespace in do_disk_usage

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20529 from Songweibin/wip-fix-nbd-map
Jason Dillaman [Tue, 27 Feb 2018 04:20:59 +0000 (23:20 -0500)]
Merge pull request #20529 from Songweibin/wip-fix-nbd-map

 rbd: set a default value for options in `nbd map`

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20507 from trociny/wip-remote-rename
Jason Dillaman [Tue, 27 Feb 2018 04:20:24 +0000 (23:20 -0500)]
Merge pull request #20507 from trociny/wip-remote-rename

 librbd: make rename request complete with filtered code

Reviewed-by: Jason Dillaman <dillaman@redhat.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 agorbd: add 'group rename' action to CLI and Python API 20577/head
songweibin [Sat, 24 Feb 2018 02:44:30 +0000 (10:44 +0800)]
rbd: add 'group rename' action to CLI and Python API

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agolibrbd: add group rename methods
songweibin [Sat, 24 Feb 2018 02:41:52 +0000 (10:41 +0800)]
librbd: add group rename methods

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agocls_rbd: add group rename operations to cls_rbd
songweibin [Sat, 24 Feb 2018 02:39:42 +0000 (10:39 +0800)]
cls_rbd: add group rename operations to cls_rbd

Signed-off-by: songweibin <song.weibin@zte.com.cn>
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 agorbd: output notifyOp request name when watching 20551/head
shun-s [Fri, 23 Feb 2018 01:38:44 +0000 (09:38 +0800)]
rbd: output notifyOp request name when watching

  output notifyOp request name when watching,
  which is more easier to dentify what happend.

Signed-off-by: shun-s <song.shun3@zte.com.cn>
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 agomds: always handle SESSION_REQUEST_RENEWCAPS messages 20553/head
Yan, Zheng [Fri, 23 Feb 2018 04:17:04 +0000 (12:17 +0800)]
mds: always handle SESSION_REQUEST_RENEWCAPS messages

Fixes: http://tracker.ceph.com/issues/23059
Signed-off-by: "Yan, Zheng" <zyan@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 agomds: don't cleanup request that has pending remote authpin/wrlock/xlock
Yan, Zheng [Fri, 23 Feb 2018 03:33:41 +0000 (11:33 +0800)]
mds: don't cleanup request that has pending remote authpin/wrlock/xlock

Fixes: http://tracker.ceph.com/issues/23059
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
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 agomds: add uptime to MDS status 20547/head
Patrick Donnelly [Thu, 22 Feb 2018 22:11:12 +0000 (14:11 -0800)]
mds: add uptime to MDS status

Fixes: https://tracker.ceph.com/issues/23094
Signed-off-by: Patrick Donnelly <pdonnell@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 agorbd: filter out UserSnapshotNamespace in do_disk_usage 20532/head
songweibin [Thu, 22 Feb 2018 07:04:22 +0000 (15:04 +0800)]
rbd: filter out UserSnapshotNamespace in do_disk_usage

Signed-off-by: songweibin <song.weibin@zte.com.cn>
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 agorbd: fix get image or snap spec in `nbd map` 20529/head
songweibin [Thu, 22 Feb 2018 06:20:08 +0000 (14:20 +0800)]
rbd: fix get image or snap spec in `nbd map`

root@s222:/ceph-dev/build# rbd nbd map img1
rbd: 'nbd map' command is deprecated, use 'device map -t nbd' instead
rbd: image name was not specified
root@s222:/ceph-dev/build# rbd nbd map -p rbd --image img1
rbd: 'nbd map' command is deprecated, use 'device map -t nbd' instead
rbd: image name was not specified

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agorbd: set a default value for options in `nbd map`
songweibin [Thu, 22 Feb 2018 05:48:16 +0000 (13:48 +0800)]
rbd: set a default value for options in `nbd map`

Since `vm` does not contain an `options` item and
`vm.at("options").value()` will throw an exception.

root@s222:/ceph-dev/build# rbd nbd map img1
rbd: 'nbd map' command is deprecated, use 'device map -t nbd' instead
terminate called after throwing an instance of 'std::out_of_range'
  what():  map::at
*** Caught signal (Aborted) **
 in thread 7f0e5e046400 thread_name:rbd
 ceph version 12.0.3-11022-ga09b319 (a09b319a5e984185bd56064e52f2e8ec3da49b73) mimic (dev)
 1: (()+0x1afb00) [0x55a07d677b00]
 2: (()+0x10340) [0x7f0e545a0340]
 3: (gsignal()+0x39) [0x7f0e531b0cc9]
 4: (abort()+0x148) [0x7f0e531b40d8]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x125) [0x7f0e53ac8415]
 6: (()+0x6a206) [0x7f0e53ac6206]
 7: (()+0x6a251) [0x7f0e53ac6251]
 8: (()+0x6a493) [0x7f0e53ac6493]
 9: (std::__throw_out_of_range(char const*)+0x3f) [0x7f0e53aeac3f]
 10: (rbd::action::nbd::execute_map_deprecated(boost::program_options::variables_map const&,
     std::vector<std::string, std::allocator<std::string> > const&)+0xa35) [0x55a07d5f6a15]
 11: (rbd::Shell::execute(int, char const**)+0xb5b) [0x55a07d581adb]
 12: (main()+0x15) [0x55a07d546615]
 13: (__libc_start_main()+0xf5) [0x7f0e5319bec5]
 14: (()+0xa141f) [0x55a07d56941f]
2018-02-22 13:43:59.212 7f0e5e046400 -1 *** Caught signal (Aborted) **
 in thread 7f0e5e046400 thread_name:rbd

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 agocommon: omit short option for id in help for clients 20489/head
Patrick Donnelly [Mon, 19 Feb 2018 16:28:18 +0000 (08:28 -0800)]
common: omit short option for id in help for clients

Commit 8e3abf3ce337 removed the short option for clients to conflicts.

Fixes: http://tracker.ceph.com/issues/23041
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>