Commit Graph

83333 Commits

Author SHA1 Message Date
Alfredo Deza
2f6248c94b ceph-volume tests add exclusion checks in create
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-21 12:55:17 -05:00
Alfredo Deza
dec6e086cf ceph-volume util.arg_validators create an arg group exclusion check
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-21 12:55:16 -05:00
Alfredo Deza
f6ac244bb5 ceph-volume lvm.create use the new group option exclution
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-21 12:55:16 -05:00
Alfredo Deza
e6b3c46368 ceph-volume lvm.prepare use the new group option exclution
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-21 12:55:16 -05:00
Alfredo Deza
3400f31787 ceph-volume lvm.common remove --journal-size as it is not used/supported
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-21 12:55:16 -05:00
Alfredo Deza
3e7c995ebe ceph-volume lvm.common define arg groups for objectstores
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-21 12:55:16 -05:00
Sage Weil
db1ca7271e Merge PR #19342 into master
* refs/pull/19342/head:
	osd: add 'ceph [tell|daemon] osd.id smart'

Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-21 10:23:48 -06:00
Sage Weil
1d641d137b 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>
2018-02-21 10:23:43 -06:00
Sage Weil
1292efcd3d 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>
2018-02-21 10:23:38 -06:00
Sage Weil
9f5a7ca8bf 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>
2018-02-21 10:23:33 -06:00
Sage Weil
5b41a65d2d 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>
2018-02-21 10:23:29 -06:00
Gregory Farnum
1c3e81828a
Merge pull request #20374 from liewegas/wip-18351
msg/DispatchQueue: clear queue after wait()

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-02-21 07:48:38 -08:00
Igor Fedotov
17b7f6f089 os/bluestore: add an ability to reproduce issue #21040 and verify if
fsck repair fixes it.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-02-21 18:16:50 +03:00
Kefu Chai
14673a4509
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>
2018-02-21 20:57:22 +08:00
Igor Fedotov
8471cb4202 os/bluestore: implement BlueStore repair
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-02-21 15:56:35 +03:00
Igor Fedotov
072af9043b os/bluestore: simplify SharedBlob::put_ref interface
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-02-21 15:56:32 +03:00
Kefu Chai
b06dd3bb0a
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>
2018-02-21 10:14:44 +08:00
Kefu Chai
cda5a196fc
Merge pull request #20439 from jcsp/wip-percent_used
mon: dump percent_used PGMap field as float

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-21 10:13:48 +08:00
David Zafman
058d8b007d doc: Add missing pg states from doc
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-02-20 14:44:56 -08:00
Abhishek Lekshmanan
c538e6b823 doc: changelog for v12.2.3
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-02-20 23:09:31 +01:00
Sage Weil
1e34922fcd
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>
2018-02-20 14:59:35 -06:00
Jason Dillaman
ab06f835f4
Merge pull request #20499 from idryomov/wip-krbd-discard-tests
qa: additional krbd discard test cases

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-20 14:02:07 -05:00
Mykola Golub
783bc22438
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>
2018-02-20 18:45:11 +02:00
Matt Benjamin
11526c68c7
Merge pull request #20093 from supriti/wip_rgw_ganesha_df
RGW-NFS: Use rados cluster_stat to report filesystem usage
2018-02-20 11:43:57 -05:00
Jason Dillaman
41e9607aae
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>
2018-02-20 10:32:17 -05:00
Jason Dillaman
fae456f60c
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>
2018-02-20 10:31:54 -05:00
Jason Dillaman
0da7e351a5
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>
2018-02-20 10:31:14 -05:00
Abhishek Lekshmanan
7872a83178 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>
2018-02-20 16:18:52 +01:00
Taeksang Kim
b6bd7c95cb objectstore/bluestore.yaml: enable bdev discard
set bdev_enable_discard and bdev_async_discard true.

Signed-off-by: Taeksang Kim <voidbag@gmail.com>
2018-02-21 00:00:52 +09:00
Taeksang Kim
8a2e1db91e os/bluestore/KernelDevice: async discard has been implemented.
Signed-off-by: Taeksang Kim <voidbag@gmail.com>
2018-02-21 00:00:52 +09:00
Taeksang Kim
2893d09973 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>
2018-02-21 00:00:52 +09:00
Taeksang Kim
465c21dded os/bluestore/KernelDevice: add discard command
Discard method is added for ssd's performance.

Signed-off-by: Taeksang Kim <voidbag@gmail.com>
2018-02-21 00:00:52 +09:00
Ilya Dryomov
153af6b90a 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>
2018-02-20 15:54:41 +01:00
Kefu Chai
48175c3a30 ceph-disk: include output of failed command in exception
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-20 20:49:42 +08:00
Mykola Golub
c6d9ae9416
Merge pull request #20491 from dillaman/wip-23043
qa/workunits/rbd: fix issues within permissions test

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-02-20 14:39:17 +02:00
Mykola Golub
6f6d21092a
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>
2018-02-20 14:35:23 +02:00
Mykola Golub
f4cd2772e1
Merge pull request #20486 from dillaman/wip-11502
test/librbd: utilize unique pool for cache tier testing

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-02-20 14:34:45 +02:00
David Zafman
648a4c3d47
Merge pull request #20450 from dzafman/wip-22996
Snapset inconsistency is detected with its own error

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-02-19 22:43:02 -08:00
Alfredo Deza
379897e894
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>
2018-02-19 18:09:12 -05:00
Yehuda Sadeh
930f3b85e2 qa/tasks/ragweed: don't reference fastcgi
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
2d23084092 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>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
0882d306f6 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>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
52d8f0d82f qa/tasks: add ragweed tasks
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
3bf80dd171 ceph/qa/suites: add rgw/upgrade/ragweed
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
c2e2d8a380 qa/tasks/ragweed: only init config when doing prepare
and only remove users when doing check.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
831645c3cf qa/tasks/ragweed: configurable stages
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
cb1660d566 qa/tasks/ragweed: point at ceph.conf in config
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
7bf2296bdd qa/tasks/ragweed: set system flag on system user
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
82c1295196 qa/tasks: add ragweed task
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Kefu Chai
d051bf0441 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>
2018-02-20 06:40:15 +08:00