]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoqa: update handling of fs status format 19369/head
Patrick Donnelly [Wed, 20 Dec 2017 00:12:28 +0000 (16:12 -0800)]
qa: update handling of fs status format

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoPendingReleaseNotes: add note for format change
Patrick Donnelly [Wed, 20 Dec 2017 00:13:48 +0000 (16:13 -0800)]
PendingReleaseNotes: add note for format change

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agomds/MDSMap : use arrary_section for mds stat
You Ji [Thu, 7 Dec 2017 03:02:16 +0000 (20:02 -0700)]
mds/MDSMap : use arrary_section for mds stat

http://tracker.ceph.com/issues/22338
Signed-off-by: You Ji <youji@ebay.com>
7 years agoMerge pull request #19188 from adamwg/awg/rbd-watchers-api
Jason Dillaman [Wed, 6 Dec 2017 20:20:13 +0000 (15:20 -0500)]
Merge pull request #19188 from adamwg/awg/rbd-watchers-api

librbd: Add a function to list image watchers

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19337 from trociny/wip-22306
Jason Dillaman [Wed, 6 Dec 2017 20:19:27 +0000 (15:19 -0500)]
Merge pull request #19337 from trociny/wip-22306

pybind/rbd: fix metadata functions error handling

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18967 from shun-s/wip-rbd-cp-optimize
Jason Dillaman [Wed, 6 Dec 2017 19:50:53 +0000 (14:50 -0500)]
Merge pull request #18967 from shun-s/wip-rbd-cp-optimize

librbd: speed up sparse copy when object map is available

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19251 from MahatiC/eventtrace_librbd
Jason Dillaman [Wed, 6 Dec 2017 19:50:01 +0000 (14:50 -0500)]
Merge pull request #19251 from MahatiC/eventtrace_librbd

librbd: add eventtrace support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19280 from Songweibin/wip-parent-info
Jason Dillaman [Wed, 6 Dec 2017 19:48:54 +0000 (14:48 -0500)]
Merge pull request #19280 from Songweibin/wip-parent-info

rbd: add parent info when moving child into trash bin

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19315 from trociny/wip-fsx-ggate
Jason Dillaman [Wed, 6 Dec 2017 19:48:35 +0000 (14:48 -0500)]
Merge pull request #19315 from trociny/wip-fsx-ggate

test/librbd: rbd-ggate mode for fsx

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge PR #18791 into master
Patrick Donnelly [Wed, 6 Dec 2017 19:45:31 +0000 (11:45 -0800)]
Merge PR #18791 into master

* refs/pull/18791/head:
mds: bump protocol for snapshot changes
mds: force client to do snapflush
mds: check existance of snaps when rebuilding need_snapflush
mds: properly setup need_snapflush for flushsnap messages
mds: properly update CInode::first and CDentry first
mds: don't create snap inode during trans-authority rename
mds: trim non-auth snap dentry during cache rejoin
mds: detach unlinked inode's snaprealm from its parent
mds: fix CInode::find_snaprealm()
mds: fix snap dentry discover
mds: introduce MDSMap::get_mds_set_lower_bound()
mds: properly distinguish snaptable TABLE_OP_CREATE from TABLE_OP_UPDATE
mds: properly set reply buffer for table request 'agree' message
mds: make change to mds table after corresponding event get logged

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19351 from ceph/wip-rm22281
Andrew Schoen [Wed, 6 Dec 2017 17:15:02 +0000 (11:15 -0600)]
Merge pull request #19351 from ceph/wip-rm22281

ceph-volume rollback on failed OSD prepare/create

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19344 from tchaikov/wip-we-need-cxx11-and-more
Kefu Chai [Wed, 6 Dec 2017 14:11:17 +0000 (22:11 +0800)]
Merge pull request #19344 from tchaikov/wip-we-need-cxx11-and-more

cmake: bail out if GCC version is less than 5.1

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19343 from dillaman/wip-22321
Mykola Golub [Wed, 6 Dec 2017 10:17:43 +0000 (12:17 +0200)]
Merge pull request #19343 from dillaman/wip-22321

ceph-dencoder: moved RBD types outside of RGW preprocessor guard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19333 from amitkumar50/cov-osd-4
Xie Xingguo [Wed, 6 Dec 2017 07:33:12 +0000 (15:33 +0800)]
Merge pull request #19333 from amitkumar50/cov-osd-4

osd: Initializing start_offset,last_offset,offset

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #19334 from amitkumar50/cov-misc-13
Xie Xingguo [Wed, 6 Dec 2017 07:30:36 +0000 (15:30 +0800)]
Merge pull request #19334 from amitkumar50/cov-misc-13

test: Initializing ChunkReadOp members

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge PR #18849 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:57 +0000 (22:35 -0800)]
Merge PR #18849 into master

* refs/pull/18849/head:
mds:improve mds perf counters can statistics filesystem operations number and latency

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #18941 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:52 +0000 (22:35 -0800)]
Merge PR #18941 into master

* refs/pull/18941/head:
discard the mdsload clear after prep_rebalance in case we want to export it for debugging
make sure that MDBalancer uses heartbeat info from the same epoch

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19089 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:48 +0000 (22:35 -0800)]
Merge PR #19089 into master

* refs/pull/19089/head:
client: xlist link dentries instead of set
client: cleanup Dentry definition

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19092 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:43 +0000 (22:35 -0800)]
Merge PR #19092 into master

* refs/pull/19092/head:
mds: remove useless check in Migrator::export_dir
mds: ignore export pin for unlinked directory

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19218 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:38 +0000 (22:35 -0800)]
Merge PR #19218 into master

* refs/pull/19218/head:
client: quit on failed remount during dentry invalidate test

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19224 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:33 +0000 (22:35 -0800)]
Merge PR #19224 into master

* refs/pull/19224/head:
mds: use find instead of count in CInode::get_dirfrag

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19237 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:25 +0000 (22:35 -0800)]
Merge PR #19237 into master

* refs/pull/19237/head:
mds: get rid of the redundant code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19347 from ceph/wip-rm22326
Andrew Schoen [Tue, 5 Dec 2017 21:43:56 +0000 (15:43 -0600)]
Merge pull request #19347 from ceph/wip-rm22326

ceph-volume: warn on missing ceph.conf file

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume lvm.create rollback osd creation when prepare or activate fails 19351/head
Alfredo Deza [Tue, 5 Dec 2017 20:31:55 +0000 (15:31 -0500)]
ceph-volume lvm.create rollback osd creation when prepare or activate fails

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.create fallback to bluestore when objectstore is not specified
Alfredo Deza [Tue, 5 Dec 2017 15:22:05 +0000 (10:22 -0500)]
ceph-volume lvm.create fallback to bluestore when objectstore is not specified

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare fallback to bluestore when objectstore is not specified
Alfredo Deza [Tue, 5 Dec 2017 15:21:20 +0000 (10:21 -0500)]
ceph-volume lvm.prepare fallback to bluestore when objectstore is not specified

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare rollback osd when prepare fails and an osd id was generated
Alfredo Deza [Tue, 5 Dec 2017 15:11:03 +0000 (10:11 -0500)]
ceph-volume lvm.prepare rollback osd when prepare fails and an osd id was generated

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.common create a rollback_osd utility to cleanup failed osd prepare...
Alfredo Deza [Tue, 5 Dec 2017 15:08:35 +0000 (10:08 -0500)]
ceph-volume lvm.common create a rollback_osd utility to cleanup failed osd prepare/create calls

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agopybind/rbd: raise KeyError when metadata does not exist 19337/head
Mykola Golub [Tue, 5 Dec 2017 13:48:58 +0000 (15:48 +0200)]
pybind/rbd: raise KeyError when metadata does not exist

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoceph-volume test logging ignored ceph.conf file 19347/head
Alfredo Deza [Tue, 5 Dec 2017 18:59:22 +0000 (13:59 -0500)]
ceph-volume test logging ignored ceph.conf file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume main warn on inability to load ceph.conf, don't raise
Alfredo Deza [Tue, 5 Dec 2017 18:58:53 +0000 (13:58 -0500)]
ceph-volume main warn on inability to load ceph.conf, don't raise

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agotest: Initializing ChunkReadOp members 19334/head
amitkuma [Tue, 5 Dec 2017 15:38:53 +0000 (21:08 +0530)]
test: Initializing ChunkReadOp members

Fixes the coverity issue:
2. uninit_member: Non-static class member offset is not
initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member length is not
initialized in this constructor nor in any functions that it calls.

CID 1424433 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
6. uninit_member: Non-static class member tgt_offset is not initialized
in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
7 years agoosd: Initializing start_offset,last_offset,offset 19333/head
amitkuma [Tue, 5 Dec 2017 15:31:52 +0000 (21:01 +0530)]
osd: Initializing start_offset,last_offset,offset

Fixes the coverity issues:

2. uninit_member: Non-static class member start_offset
is not initialized in this constructor nor in any functions
that it calls.

CID 1424396 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
4. uninit_member: Non-static class member last_offset is not
initialized in this constructor nor in any functions that it calls.

CID 1424658 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member offset is not initialized
in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
7 years agocmake: bail out if GCC version is less than 5.1 19344/head
Kefu Chai [Tue, 5 Dec 2017 14:59:48 +0000 (22:59 +0800)]
cmake: bail out if GCC version is less than 5.1

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-dencoder: moved RBD types outside of RGW preprocessor guard 19343/head
Jason Dillaman [Tue, 5 Dec 2017 14:58:04 +0000 (09:58 -0500)]
ceph-dencoder: moved RBD types outside of RGW preprocessor guard

Fixes: http://tracker.ceph.com/issues/22321
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agopybind/rbd: fix metadata functions error handling
Mykola Golub [Tue, 5 Dec 2017 13:48:23 +0000 (15:48 +0200)]
pybind/rbd: fix metadata functions error handling

Fixes: http://tracker.ceph.com/issues/22306
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19101 from ifed01/wip-ifed-extending-fio
Igor Fedotov [Tue, 5 Dec 2017 13:41:19 +0000 (14:41 +0100)]
Merge pull request #19101 from ifed01/wip-ifed-extending-fio

test/fio: extend fio objectstore plugin to better simulate OSD behavior

7 years agoMerge pull request #18863 from tchaikov/wip-devtoolset-7
Kefu Chai [Tue, 5 Dec 2017 13:27:42 +0000 (21:27 +0800)]
Merge pull request #18863 from tchaikov/wip-devtoolset-7

build/ops: use devtoolset-7 on centos/rhel-7

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18812 from tchaikov/wip-pybind-rados-service-api
Kefu Chai [Tue, 5 Dec 2017 12:33:58 +0000 (20:33 +0800)]
Merge pull request #18812 from tchaikov/wip-pybind-rados-service-api

pybind/rados: add rados_service_*()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19307 from tchaikov/wip-drop-ubuntu-trusty
Kefu Chai [Tue, 5 Dec 2017 12:31:58 +0000 (20:31 +0800)]
Merge pull request #19307 from tchaikov/wip-drop-ubuntu-trusty

qa,doc: drop support of ubuntu trusty

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agorbd: comment/msg cleanup 19280/head
songweibin [Tue, 5 Dec 2017 04:14:21 +0000 (12:14 +0800)]
rbd: comment/msg cleanup

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agorbd: list parent info with "--long" when image child is in trash
songweibin [Tue, 5 Dec 2017 01:53:31 +0000 (09:53 +0800)]
rbd: list parent info with "--long" when image child is in trash

We can get child's parent information even it's in
trash bin if "--long" flag is specified.

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agomds: bump protocol for snapshot changes 18791/head
Yan, Zheng [Mon, 4 Dec 2017 03:32:42 +0000 (11:32 +0800)]
mds: bump protocol for snapshot changes

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: force client to do snapflush
Yan, Zheng [Wed, 23 Aug 2017 11:37:54 +0000 (19:37 +0800)]
mds: force client to do snapflush

Snap inodes that are waiting for flush are auth pinned, they affect
subtree/dirfrag frozen. Force client to do snapflush after waiting
for a period of time.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: check existance of snaps when rebuilding need_snapflush
Yan, Zheng [Wed, 23 Aug 2017 10:07:19 +0000 (18:07 +0800)]
mds: check existance of snaps when rebuilding need_snapflush

do nothing if there is no snap

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: properly setup need_snapflush for flushsnap messages
Yan, Zheng [Thu, 17 Aug 2017 06:28:16 +0000 (14:28 +0800)]
mds: properly setup need_snapflush for flushsnap messages

When processing a cap flush message that is re-sent, it's possble
that the sender has already released all WR caps. So can't rely on
CEPH_CAP_ANY_WR check in MDCache:cow_inode().

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: properly update CInode::first and CDentry first
Yan, Zheng [Wed, 26 Jul 2017 02:07:17 +0000 (10:07 +0800)]
mds: properly update CInode::first and CDentry first

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agoinstall-deps.sh: use gcc-7 on trusty 18863/head
Kefu Chai [Sun, 12 Nov 2017 05:07:35 +0000 (13:07 +0800)]
install-deps.sh: use gcc-7 on trusty

* always install gcc-7 on trusty
* point g++ to g++-7 if not yet

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph.spec: use devtoolset-7-gcc-c++ on centos/rhel
Kefu Chai [Fri, 10 Nov 2017 12:05:49 +0000 (20:05 +0800)]
ceph.spec: use devtoolset-7-gcc-c++ on centos/rhel

for better performance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall-deps.sh: always use yum-config-manager for consistency
Kefu Chai [Fri, 10 Nov 2017 12:03:25 +0000 (20:03 +0800)]
install-deps.sh: always use yum-config-manager for consistency

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall-deps.sh: install devtoolset-7 for centos/rhel
Kefu Chai [Fri, 10 Nov 2017 01:32:13 +0000 (09:32 +0800)]
install-deps.sh: install devtoolset-7 for centos/rhel

ready them for gcc7 and libstdc++-7 for better performance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19324 from neha-ojha/wip-fix-collectl
Josh Durgin [Tue, 5 Dec 2017 01:33:43 +0000 (17:33 -0800)]
Merge pull request #19324 from neha-ojha/wip-fix-collectl

qa: install collectl with cbt task

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19325 from ceph/wip-ceph-disk-man-fix
Alfredo Deza [Tue, 5 Dec 2017 00:43:36 +0000 (19:43 -0500)]
Merge pull request #19325 from ceph/wip-ceph-disk-man-fix

doc/man remove deprecation of ceph-disk man page title

Reviewed-by: Brad Hubbard
7 years agoclient: quit on failed remount during dentry invalidate test 19218/head
Patrick Donnelly [Tue, 28 Nov 2017 23:01:32 +0000 (15:01 -0800)]
client: quit on failed remount during dentry invalidate test

Fixes: http://tracker.ceph.com/issues/22269
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoclient: xlist link dentries instead of set 19089/head
Patrick Donnelly [Tue, 21 Nov 2017 16:49:51 +0000 (08:49 -0800)]
client: xlist link dentries instead of set

This saves space and avoids unnecessary set logic. In particular, we no longer
need to do a heap allocation for each Dentry * in the std::set.

Before:

(gdb) print sizeof(Inode)
$1 = 1336
(gdb) print sizeof(Inode::dn_set)
$2 = 48

After:

(gdb) print sizeof(Inode)
$1 = 1360
(gdb) print sizeof(Inode::dentries)
$2 = 24

I'm not sure why the Inode size increased when the member size decreased (weird
padding by g++)? Anyway, we still get the benefit of no heap allocations for
the Dentry *s.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agodoc/man remove deprecation of ceph-disk man page title 19325/head
Alfredo Deza [Mon, 4 Dec 2017 22:01:33 +0000 (17:01 -0500)]
doc/man remove deprecation of ceph-disk man page title

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoqa: install collectl with cbt task 19324/head
Neha Ojha [Mon, 4 Dec 2017 21:50:33 +0000 (13:50 -0800)]
qa: install collectl with cbt task

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agotest/librbd: rbd-ggate mode for fsx 19315/head
Mykola Golub [Mon, 4 Dec 2017 08:51:43 +0000 (08:51 +0000)]
test/librbd: rbd-ggate mode for fsx

Right now it works only in lite mode due to ggate kernel driver
does not support resize. Also all operations should be block size
alligned, thus -r and -w options should be properly set.

Example:

  ceph_test_librbd_fsx -G -L -r 512 -w 512 -Z -d -N 1024 rbd test

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agotest/librbd: enable fsx lite mode support
Mykola Golub [Sun, 3 Dec 2017 21:32:27 +0000 (21:32 +0000)]
test/librbd: enable fsx lite mode support

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19241 from ceph/wip-doc-deprecate-cdisk
Andrew Schoen [Mon, 4 Dec 2017 16:37:46 +0000 (10:37 -0600)]
Merge pull request #19241 from ceph/wip-doc-deprecate-cdisk

doc: update references to use ceph-volume

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19321 from ceph/wip-rm22305
Andrew Schoen [Mon, 4 Dec 2017 15:48:36 +0000 (09:48 -0600)]
Merge pull request #19321 from ceph/wip-rm22305

ceph-volume should be able to handle multiple LVM (VG/LV) tags

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19319 from ceph/wip-rm22297
Andrew Schoen [Mon, 4 Dec 2017 15:25:15 +0000 (09:25 -0600)]
Merge pull request #19319 from ceph/wip-rm22297

ceph-volume  handle inline comments in the ceph.conf file

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests.api ensure that we can handle non-ceph tags in lvs 19321/head
Alfredo Deza [Mon, 4 Dec 2017 14:56:00 +0000 (09:56 -0500)]
ceph-volume tests.api ensure that we can handle non-ceph tags in lvs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19316 from trociny/wip-blkdev-fixup
Sage Weil [Mon, 4 Dec 2017 14:55:53 +0000 (08:55 -0600)]
Merge pull request #19316 from trociny/wip-blkdev-fixup

common/blkdev: fix build in FreeBSD environment

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoceph-volume api.lvm only consider 'ceph.' tags in logical volumes
Alfredo Deza [Mon, 4 Dec 2017 14:54:35 +0000 (09:54 -0500)]
ceph-volume api.lvm only consider 'ceph.' tags in logical volumes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/install use ceph-volume in manual deployment steps 19241/head
Alfredo Deza [Wed, 29 Nov 2017 16:13:47 +0000 (11:13 -0500)]
doc/install use ceph-volume in manual deployment steps

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update user-management to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:57:53 +0000 (09:57 -0500)]
doc/rados update user-management to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update bluestore-migration to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:57:29 +0000 (09:57 -0500)]
doc/rados update bluestore-migration to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update add-or-rm-osds to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:57:09 +0000 (09:57 -0500)]
doc/rados update add-or-rm-osds to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update bluestore config to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:56:15 +0000 (09:56 -0500)]
doc/rados update bluestore config to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update auth config examples to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:55:59 +0000 (09:55 -0500)]
doc/rados update auth config examples to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/man add deprecation notices to ceph-disk man page
Alfredo Deza [Wed, 29 Nov 2017 14:44:13 +0000 (09:44 -0500)]
doc/man add deprecation notices to ceph-disk man page

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19275 from qrGitHub/wip-rgw-correct-comment
Casey Bodley [Mon, 4 Dec 2017 14:07:47 +0000 (09:07 -0500)]
Merge pull request #19275 from qrGitHub/wip-rgw-correct-comment

rgw: correct comment in function parse_credentials

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoceph-volume configuration allow inlined comments for # and ; 19319/head
Alfredo Deza [Mon, 4 Dec 2017 13:22:23 +0000 (08:22 -0500)]
ceph-volume configuration allow inlined comments for # and ;

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests verify that INI comments can be inlined
Alfredo Deza [Mon, 4 Dec 2017 13:21:29 +0000 (08:21 -0500)]
ceph-volume tests verify that INI comments can be inlined

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19314 from ifed01/wip-ifed-affiliation
Abhishek L [Mon, 4 Dec 2017 11:07:53 +0000 (12:07 +0100)]
Merge pull request #19314 from ifed01/wip-ifed-affiliation

.githubmap, .mailmap, .organizationmap, .peoplemap: update Igor

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
7 years agocommon/blkdev: fix build in FreeBSD environment 19316/head
Mykola Golub [Mon, 4 Dec 2017 10:10:35 +0000 (10:10 +0000)]
common/blkdev: fix build in FreeBSD environment

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years ago.githubmap, .mailmap, .organizationmap, .peoplemap: update Igor 19314/head
Igor Fedotov [Mon, 4 Dec 2017 09:14:15 +0000 (12:14 +0300)]
.githubmap, .mailmap, .organizationmap, .peoplemap: update Igor
Fedotov's affiliation

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agodoc: update docs to remove references of ubuntu 14.04 19307/head
Kefu Chai [Mon, 4 Dec 2017 06:00:37 +0000 (14:00 +0800)]
doc: update docs to remove references of ubuntu 14.04

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotest/docker-test: drop support for ubuntu 14.04 and centos 6
Kefu Chai [Mon, 4 Dec 2017 05:05:49 +0000 (13:05 +0800)]
test/docker-test: drop support for ubuntu 14.04 and centos 6

* we cannot build on centos 6. and we are dropping the support for ubuntu
  14.04 also.
* add ubuntu 17.04: this release is not a LTS release, and added merely for
  demostration purpose.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/suites/hadoop: switch from trusty to ubuntu latest
Kefu Chai [Mon, 4 Dec 2017 04:51:10 +0000 (12:51 +0800)]
qa/suites/hadoop: switch from trusty to ubuntu latest

use the ubuntu_face.yaml facet for the distro used for testing. since we
are dropping the support for trusty.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/suites/fs: use ubuntu_latest for multiclient tasks
Kefu Chai [Mon, 4 Dec 2017 04:46:09 +0000 (12:46 +0800)]
qa/suites/fs: use ubuntu_latest for multiclient tasks

instead of using ubuntu 14.04, since we want to drop the support of this
release.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/suites/fs: use ubuntu_latest for libcephfs_java
Kefu Chai [Mon, 4 Dec 2017 04:39:50 +0000 (12:39 +0800)]
qa/suites/fs: use ubuntu_latest for libcephfs_java

* instead of using ubuntu 14.04, use ubuntu_latest.since we want
  to drop the support of this release.
* refactor this test to use the facet of ubuntu_latest.yaml.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/tasks: remove test_buildpackages
Kefu Chai [Mon, 4 Dec 2017 03:43:37 +0000 (11:43 +0800)]
qa/tasks: remove test_buildpackages

the buildpackages feature is not part of ceph. and its test was moved to
teuthology in 5a43f8d5. let's remove the leftovers from ceph/ceph. BTW,
we have not run this test suite since then. and its dependency cannot be
fulfilled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomds: don't create snap inode during trans-authority rename
Yan, Zheng [Fri, 11 Aug 2017 08:25:30 +0000 (16:25 +0800)]
mds: don't create snap inode during trans-authority rename

MDCache::cow_inode() may add auth pin to frozen inode

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: trim non-auth snap dentry during cache rejoin
Yan, Zheng [Tue, 8 Aug 2017 12:35:51 +0000 (20:35 +0800)]
mds: trim non-auth snap dentry during cache rejoin

Because corresponding dentry in auth mds may have been pruned (snap deleted)

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: detach unlinked inode's snaprealm from its parent
Yan, Zheng [Fri, 18 Aug 2017 11:05:51 +0000 (19:05 +0800)]
mds: detach unlinked inode's snaprealm from its parent

When replaying slave update, inode may gets unlinked, but preserved
in memory in case of rollback. In this case, we need to detach the
inode's snaprealm from its parent.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: fix CInode::find_snaprealm()
Yan, Zheng [Mon, 7 Aug 2017 07:23:18 +0000 (15:23 +0800)]
mds: fix CInode::find_snaprealm()

If inode has no parent dentry (newly created), CInode::find_snaprealm()
should try the oldest projected parent.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agoMerge pull request #19196 from shun-s/wip-cephdisk-fix-major-error
Kefu Chai [Sun, 3 Dec 2017 02:34:02 +0000 (10:34 +0800)]
Merge pull request #19196 from shun-s/wip-cephdisk-fix-major-error

ceph-disk: fix signed integer is greater than maximum when call major

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19296 from shinobu-x/strange_double_space
Sage Weil [Sat, 2 Dec 2017 17:44:15 +0000 (11:44 -0600)]
Merge pull request #19296 from shinobu-x/strange_double_space

osd: Remove double space

7 years agoosd: Remove double space 19296/head
Shinobu Kinjo [Sat, 2 Dec 2017 16:57:39 +0000 (11:57 -0500)]
osd: Remove double space

Should not break anything but just strange...

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
7 years agoMerge pull request #19161 from xiexingguo/wip-pg-log
Kefu Chai [Sat, 2 Dec 2017 14:36:19 +0000 (22:36 +0800)]
Merge pull request #19161 from xiexingguo/wip-pg-log

osd/PGLog: get rid of ineffective container operations

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoosd/PGLog: get rid of ineffective container operations 19161/head
xie xingguo [Fri, 24 Nov 2017 02:10:27 +0000 (10:10 +0800)]
osd/PGLog: get rid of ineffective container operations

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #19242 from liewegas/wip-21147
Kefu Chai [Sat, 2 Dec 2017 06:14:29 +0000 (14:14 +0800)]
Merge pull request #19242 from liewegas/wip-21147

qa/suites/rados/thrash: extend mgr beacon grace when many msgr failures injected

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19185 from liewegas/wip-trim-mgrmap
Kefu Chai [Sat, 2 Dec 2017 06:13:44 +0000 (14:13 +0800)]
Merge pull request #19185 from liewegas/wip-trim-mgrmap

mon/MgrMonitor: limit mgrmap history

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19285 from ceph/wip-rm22299
Andrew Schoen [Fri, 1 Dec 2017 21:40:00 +0000 (15:40 -0600)]
Merge pull request #19285 from ceph/wip-rm22299

ceph-volume Format correctly when vg/lv cannot be used

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19259 from ceph/wip-rm22280
Andrew Schoen [Fri, 1 Dec 2017 21:32:37 +0000 (15:32 -0600)]
Merge pull request #19259 from ceph/wip-rm22280

ceph-volume: handle leading whitespace/tabs in ceph.conf

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests verify proper formatting of RuntimeError on vg/lv error 19285/head
Alfredo Deza [Fri, 1 Dec 2017 18:53:39 +0000 (13:53 -0500)]
ceph-volume tests verify proper formatting of RuntimeError on vg/lv error

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare correctly format argument for vg/lv error
Alfredo Deza [Fri, 1 Dec 2017 18:53:06 +0000 (13:53 -0500)]
ceph-volume lvm.prepare correctly format argument for vg/lv error

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19264 from theanalyst/doc/releases/12.2.2
Abhishek L [Fri, 1 Dec 2017 17:06:46 +0000 (18:06 +0100)]
Merge pull request #19264 from theanalyst/doc/releases/12.2.2

doc: add 12.2.2 release notes

Reviewed-By: Sage Weil <sage@redhat.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>