Commit Graph

83325 Commits

Author SHA1 Message Date
Kefu Chai
093f04e44d
Merge pull request #20549 from Songweibin/wip-cleanup
common: fix typo in options.cc

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-02-26 09:52:34 +08:00
Patrick Donnelly
d59b41342a
Merge PR #20562 into master
* refs/pull/20562/head:
	doc:Update ceph-fuse doc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-24 10:25:47 -08:00
Kefu Chai
215aa3a6bc
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>
2018-02-24 18:03:14 +08:00
Kefu Chai
7a944125a4
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>
2018-02-24 12:20:53 +08:00
Kefu Chai
026b767ae9
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>
2018-02-24 12:18:51 +08:00
Kefu Chai
4a00e32e4b
Merge pull request #20456 from b-ranto/wip-mgr-prom
mgr/prometheus: Skip bogus entries

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-02-24 12:17:48 +08:00
Kefu Chai
c8886cd77d
Merge pull request #19843 from ifed01/wip-ifed-bluestore-repair
os/bluestore: implement BlueStore repair

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-24 12:15:40 +08:00
Kefu Chai
327c81d70b
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>
2018-02-24 12:13:15 +08:00
Kefu Chai
a9ecfb1b82 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>
2018-02-24 11:34:04 +08:00
Casey Bodley
2b8450089c
Merge pull request #20488 from theanalyst/rgw/frontend-init
rgw:  make init env methods return an error

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-23 16:35:53 -05:00
Jos Collin
12b4960656 doc:Update ceph-fuse doc
Fixes: http://tracker.ceph.com/issues/23084
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-02-23 20:27:45 +05:30
Sage Weil
15e537e418
Merge pull request #20504 from dzafman/wip-pg-states-doc
doc: Add missing pg states from doc

Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-23 06:25:18 -06:00
Alfredo Deza
f584df78c2
Merge pull request #20543 from ceph/wip-rm23080
ceph-volume correctly normalize mount flags

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-02-22 19:06:33 -05:00
Alfredo Deza
6671cb4fd1 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>
2018-02-22 16:19:54 -05:00
Alfredo Deza
6bd226a3b4 ceph-volume util.prepare normalize mount flags for CLI
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 16:19:54 -05:00
Alfredo Deza
b6575288d6
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>
2018-02-22 15:30:22 -05:00
Alfredo Deza
f696104e19
Merge pull request #20537 from ceph/wip-rm22878
ceph-volume: adds support to zap encrypted devices

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 15:05:36 -05:00
Casey Bodley
992c19ab67
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>
2018-02-22 14:07:55 -05:00
Casey Bodley
fbb62621ac
Merge pull request #13644 from yehudasa/wip-rgw-ragweed
rgw: changes to support ragweed

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-22 12:02:30 -05:00
Andrew Schoen
64659882d7 ceph-volume: use lv.encrypted property with lvm zap
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-22 11:01:10 -06:00
Andrew Schoen
5f1c0219d0 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>
2018-02-22 11:00:15 -06:00
Andrew Schoen
1d5606885a ceph-volume: add zapping to lvm dmcrypt tests
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-22 10:46:11 -06:00
Andrew Schoen
70f68e2c19 ceph-volume: test zapping for both lvm create and lvm dmcrypt
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-22 10:46:11 -06:00
Andrew Schoen
4e28bfafc7 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>
2018-02-22 10:46:11 -06:00
Sage Weil
ef4e658806
Merge pull request #20533 from wido/issue-23083
systemd: Wait 10 seconds before restarting ceph-mgr

Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-22 09:25:21 -06:00
Alfredo Deza
cc796073b6 doc/rados/troubleshooting update ceph-deploy references with new ceph-voume API
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 08:19:56 -05:00
Alfredo Deza
c957c70f48 doc/rados/deployment update ceph-deploy references with new ceph-volume API
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 08:19:56 -05:00
Alfredo Deza
bdd7a0f7fe doc/man update ceph-deploy for the new ceph-volume API
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 08:19:56 -05:00
Kefu Chai
435954ba60 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>
2018-02-22 19:08:09 +08:00
Wido den Hollander
c628cd083e
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>
2018-02-22 11:53:41 +01:00
Kefu Chai
d7dfdc8730
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>
2018-02-22 17:56:17 +08:00
Igor Fedotov
49822ee165
Merge pull request #20514 from ifed01/wip-ifed-fio-build-fix
test/fio: fix fio objectstore plugin building broken by
2018-02-22 12:21:58 +03:00
songweibin
3920da63a8 common: fix typo in options.cc
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-02-22 14:49:35 +08:00
Kefu Chai
627475d679 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>
2018-02-22 12:50:19 +08:00
Andrew Schoen
a09b319a5e
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>
2018-02-21 22:28:04 +01:00
Abhishek L
26cc065dde
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>
2018-02-21 22:01:19 +01:00
Igor Fedotov
7881d16570 test/fio: fix fio objectstore plugin building broken by
ObjectStore::queue_transaction interface changes.

Signed-off-by: Igor Fedotov "ifedotov@suse.com"
2018-02-21 23:47:50 +03:00
Alfredo Deza
98b718ea29 doc quick-ceph-deploy update for newer ceph-volume API
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-21 13:50:34 -05:00
Abhishek Lekshmanan
1e491f6519 doc: release notes for 12.2.3
Also dropping the relevant changes from PendingReleaseNotes

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-02-21 19:34:59 +01:00
Sage Weil
d50ec9a43d
Merge pull request #20503 from theanalyst/doc/changelog/v12.2.3
doc: changelog for v12.2.3
2018-02-21 12:33:53 -06:00
Alfredo Deza
11ba052010 ceph-volume tests verify exclude_group_options works with groups of flags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-21 12:56:43 -05:00
Alfredo Deza
43be2aafc1 ceph-volume tests add exclusion checks in prepare
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-21 12:55:17 -05:00
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