]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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 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>
7 years agoobjectstore/bluestore.yaml: enable bdev discard 14727/head
Taeksang Kim [Tue, 20 Feb 2018 12:38:52 +0000 (21:38 +0900)]
objectstore/bluestore.yaml: enable bdev discard

set bdev_enable_discard and bdev_async_discard true.

Signed-off-by: Taeksang Kim <voidbag@gmail.com>
7 years agoos/bluestore/KernelDevice: async discard has been implemented.
Taeksang Kim [Wed, 31 May 2017 10:52:20 +0000 (19:52 +0900)]
os/bluestore/KernelDevice: async discard has been implemented.

Signed-off-by: Taeksang Kim <voidbag@gmail.com>
7 years agoos/bluestore: add discard in BlueFS and BlueStore
Taeksang Kim [Sat, 22 Apr 2017 06:32:20 +0000 (15:32 +0900)]
os/bluestore: add discard in BlueFS and BlueStore

discard is added to BlueFS.cc and BlueStore.cc

Signed-off-by: Taeksang Kim <voidbag@gmail.com>
7 years agoos/bluestore/KernelDevice: add discard command
Taeksang Kim [Sat, 22 Apr 2017 06:14:07 +0000 (15:14 +0900)]
os/bluestore/KernelDevice: add discard command

Discard method is added for ssd's performance.

Signed-off-by: Taeksang Kim <voidbag@gmail.com>
7 years agoqa: krbd_blkroset.t: attempt discards in addition to writes 20499/head
Ilya Dryomov [Tue, 20 Feb 2018 14:50:57 +0000 (15:50 +0100)]
qa: krbd_blkroset.t: attempt discards in addition to writes

The block layer used to not enforce ioctl(BLKROSET) and set_disk_ro().
This has been fixed in 4.16-rc1.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoceph-disk: include output of failed command in exception 20497/head
Kefu Chai [Tue, 20 Feb 2018 12:49:42 +0000 (20:49 +0800)]
ceph-disk: include output of failed command in exception

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20491 from dillaman/wip-23043
Mykola Golub [Tue, 20 Feb 2018 12:39:17 +0000 (14:39 +0200)]
Merge pull request #20491 from dillaman/wip-23043

qa/workunits/rbd: fix issues within permissions test

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #20481 from dillaman/wip-rbd-remove-error
Mykola Golub [Tue, 20 Feb 2018 12:35:23 +0000 (14:35 +0200)]
Merge pull request #20481 from dillaman/wip-rbd-remove-error

rbd: don't overwrite the error code from the remove action

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #20486 from dillaman/wip-11502
Mykola Golub [Tue, 20 Feb 2018 12:34:45 +0000 (14:34 +0200)]
Merge pull request #20486 from dillaman/wip-11502

test/librbd: utilize unique pool for cache tier testing

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #20450 from dzafman/wip-22996
David Zafman [Tue, 20 Feb 2018 06:43:02 +0000 (22:43 -0800)]
Merge pull request #20450 from dzafman/wip-22996

Snapset inconsistency is detected with its own error

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20492 from tchaikov/wip-boost-cmake-3.0
Alfredo Deza [Mon, 19 Feb 2018 23:09:12 +0000 (18:09 -0500)]
Merge pull request #20492 from tchaikov/wip-boost-cmake-3.0

cmake: disable DOWNLOAD_NO_PROGRESS if cmake ver is lower than 3.1

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoqa/tasks/ragweed: don't reference fastcgi 13644/head
Yehuda Sadeh [Thu, 15 Feb 2018 18:35:59 +0000 (10:35 -0800)]
qa/tasks/ragweed: don't reference fastcgi

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoqa/rgw: ragweed: change base branch for upgrade testing
Yehuda Sadeh [Mon, 3 Jul 2017 18:41:01 +0000 (11:41 -0700)]
qa/rgw: ragweed: change base branch for upgrade testing

Change directory structure to reflect base version of upgrade test.
Also set base version to kraken.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoqa/tasks/rgw/upgrade: don't restart the entire cluster at once
Yehuda Sadeh [Fri, 24 Feb 2017 23:07:49 +0000 (15:07 -0800)]
qa/tasks/rgw/upgrade: don't restart the entire cluster at once

and also whitelist 'wrongly marked me down'

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoqa/tasks: add ragweed tasks
Yehuda Sadeh [Fri, 24 Feb 2017 00:56:51 +0000 (16:56 -0800)]
qa/tasks: add ragweed tasks

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoceph/qa/suites: add rgw/upgrade/ragweed
Yehuda Sadeh [Thu, 23 Feb 2017 23:51:21 +0000 (15:51 -0800)]
ceph/qa/suites: add rgw/upgrade/ragweed

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoqa/tasks/ragweed: only init config when doing prepare
Yehuda Sadeh [Wed, 22 Feb 2017 00:34:01 +0000 (16:34 -0800)]
qa/tasks/ragweed: only init config when doing prepare

and only remove users when doing check.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoqa/tasks/ragweed: configurable stages
Yehuda Sadeh [Tue, 21 Feb 2017 22:56:06 +0000 (14:56 -0800)]
qa/tasks/ragweed: configurable stages

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoqa/tasks/ragweed: point at ceph.conf in config
Yehuda Sadeh [Tue, 21 Feb 2017 22:16:41 +0000 (14:16 -0800)]
qa/tasks/ragweed: point at ceph.conf in config

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoqa/tasks/ragweed: set system flag on system user
Yehuda Sadeh [Tue, 21 Feb 2017 22:15:42 +0000 (14:15 -0800)]
qa/tasks/ragweed: set system flag on system user

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoqa/tasks: add ragweed task
Yehuda Sadeh [Wed, 25 Jan 2017 22:44:05 +0000 (14:44 -0800)]
qa/tasks: add ragweed task

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocmake: disable DOWNLOAD_NO_PROGRESS if cmake ver is lower than 3.1 20492/head
Kefu Chai [Mon, 19 Feb 2018 22:40:14 +0000 (06:40 +0800)]
cmake: disable DOWNLOAD_NO_PROGRESS if cmake ver is lower than 3.1

see https://cmake.org/cmake/help/v3.1/module/ExternalProject.html and
https://cmake.org/cmake/help/v3.0/module/ExternalProject.html. the
former has DOWNLOAD_NO_PROGRESS, while the latter does not.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/workunits/rbd: remove sanity check in journal.sh test 20490/head
Jason Dillaman [Mon, 19 Feb 2018 19:47:46 +0000 (14:47 -0500)]
qa/workunits/rbd: remove sanity check in journal.sh test

When the OSDs are being concurrently thrashed, this can result in
sporadic failures due to the admin socket disappearing.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/workunits/rbd: correct permission test handling for clone v2 images 20491/head
Jason Dillaman [Mon, 19 Feb 2018 20:15:38 +0000 (15:15 -0500)]
qa/workunits/rbd: correct permission test handling for clone v2 images

Fixes: http://tracker.ceph.com/issues/23043
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/workunits/rbd: utilize RBD profiles in permissions.sh test case
Jason Dillaman [Mon, 19 Feb 2018 19:53:27 +0000 (14:53 -0500)]
qa/workunits/rbd: utilize RBD profiles in permissions.sh test case

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoos/bluestore: do not account DB volume space in total one reported by statfs method 20487/head
Igor Fedotov [Wed, 31 Jan 2018 15:54:28 +0000 (18:54 +0300)]
os/bluestore: do not account DB volume space in total one reported by statfs method

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoos/bluestore: prevent statfs available from going negative
Sage Weil [Mon, 19 Feb 2018 16:16:24 +0000 (10:16 -0600)]
os/bluestore: prevent statfs available from going negative

Fixes: https://tracker.ceph.com/issues/23040
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa: krbd_fallocate.sh: add -ENOENT handling test case
Ilya Dryomov [Mon, 19 Feb 2018 19:02:57 +0000 (20:02 +0100)]
qa: krbd_fallocate.sh: add -ENOENT handling test case

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agomon: mark manager beacons as no_reply 20467/head
Greg Farnum [Fri, 16 Feb 2018 23:44:22 +0000 (15:44 -0800)]
mon: mark manager beacons as no_reply

We never reply to manager beacons, and we have to mark them
that way or else forwarded messages pile up pending replies
and things eventually block.

Fixes: http://tracker.ceph.com/issues/22114
Reported-by: Hongpeng Lu <ludehp@163.com>
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
7 years agomgr/prometheus: Expose OSD Flags 20456/head
Boris Ranto [Sat, 17 Feb 2018 03:45:01 +0000 (04:45 +0100)]
mgr/prometheus: Expose OSD Flags

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agomgr/prometheus: Fix pg_* counts
Boris Ranto [Fri, 16 Feb 2018 17:45:58 +0000 (18:45 +0100)]
mgr/prometheus: Fix pg_* counts

Currently, the pg_* counts are not computed properly. We split the
current state by '+' sign but do not add the pg count to the already
found pg count. Instead, we overwrite any existing pg count with the new
count. This patch fixes it by adding all the pg counts together for all
the states.

It also introduces a new pg_total metric for pg_total that shows the
total count of PGs.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agomgr/prometheus: Skip bogus entries
Boris Ranto [Fri, 16 Feb 2018 03:53:39 +0000 (04:53 +0100)]
mgr/prometheus: Skip bogus entries

The osd data can contain bogus '-' entries, skip these when populating
osd metadata and disk occupation.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agotest/librbd: utilize unique pool for cache tier testing 20486/head
Jason Dillaman [Mon, 19 Feb 2018 15:25:15 +0000 (10:25 -0500)]
test/librbd: utilize unique pool for cache tier testing

Fixes: http://tracker.ceph.com/issues/11502
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosd/PrimaryLogPG: cancel all objecter ops atomically 20484/head
Sage Weil [Mon, 19 Feb 2018 14:54:58 +0000 (08:54 -0600)]
osd/PrimaryLogPG: cancel all objecter ops atomically

We want to avoid a situation like this:

- start proxy op A (epoch E)
- start proxy op B (epoch E)
- start proxy op C (epoch E)
- objecter sends none of these because target is down in epoch E
- osdmap update to E+1
- pg cancels requeues A, B
- objecter updates to E+1
- objecter sends C
- pg cancels/requeues C

Note that the key thing is that operations on each object are canceled
atomically.  On the interval change we do it all at once.  In the other
cases, we cancel everything on the given object together.

Fixes: http://tracker.ceph.com/issues/22123
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosdc/Objecter: allow multiple ops to be canceled atomically
Sage Weil [Mon, 19 Feb 2018 14:43:11 +0000 (08:43 -0600)]
osdc/Objecter: allow multiple ops to be canceled atomically

This allows multiple cancellations without worrying about a race with an
(objecter) osdmap update.

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